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
) {}
952 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
953 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
961 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
962 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
964 DEC_PYCALLBACK__(InitDialog
);
965 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
966 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
967 DEC_PYCALLBACK_BOOL_(Validate
);
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
971 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
973 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
974 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
976 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
977 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
982 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
984 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
985 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
987 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
994 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
996 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1002 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1003 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1006 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1008 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1009 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1044 wxString
*arg3
= 0 ;
1045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1049 long arg6
= (long) 0 ;
1050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1052 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1055 bool temp3
= False
;
1058 bool temp8
= False
;
1059 PyObject
* obj0
= 0 ;
1060 PyObject
* obj1
= 0 ;
1061 PyObject
* obj2
= 0 ;
1062 PyObject
* obj3
= 0 ;
1063 PyObject
* obj4
= 0 ;
1064 PyObject
* obj5
= 0 ;
1065 PyObject
* obj6
= 0 ;
1066 PyObject
* obj7
= 0 ;
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1074 arg2
= (int) SWIG_AsInt(obj1
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 arg3
= wxString_in_helper(obj2
);
1078 if (arg3
== NULL
) SWIG_fail
;
1084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1094 arg6
= (long) SWIG_AsLong(obj5
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1098 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1102 PyErr_SetString(PyExc_TypeError
,"null reference");
1108 arg8
= wxString_in_helper(obj7
);
1109 if (arg8
== NULL
) SWIG_fail
;
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= wxPyMake_wxObject(result
);
1145 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 result
= (wxButton
*)new wxButton();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1161 resultobj
= wxPyMake_wxObject(result
);
1169 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxButton
*arg1
= (wxButton
*) 0 ;
1172 wxWindow
*arg2
= (wxWindow
*) 0 ;
1174 wxString
*arg4
= 0 ;
1175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1179 long arg7
= (long) 0 ;
1180 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1181 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1182 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1183 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1185 bool temp4
= False
;
1188 bool temp9
= False
;
1189 PyObject
* obj0
= 0 ;
1190 PyObject
* obj1
= 0 ;
1191 PyObject
* obj2
= 0 ;
1192 PyObject
* obj3
= 0 ;
1193 PyObject
* obj4
= 0 ;
1194 PyObject
* obj5
= 0 ;
1195 PyObject
* obj6
= 0 ;
1196 PyObject
* obj7
= 0 ;
1197 PyObject
* obj8
= 0 ;
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1207 arg3
= (int) SWIG_AsInt(obj2
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 arg4
= wxString_in_helper(obj3
);
1211 if (arg4
== NULL
) SWIG_fail
;
1217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1227 arg7
= (long) SWIG_AsLong(obj6
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1231 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1235 PyErr_SetString(PyExc_TypeError
,"null reference");
1241 arg9
= wxString_in_helper(obj8
);
1242 if (arg9
== NULL
) SWIG_fail
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1278 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxButton
*arg1
= (wxButton
*) 0 ;
1281 PyObject
* obj0
= 0 ;
1283 (char *) "self", NULL
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 (arg1
)->SetDefault();
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 Py_INCREF(Py_None
); resultobj
= Py_None
;
1303 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 result
= wxButton::GetDefaultSize();
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1320 resultptr
= new wxSize((wxSize
&) result
);
1321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1329 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
*resultobj
;
1331 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1332 wxVisualAttributes result
;
1333 PyObject
* obj0
= 0 ;
1335 (char *) "variant", NULL
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1340 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1351 wxVisualAttributes
* resultptr
;
1352 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1361 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1364 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1366 return Py_BuildValue((char *)"");
1368 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxWindow
*arg1
= (wxWindow
*) 0 ;
1372 wxBitmap
*arg3
= 0 ;
1373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1377 long arg6
= (long) wxBU_AUTODRAW
;
1378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1380 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1382 wxBitmapButton
*result
;
1385 bool temp8
= False
;
1386 PyObject
* obj0
= 0 ;
1387 PyObject
* obj1
= 0 ;
1388 PyObject
* obj2
= 0 ;
1389 PyObject
* obj3
= 0 ;
1390 PyObject
* obj4
= 0 ;
1391 PyObject
* obj5
= 0 ;
1392 PyObject
* obj6
= 0 ;
1393 PyObject
* obj7
= 0 ;
1395 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 arg2
= (int) SWIG_AsInt(obj1
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1407 PyErr_SetString(PyExc_TypeError
,"null reference");
1413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1423 arg6
= (long) SWIG_AsLong(obj5
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1427 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1431 PyErr_SetString(PyExc_TypeError
,"null reference");
1437 arg8
= wxString_in_helper(obj7
);
1438 if (arg8
== NULL
) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1450 resultobj
= wxPyMake_wxObject(result
);
1466 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 wxBitmapButton
*result
;
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 result
= (wxBitmapButton
*)new wxBitmapButton();
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) SWIG_fail
;
1482 resultobj
= wxPyMake_wxObject(result
);
1490 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1493 wxWindow
*arg2
= (wxWindow
*) 0 ;
1495 wxBitmap
*arg4
= 0 ;
1496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1500 long arg7
= (long) wxBU_AUTODRAW
;
1501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1503 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1508 bool temp9
= False
;
1509 PyObject
* obj0
= 0 ;
1510 PyObject
* obj1
= 0 ;
1511 PyObject
* obj2
= 0 ;
1512 PyObject
* obj3
= 0 ;
1513 PyObject
* obj4
= 0 ;
1514 PyObject
* obj5
= 0 ;
1515 PyObject
* obj6
= 0 ;
1516 PyObject
* obj7
= 0 ;
1517 PyObject
* obj8
= 0 ;
1519 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1527 arg3
= (int) SWIG_AsInt(obj2
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1533 PyErr_SetString(PyExc_TypeError
,"null reference");
1539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1545 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1549 arg7
= (long) SWIG_AsLong(obj6
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1557 PyErr_SetString(PyExc_TypeError
,"null reference");
1563 arg9
= wxString_in_helper(obj8
);
1564 if (arg9
== NULL
) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1592 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1596 PyObject
* obj0
= 0 ;
1598 (char *) "self", NULL
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 result
= (arg1
)->GetBitmapLabel();
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1612 wxBitmap
* resultptr
;
1613 resultptr
= new wxBitmap((wxBitmap
&) result
);
1614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1622 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1626 PyObject
* obj0
= 0 ;
1628 (char *) "self", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (arg1
)->GetBitmapDisabled();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 wxBitmap
* resultptr
;
1643 resultptr
= new wxBitmap((wxBitmap
&) result
);
1644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1652 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1656 PyObject
* obj0
= 0 ;
1658 (char *) "self", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 result
= (arg1
)->GetBitmapFocus();
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 wxBitmap
* resultptr
;
1673 resultptr
= new wxBitmap((wxBitmap
&) result
);
1674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1682 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (arg1
)->GetBitmapSelected();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1702 wxBitmap
* resultptr
;
1703 resultptr
= new wxBitmap((wxBitmap
&) result
);
1704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1712 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1715 wxBitmap
*arg2
= 0 ;
1716 PyObject
* obj0
= 0 ;
1717 PyObject
* obj1
= 0 ;
1719 (char *) "self",(char *) "bitmap", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1729 PyErr_SetString(PyExc_TypeError
,"null reference");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 Py_INCREF(Py_None
); resultobj
= Py_None
;
1746 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1749 wxBitmap
*arg2
= 0 ;
1750 PyObject
* obj0
= 0 ;
1751 PyObject
* obj1
= 0 ;
1753 (char *) "self",(char *) "bitmap", NULL
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1763 PyErr_SetString(PyExc_TypeError
,"null reference");
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 Py_INCREF(Py_None
); resultobj
= Py_None
;
1780 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1783 wxBitmap
*arg2
= 0 ;
1784 PyObject
* obj0
= 0 ;
1785 PyObject
* obj1
= 0 ;
1787 (char *) "self",(char *) "bitmap", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1797 PyErr_SetString(PyExc_TypeError
,"null reference");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 Py_INCREF(Py_None
); resultobj
= Py_None
;
1814 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1817 wxBitmap
*arg2
= 0 ;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1821 (char *) "self",(char *) "bitmap", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1831 PyErr_SetString(PyExc_TypeError
,"null reference");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1854 PyObject
* obj1
= 0 ;
1855 PyObject
* obj2
= 0 ;
1857 (char *) "self",(char *) "x",(char *) "y", NULL
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1863 arg2
= (int) SWIG_AsInt(obj1
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1865 arg3
= (int) SWIG_AsInt(obj2
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 (arg1
)->SetMargins(arg2
,arg3
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 Py_INCREF(Py_None
); resultobj
= Py_None
;
1881 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1885 PyObject
* obj0
= 0 ;
1887 (char *) "self", NULL
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= SWIG_FromInt((int)result
);
1907 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1911 PyObject
* obj0
= 0 ;
1913 (char *) "self", NULL
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= SWIG_FromInt((int)result
);
1933 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1936 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1938 return Py_BuildValue((char *)"");
1940 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1941 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1946 static PyObject
*_wrap_CheckBoxNameStr_get() {
1951 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1953 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1960 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxWindow
*arg1
= (wxWindow
*) 0 ;
1964 wxString
*arg3
= 0 ;
1965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1969 long arg6
= (long) 0 ;
1970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1972 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1975 bool temp3
= False
;
1978 bool temp8
= False
;
1979 PyObject
* obj0
= 0 ;
1980 PyObject
* obj1
= 0 ;
1981 PyObject
* obj2
= 0 ;
1982 PyObject
* obj3
= 0 ;
1983 PyObject
* obj4
= 0 ;
1984 PyObject
* obj5
= 0 ;
1985 PyObject
* obj6
= 0 ;
1986 PyObject
* obj7
= 0 ;
1988 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1994 arg2
= (int) SWIG_AsInt(obj1
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 arg3
= wxString_in_helper(obj2
);
1998 if (arg3
== NULL
) SWIG_fail
;
2004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2014 arg6
= (long) SWIG_AsLong(obj5
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2018 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2022 PyErr_SetString(PyExc_TypeError
,"null reference");
2028 arg8
= wxString_in_helper(obj7
);
2029 if (arg8
== NULL
) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2063 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (wxCheckBox
*)new wxCheckBox();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2085 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2088 wxWindow
*arg2
= (wxWindow
*) 0 ;
2090 wxString
*arg4
= 0 ;
2091 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2092 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2093 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2094 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2095 long arg7
= (long) 0 ;
2096 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2097 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2098 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2099 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2101 bool temp4
= False
;
2104 bool temp9
= False
;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2107 PyObject
* obj2
= 0 ;
2108 PyObject
* obj3
= 0 ;
2109 PyObject
* obj4
= 0 ;
2110 PyObject
* obj5
= 0 ;
2111 PyObject
* obj6
= 0 ;
2112 PyObject
* obj7
= 0 ;
2113 PyObject
* obj8
= 0 ;
2115 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 arg3
= (int) SWIG_AsInt(obj2
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 arg4
= wxString_in_helper(obj3
);
2127 if (arg4
== NULL
) SWIG_fail
;
2133 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2139 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2143 arg7
= (long) SWIG_AsLong(obj6
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2147 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2151 PyErr_SetString(PyExc_TypeError
,"null reference");
2157 arg9
= wxString_in_helper(obj8
);
2158 if (arg9
== NULL
) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2194 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2200 (char *) "self", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= (bool)(arg1
)->GetValue();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2222 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2228 (char *) "self", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (bool)(arg1
)->IsChecked();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2250 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2255 PyObject
* obj1
= 0 ;
2257 (char *) "self",(char *) "state", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2263 arg2
= (bool const) SWIG_AsBool(obj1
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 (arg1
)->SetValue(arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 Py_INCREF(Py_None
); resultobj
= Py_None
;
2279 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2285 (char *) "self", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= SWIG_FromInt((int)result
);
2305 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2309 PyObject
* obj0
= 0 ;
2310 PyObject
* obj1
= 0 ;
2312 (char *) "self",(char *) "state", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2318 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 Py_INCREF(Py_None
); resultobj
= Py_None
;
2334 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "self", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2362 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
*resultobj
;
2364 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2366 PyObject
* obj0
= 0 ;
2368 (char *) "self", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2390 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2393 wxVisualAttributes result
;
2394 PyObject
* obj0
= 0 ;
2396 (char *) "variant", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2401 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 wxVisualAttributes
* resultptr
;
2413 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2422 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2425 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2427 return Py_BuildValue((char *)"");
2429 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2430 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2435 static PyObject
*_wrap_ChoiceNameStr_get() {
2440 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2442 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2449 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxWindow
*arg1
= (wxWindow
*) 0 ;
2452 int arg2
= (int) -1 ;
2453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2457 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2458 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2459 long arg6
= (long) 0 ;
2460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2462 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2467 bool temp5
= False
;
2468 bool temp8
= False
;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2471 PyObject
* obj2
= 0 ;
2472 PyObject
* obj3
= 0 ;
2473 PyObject
* obj4
= 0 ;
2474 PyObject
* obj5
= 0 ;
2475 PyObject
* obj6
= 0 ;
2476 PyObject
* obj7
= 0 ;
2478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 arg2
= (int) SWIG_AsInt(obj1
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2502 if (! PySequence_Check(obj4
)) {
2503 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2506 arg5
= new wxArrayString
;
2508 int i
, len
=PySequence_Length(obj4
);
2509 for (i
=0; i
<len
; i
++) {
2510 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2512 PyObject
* str
= PyObject_Unicode(item
);
2514 PyObject
* str
= PyObject_Str(item
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2517 arg5
->Add(Py2wxString(str
));
2524 arg6
= (long) SWIG_AsLong(obj5
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2528 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2532 PyErr_SetString(PyExc_TypeError
,"null reference");
2538 arg8
= wxString_in_helper(obj7
);
2539 if (arg8
== NULL
) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2552 if (temp5
) delete arg5
;
2561 if (temp5
) delete arg5
;
2571 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (wxChoice
*)new wxChoice();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2593 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxChoice
*arg1
= (wxChoice
*) 0 ;
2596 wxWindow
*arg2
= (wxWindow
*) 0 ;
2597 int arg3
= (int) -1 ;
2598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2602 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2603 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2604 long arg7
= (long) 0 ;
2605 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2606 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2607 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2608 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2612 bool temp6
= False
;
2613 bool temp9
= False
;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2616 PyObject
* obj2
= 0 ;
2617 PyObject
* obj3
= 0 ;
2618 PyObject
* obj4
= 0 ;
2619 PyObject
* obj5
= 0 ;
2620 PyObject
* obj6
= 0 ;
2621 PyObject
* obj7
= 0 ;
2622 PyObject
* obj8
= 0 ;
2624 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2633 arg3
= (int) SWIG_AsInt(obj2
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2650 if (! PySequence_Check(obj5
)) {
2651 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2654 arg6
= new wxArrayString
;
2656 int i
, len
=PySequence_Length(obj5
);
2657 for (i
=0; i
<len
; i
++) {
2658 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2660 PyObject
* str
= PyObject_Unicode(item
);
2662 PyObject
* str
= PyObject_Str(item
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2665 arg6
->Add(Py2wxString(str
));
2672 arg7
= (long) SWIG_AsLong(obj6
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2676 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2680 PyErr_SetString(PyExc_TypeError
,"null reference");
2686 arg9
= wxString_in_helper(obj8
);
2687 if (arg9
== NULL
) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2702 if (temp6
) delete arg6
;
2711 if (temp6
) delete arg6
;
2721 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 wxChoice
*arg1
= (wxChoice
*) 0 ;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "n", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2734 arg2
= (int const) SWIG_AsInt(obj1
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 (arg1
)->SetSelection(arg2
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 Py_INCREF(Py_None
); resultobj
= Py_None
;
2750 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxChoice
*arg1
= (wxChoice
*) 0 ;
2753 wxString
*arg2
= 0 ;
2755 bool temp2
= False
;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2759 (char *) "self",(char *) "string", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= wxString_in_helper(obj1
);
2767 if (arg2
== NULL
) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2794 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxChoice
*arg1
= (wxChoice
*) 0 ;
2798 wxString
*arg3
= 0 ;
2799 bool temp3
= False
;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2802 PyObject
* obj2
= 0 ;
2804 (char *) "self",(char *) "n",(char *) "string", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2810 arg2
= (int) SWIG_AsInt(obj1
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2813 arg3
= wxString_in_helper(obj2
);
2814 if (arg3
== NULL
) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2842 wxVisualAttributes result
;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "variant", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2850 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2861 wxVisualAttributes
* resultptr
;
2862 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2871 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2874 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2876 return Py_BuildValue((char *)"");
2878 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2879 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2884 static PyObject
*_wrap_ComboBoxNameStr_get() {
2889 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2891 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2898 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxWindow
*arg1
= (wxWindow
*) 0 ;
2901 int arg2
= (int) -1 ;
2902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2904 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2905 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2906 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2907 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2908 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2909 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2910 long arg7
= (long) 0 ;
2911 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2912 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2913 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2914 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2916 bool temp3
= False
;
2919 bool temp6
= False
;
2920 bool temp9
= False
;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2923 PyObject
* obj2
= 0 ;
2924 PyObject
* obj3
= 0 ;
2925 PyObject
* obj4
= 0 ;
2926 PyObject
* obj5
= 0 ;
2927 PyObject
* obj6
= 0 ;
2928 PyObject
* obj7
= 0 ;
2929 PyObject
* obj8
= 0 ;
2931 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 arg2
= (int) SWIG_AsInt(obj1
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2943 arg3
= wxString_in_helper(obj2
);
2944 if (arg3
== NULL
) SWIG_fail
;
2951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2962 if (! PySequence_Check(obj5
)) {
2963 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2966 arg6
= new wxArrayString
;
2968 int i
, len
=PySequence_Length(obj5
);
2969 for (i
=0; i
<len
; i
++) {
2970 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2972 PyObject
* str
= PyObject_Unicode(item
);
2974 PyObject
* str
= PyObject_Str(item
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2977 arg6
->Add(Py2wxString(str
));
2984 arg7
= (long) SWIG_AsLong(obj6
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2992 PyErr_SetString(PyExc_TypeError
,"null reference");
2998 arg9
= wxString_in_helper(obj8
);
2999 if (arg9
== NULL
) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 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
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3016 if (temp6
) delete arg6
;
3029 if (temp6
) delete arg6
;
3039 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 result
= (wxComboBox
*)new wxComboBox();
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3061 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3064 wxWindow
*arg2
= (wxWindow
*) 0 ;
3065 int arg3
= (int) -1 ;
3066 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3067 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3068 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3069 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3070 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3071 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3072 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3073 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3074 long arg8
= (long) 0 ;
3075 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3076 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3077 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3078 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3080 bool temp4
= False
;
3083 bool temp7
= False
;
3084 bool temp10
= False
;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3087 PyObject
* obj2
= 0 ;
3088 PyObject
* obj3
= 0 ;
3089 PyObject
* obj4
= 0 ;
3090 PyObject
* obj5
= 0 ;
3091 PyObject
* obj6
= 0 ;
3092 PyObject
* obj7
= 0 ;
3093 PyObject
* obj8
= 0 ;
3094 PyObject
* obj9
= 0 ;
3096 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 arg3
= (int) SWIG_AsInt(obj2
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3110 arg4
= wxString_in_helper(obj3
);
3111 if (arg4
== NULL
) SWIG_fail
;
3118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3129 if (! PySequence_Check(obj6
)) {
3130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3133 arg7
= new wxArrayString
;
3135 int i
, len
=PySequence_Length(obj6
);
3136 for (i
=0; i
<len
; i
++) {
3137 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3139 PyObject
* str
= PyObject_Unicode(item
);
3141 PyObject
* str
= PyObject_Str(item
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3144 arg7
->Add(Py2wxString(str
));
3151 arg8
= (long) SWIG_AsLong(obj7
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3159 PyErr_SetString(PyExc_TypeError
,"null reference");
3165 arg10
= wxString_in_helper(obj9
);
3166 if (arg10
== NULL
) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 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
);
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3185 if (temp7
) delete arg7
;
3198 if (temp7
) delete arg7
;
3208 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "self", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= ((wxComboBox
const *)arg1
)->GetValue();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3240 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3243 wxString
*arg2
= 0 ;
3244 bool temp2
= False
;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "self",(char *) "value", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 arg2
= wxString_in_helper(obj1
);
3256 if (arg2
== NULL
) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetValue((wxString
const &)*arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "pos", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3369 arg2
= (long) SWIG_AsLong(obj1
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 (arg1
)->SetInsertionPoint(arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3391 (char *) "self", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= SWIG_FromLong((long)result
);
3411 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "self", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= SWIG_FromLong((long)result
);
3437 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3442 wxString
*arg4
= 0 ;
3443 bool temp4
= False
;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3446 PyObject
* obj2
= 0 ;
3447 PyObject
* obj3
= 0 ;
3449 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3455 arg2
= (long) SWIG_AsLong(obj1
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3457 arg3
= (long) SWIG_AsLong(obj2
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 arg4
= wxString_in_helper(obj3
);
3461 if (arg4
== NULL
) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "n", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 arg2
= (int) SWIG_AsInt(obj1
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->SetSelection(arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3522 PyObject
* obj2
= 0 ;
3524 (char *) "self",(char *) "from",(char *) "to", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 arg2
= (long) SWIG_AsLong(obj1
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3532 arg3
= (long) SWIG_AsLong(obj2
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 (arg1
)->SetSelection(arg2
,arg3
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3551 wxString
*arg2
= 0 ;
3553 bool temp2
= False
;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3557 (char *) "self",(char *) "string", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 arg2
= wxString_in_helper(obj1
);
3565 if (arg2
== NULL
) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3592 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3596 wxString
*arg3
= 0 ;
3597 bool temp3
= False
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3600 PyObject
* obj2
= 0 ;
3602 (char *) "self",(char *) "n",(char *) "string", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 arg2
= (int) SWIG_AsInt(obj1
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 arg3
= wxString_in_helper(obj2
);
3612 if (arg3
== NULL
) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 Py_INCREF(Py_None
); resultobj
= Py_None
;
3637 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3644 (char *) "self",(char *) "editable", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3650 arg2
= (bool) SWIG_AsBool(obj1
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 (arg1
)->SetEditable(arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3659 Py_INCREF(Py_None
); resultobj
= Py_None
;
3666 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetInsertionPointEnd();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj2
= 0 ;
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 arg2
= (long) SWIG_AsLong(obj1
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3708 arg3
= (long) SWIG_AsLong(obj2
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->Remove(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3727 wxVisualAttributes result
;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "variant", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3735 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 wxVisualAttributes
* resultptr
;
3747 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3756 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3759 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3761 return Py_BuildValue((char *)"");
3763 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3764 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3769 static PyObject
*_wrap_GaugeNameStr_get() {
3774 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3776 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3783 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxWindow
*arg1
= (wxWindow
*) 0 ;
3788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3792 long arg6
= (long) wxGA_HORIZONTAL
;
3793 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3794 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3795 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3796 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3800 bool temp8
= False
;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3803 PyObject
* obj2
= 0 ;
3804 PyObject
* obj3
= 0 ;
3805 PyObject
* obj4
= 0 ;
3806 PyObject
* obj5
= 0 ;
3807 PyObject
* obj6
= 0 ;
3808 PyObject
* obj7
= 0 ;
3810 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3816 arg2
= (int) SWIG_AsInt(obj1
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3818 arg3
= (int) SWIG_AsInt(obj2
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3823 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3829 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3833 arg6
= (long) SWIG_AsLong(obj5
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3841 PyErr_SetString(PyExc_TypeError
,"null reference");
3847 arg8
= wxString_in_helper(obj7
);
3848 if (arg8
== NULL
) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3874 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (wxGauge
*)new wxGauge();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3896 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxGauge
*arg1
= (wxGauge
*) 0 ;
3899 wxWindow
*arg2
= (wxWindow
*) 0 ;
3902 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3903 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3904 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3905 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3906 long arg7
= (long) wxGA_HORIZONTAL
;
3907 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3908 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3909 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3910 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3914 bool temp9
= False
;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3919 PyObject
* obj4
= 0 ;
3920 PyObject
* obj5
= 0 ;
3921 PyObject
* obj6
= 0 ;
3922 PyObject
* obj7
= 0 ;
3923 PyObject
* obj8
= 0 ;
3925 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg3
= (int) SWIG_AsInt(obj2
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3935 arg4
= (int) SWIG_AsInt(obj3
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3940 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3946 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3950 arg7
= (long) SWIG_AsLong(obj6
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3954 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3958 PyErr_SetString(PyExc_TypeError
,"null reference");
3964 arg9
= wxString_in_helper(obj8
);
3965 if (arg9
== NULL
) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3993 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxGauge
*arg1
= (wxGauge
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
4000 (char *) "self",(char *) "range", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4006 arg2
= (int) SWIG_AsInt(obj1
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 (arg1
)->SetRange(arg2
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxGauge
*arg1
= (wxGauge
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_FromInt((int)result
);
4048 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxGauge
*arg1
= (wxGauge
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4055 (char *) "self",(char *) "pos", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 arg2
= (int) SWIG_AsInt(obj1
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetValue(arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxGauge
*arg1
= (wxGauge
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_FromInt((int)result
);
4103 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxGauge
*arg1
= (wxGauge
*) 0 ;
4107 PyObject
* obj0
= 0 ;
4109 (char *) "self", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4131 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxGauge
*arg1
= (wxGauge
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4138 (char *) "self",(char *) "w", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 arg2
= (int) SWIG_AsInt(obj1
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->SetShadowWidth(arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxGauge
*arg1
= (wxGauge
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "self", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= SWIG_FromInt((int)result
);
4186 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxGauge
*arg1
= (wxGauge
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4193 (char *) "self",(char *) "w", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 arg2
= (int) SWIG_AsInt(obj1
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 (arg1
)->SetBezelFace(arg2
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4208 Py_INCREF(Py_None
); resultobj
= Py_None
;
4215 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
;
4217 wxGauge
*arg1
= (wxGauge
*) 0 ;
4219 PyObject
* obj0
= 0 ;
4221 (char *) "self", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_FromInt((int)result
);
4241 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4244 wxVisualAttributes result
;
4245 PyObject
* obj0
= 0 ;
4247 (char *) "variant", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4252 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 wxVisualAttributes
* resultptr
;
4264 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4273 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4276 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4278 return Py_BuildValue((char *)"");
4280 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4281 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4286 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4291 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4293 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4300 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4301 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4306 static PyObject
*_wrap_StaticBoxNameStr_get() {
4311 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4313 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4320 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4321 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4326 static PyObject
*_wrap_StaticTextNameStr_get() {
4331 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4333 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4340 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxWindow
*arg1
= (wxWindow
*) 0 ;
4344 wxString
*arg3
= 0 ;
4345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4349 long arg6
= (long) 0 ;
4350 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4352 wxStaticBox
*result
;
4353 bool temp3
= False
;
4356 bool temp7
= False
;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 PyObject
* obj3
= 0 ;
4361 PyObject
* obj4
= 0 ;
4362 PyObject
* obj5
= 0 ;
4363 PyObject
* obj6
= 0 ;
4365 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4371 arg2
= (int) SWIG_AsInt(obj1
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 arg3
= wxString_in_helper(obj2
);
4375 if (arg3
== NULL
) SWIG_fail
;
4381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4391 arg6
= (long) SWIG_AsLong(obj5
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4396 arg7
= wxString_in_helper(obj6
);
4397 if (arg7
== NULL
) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= wxPyMake_wxObject(result
);
4433 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxStaticBox
*result
;
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (wxStaticBox
*)new wxStaticBox();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= wxPyMake_wxObject(result
);
4457 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4460 wxWindow
*arg2
= (wxWindow
*) 0 ;
4462 wxString
*arg4
= 0 ;
4463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4467 long arg7
= (long) 0 ;
4468 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4471 bool temp4
= False
;
4474 bool temp8
= False
;
4475 PyObject
* obj0
= 0 ;
4476 PyObject
* obj1
= 0 ;
4477 PyObject
* obj2
= 0 ;
4478 PyObject
* obj3
= 0 ;
4479 PyObject
* obj4
= 0 ;
4480 PyObject
* obj5
= 0 ;
4481 PyObject
* obj6
= 0 ;
4482 PyObject
* obj7
= 0 ;
4484 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 arg3
= (int) SWIG_AsInt(obj2
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 arg4
= wxString_in_helper(obj3
);
4496 if (arg4
== NULL
) SWIG_fail
;
4502 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4508 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4512 arg7
= (long) SWIG_AsLong(obj6
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4517 arg8
= wxString_in_helper(obj7
);
4518 if (arg8
== NULL
) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4554 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4557 wxVisualAttributes result
;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "variant", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4565 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4576 wxVisualAttributes
* resultptr
;
4577 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4586 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4589 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4591 return Py_BuildValue((char *)"");
4593 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxWindow
*arg1
= (wxWindow
*) 0 ;
4597 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4598 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4599 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4600 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4601 long arg5
= (long) wxLI_HORIZONTAL
;
4602 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4603 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4604 wxStaticLine
*result
;
4607 bool temp6
= False
;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4610 PyObject
* obj2
= 0 ;
4611 PyObject
* obj3
= 0 ;
4612 PyObject
* obj4
= 0 ;
4613 PyObject
* obj5
= 0 ;
4615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4621 arg2
= (int) SWIG_AsInt(obj1
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4636 arg5
= (long) SWIG_AsLong(obj4
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4641 arg6
= wxString_in_helper(obj5
);
4642 if (arg6
== NULL
) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4668 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxStaticLine
*result
;
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (wxStaticLine
*)new wxStaticLine();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4690 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4693 wxWindow
*arg2
= (wxWindow
*) 0 ;
4695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4699 long arg6
= (long) wxLI_HORIZONTAL
;
4700 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4705 bool temp7
= False
;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4708 PyObject
* obj2
= 0 ;
4709 PyObject
* obj3
= 0 ;
4710 PyObject
* obj4
= 0 ;
4711 PyObject
* obj5
= 0 ;
4712 PyObject
* obj6
= 0 ;
4714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 arg3
= (int) SWIG_AsInt(obj2
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4737 arg6
= (long) SWIG_AsLong(obj5
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4742 arg7
= wxString_in_helper(obj6
);
4743 if (arg7
== NULL
) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4771 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4799 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (int)wxStaticLine::GetDefaultSize();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_FromInt((int)result
);
4821 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4824 wxVisualAttributes result
;
4825 PyObject
* obj0
= 0 ;
4827 (char *) "variant", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4832 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 wxVisualAttributes
* resultptr
;
4844 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4853 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4856 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4858 return Py_BuildValue((char *)"");
4860 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxWindow
*arg1
= (wxWindow
*) 0 ;
4864 wxString
*arg3
= 0 ;
4865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4869 long arg6
= (long) 0 ;
4870 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4872 wxStaticText
*result
;
4873 bool temp3
= False
;
4876 bool temp7
= False
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4880 PyObject
* obj3
= 0 ;
4881 PyObject
* obj4
= 0 ;
4882 PyObject
* obj5
= 0 ;
4883 PyObject
* obj6
= 0 ;
4885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4891 arg2
= (int) SWIG_AsInt(obj1
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 arg3
= wxString_in_helper(obj2
);
4895 if (arg3
== NULL
) SWIG_fail
;
4901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4911 arg6
= (long) SWIG_AsLong(obj5
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4916 arg7
= wxString_in_helper(obj6
);
4917 if (arg7
== NULL
) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4951 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxStaticText
*result
;
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (wxStaticText
*)new wxStaticText();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4973 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4976 wxWindow
*arg2
= (wxWindow
*) 0 ;
4978 wxString
*arg4
= 0 ;
4979 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4980 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4981 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4982 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4983 long arg7
= (long) 0 ;
4984 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4987 bool temp4
= False
;
4990 bool temp8
= False
;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4993 PyObject
* obj2
= 0 ;
4994 PyObject
* obj3
= 0 ;
4995 PyObject
* obj4
= 0 ;
4996 PyObject
* obj5
= 0 ;
4997 PyObject
* obj6
= 0 ;
4998 PyObject
* obj7
= 0 ;
5000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg3
= (int) SWIG_AsInt(obj2
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 arg4
= wxString_in_helper(obj3
);
5012 if (arg4
== NULL
) SWIG_fail
;
5018 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5024 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5028 arg7
= (long) SWIG_AsLong(obj6
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5033 arg8
= wxString_in_helper(obj7
);
5034 if (arg8
== NULL
) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5070 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5073 wxVisualAttributes result
;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "variant", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5081 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 wxVisualAttributes
* resultptr
;
5093 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5102 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5105 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5107 return Py_BuildValue((char *)"");
5109 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxWindow
*arg1
= (wxWindow
*) 0 ;
5113 wxBitmap
*arg3
= 0 ;
5114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5118 long arg6
= (long) 0 ;
5119 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5121 wxStaticBitmap
*result
;
5124 bool temp7
= False
;
5125 PyObject
* obj0
= 0 ;
5126 PyObject
* obj1
= 0 ;
5127 PyObject
* obj2
= 0 ;
5128 PyObject
* obj3
= 0 ;
5129 PyObject
* obj4
= 0 ;
5130 PyObject
* obj5
= 0 ;
5131 PyObject
* obj6
= 0 ;
5133 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 arg2
= (int) SWIG_AsInt(obj1
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5141 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5145 PyErr_SetString(PyExc_TypeError
,"null reference");
5151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5161 arg6
= (long) SWIG_AsLong(obj5
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5166 arg7
= wxString_in_helper(obj6
);
5167 if (arg7
== NULL
) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5193 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxStaticBitmap
*result
;
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5215 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5218 wxWindow
*arg2
= (wxWindow
*) 0 ;
5220 wxBitmap
*arg4
= 0 ;
5221 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5222 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5223 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5224 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5225 long arg7
= (long) 0 ;
5226 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5227 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5231 bool temp8
= False
;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5234 PyObject
* obj2
= 0 ;
5235 PyObject
* obj3
= 0 ;
5236 PyObject
* obj4
= 0 ;
5237 PyObject
* obj5
= 0 ;
5238 PyObject
* obj6
= 0 ;
5239 PyObject
* obj7
= 0 ;
5241 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg3
= (int) SWIG_AsInt(obj2
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5251 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5255 PyErr_SetString(PyExc_TypeError
,"null reference");
5261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5271 arg7
= (long) SWIG_AsLong(obj6
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5276 arg8
= wxString_in_helper(obj7
);
5277 if (arg8
== NULL
) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5305 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (arg1
)->GetBitmap();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 wxBitmap
* resultptr
;
5326 resultptr
= new wxBitmap((wxBitmap
&) result
);
5327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5335 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5338 wxBitmap
*arg2
= 0 ;
5339 PyObject
* obj0
= 0 ;
5340 PyObject
* obj1
= 0 ;
5342 (char *) "self",(char *) "bitmap", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5352 PyErr_SetString(PyExc_TypeError
,"null reference");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "icon", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5386 PyErr_SetString(PyExc_TypeError
,"null reference");
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5406 wxVisualAttributes result
;
5407 PyObject
* obj0
= 0 ;
5409 (char *) "variant", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5414 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 wxVisualAttributes
* resultptr
;
5426 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5435 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5438 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5440 return Py_BuildValue((char *)"");
5442 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5443 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5448 static PyObject
*_wrap_ListBoxNameStr_get() {
5453 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5455 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5462 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxWindow
*arg1
= (wxWindow
*) 0 ;
5466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5470 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5471 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5472 long arg6
= (long) 0 ;
5473 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5474 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5475 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5480 bool temp5
= False
;
5481 bool temp8
= False
;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 PyObject
* obj4
= 0 ;
5487 PyObject
* obj5
= 0 ;
5488 PyObject
* obj6
= 0 ;
5489 PyObject
* obj7
= 0 ;
5491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 arg2
= (int) SWIG_AsInt(obj1
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5513 if (! PySequence_Check(obj4
)) {
5514 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5517 arg5
= new wxArrayString
;
5519 int i
, len
=PySequence_Length(obj4
);
5520 for (i
=0; i
<len
; i
++) {
5521 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5523 PyObject
* str
= PyObject_Unicode(item
);
5525 PyObject
* str
= PyObject_Str(item
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5528 arg5
->Add(Py2wxString(str
));
5535 arg6
= (long) SWIG_AsLong(obj5
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5543 PyErr_SetString(PyExc_TypeError
,"null reference");
5549 arg8
= wxString_in_helper(obj7
);
5550 if (arg8
== NULL
) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5563 if (temp5
) delete arg5
;
5572 if (temp5
) delete arg5
;
5582 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (wxListBox
*)new wxListBox();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5604 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxListBox
*arg1
= (wxListBox
*) 0 ;
5607 wxWindow
*arg2
= (wxWindow
*) 0 ;
5609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5613 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5614 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5615 long arg7
= (long) 0 ;
5616 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5617 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5618 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5619 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5623 bool temp6
= False
;
5624 bool temp9
= False
;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5627 PyObject
* obj2
= 0 ;
5628 PyObject
* obj3
= 0 ;
5629 PyObject
* obj4
= 0 ;
5630 PyObject
* obj5
= 0 ;
5631 PyObject
* obj6
= 0 ;
5632 PyObject
* obj7
= 0 ;
5633 PyObject
* obj8
= 0 ;
5635 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 arg3
= (int) SWIG_AsInt(obj2
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5659 if (! PySequence_Check(obj5
)) {
5660 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5663 arg6
= new wxArrayString
;
5665 int i
, len
=PySequence_Length(obj5
);
5666 for (i
=0; i
<len
; i
++) {
5667 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5669 PyObject
* str
= PyObject_Unicode(item
);
5671 PyObject
* str
= PyObject_Str(item
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5674 arg6
->Add(Py2wxString(str
));
5681 arg7
= (long) SWIG_AsLong(obj6
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5689 PyErr_SetString(PyExc_TypeError
,"null reference");
5695 arg9
= wxString_in_helper(obj8
);
5696 if (arg9
== NULL
) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 if (temp6
) delete arg6
;
5720 if (temp6
) delete arg6
;
5730 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
;
5732 wxListBox
*arg1
= (wxListBox
*) 0 ;
5733 wxString
*arg2
= 0 ;
5735 PyObject
*arg4
= (PyObject
*) NULL
;
5736 bool temp2
= False
;
5737 PyObject
* obj0
= 0 ;
5738 PyObject
* obj1
= 0 ;
5739 PyObject
* obj2
= 0 ;
5740 PyObject
* obj3
= 0 ;
5742 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg2
= wxString_in_helper(obj1
);
5750 if (arg2
== NULL
) SWIG_fail
;
5753 arg3
= (int) SWIG_AsInt(obj2
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxListBox
*arg1
= (wxListBox
*) 0 ;
5783 wxArrayString
*arg2
= 0 ;
5785 bool temp2
= False
;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5788 PyObject
* obj2
= 0 ;
5790 (char *) "self",(char *) "items",(char *) "pos", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 if (! PySequence_Check(obj1
)) {
5798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5801 arg2
= new wxArrayString
;
5803 int i
, len
=PySequence_Length(obj1
);
5804 for (i
=0; i
<len
; i
++) {
5805 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5807 PyObject
* str
= PyObject_Unicode(item
);
5809 PyObject
* str
= PyObject_Str(item
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5812 arg2
->Add(Py2wxString(str
));
5817 arg3
= (int) SWIG_AsInt(obj2
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 if (temp2
) delete arg2
;
5833 if (temp2
) delete arg2
;
5839 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxListBox
*arg1
= (wxListBox
*) 0 ;
5842 wxArrayString
*arg2
= 0 ;
5843 bool temp2
= False
;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "items", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 if (! PySequence_Check(obj1
)) {
5855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5858 arg2
= new wxArrayString
;
5860 int i
, len
=PySequence_Length(obj1
);
5861 for (i
=0; i
<len
; i
++) {
5862 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5864 PyObject
* str
= PyObject_Unicode(item
);
5866 PyObject
* str
= PyObject_Str(item
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5869 arg2
->Add(Py2wxString(str
));
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->Set((wxArrayString
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5883 if (temp2
) delete arg2
;
5888 if (temp2
) delete arg2
;
5894 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxListBox
*arg1
= (wxListBox
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5902 (char *) "self",(char *) "n", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 arg2
= (int) SWIG_AsInt(obj1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5926 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxListBox
*arg1
= (wxListBox
*) 0 ;
5930 bool arg3
= (bool) True
;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5935 (char *) "self",(char *) "n",(char *) "select", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 arg2
= (int) SWIG_AsInt(obj1
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 arg3
= (bool) SWIG_AsBool(obj2
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 (arg1
)->SetSelection(arg2
,arg3
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 Py_INCREF(Py_None
); resultobj
= Py_None
;
5961 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxListBox
*arg1
= (wxListBox
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5968 (char *) "self",(char *) "n", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 arg2
= (int) SWIG_AsInt(obj1
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 (arg1
)->Select(arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxListBox
*arg1
= (wxListBox
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "self",(char *) "n", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 arg2
= (int) SWIG_AsInt(obj1
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->Deselect(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 Py_INCREF(Py_None
); resultobj
= Py_None
;
6019 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxListBox
*arg1
= (wxListBox
*) 0 ;
6022 int arg2
= (int) -1 ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6026 (char *) "self",(char *) "itemToLeaveSelected", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 arg2
= (int) SWIG_AsInt(obj1
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->DeselectAll(arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxListBox
*arg1
= (wxListBox
*) 0 ;
6053 wxString
*arg2
= 0 ;
6054 bool arg3
= (bool) True
;
6056 bool temp2
= False
;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6061 (char *) "self",(char *) "s",(char *) "select", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 arg2
= wxString_in_helper(obj1
);
6069 if (arg2
== NULL
) SWIG_fail
;
6073 arg3
= (bool) SWIG_AsBool(obj2
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxListBox
*arg1
= (wxListBox
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6126 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxListBox
*arg1
= (wxListBox
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "n", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 arg2
= (int) SWIG_AsInt(obj1
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->SetFirstItem(arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxListBox
*arg1
= (wxListBox
*) 0 ;
6158 wxString
*arg2
= 0 ;
6159 bool temp2
= False
;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6163 (char *) "self",(char *) "s", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 arg2
= wxString_in_helper(obj1
);
6171 if (arg2
== NULL
) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxListBox
*arg1
= (wxListBox
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "n", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 arg2
= (int) SWIG_AsInt(obj1
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 (arg1
)->EnsureVisible(arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 Py_INCREF(Py_None
); resultobj
= Py_None
;
6225 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxListBox
*arg1
= (wxListBox
*) 0 ;
6228 wxString
*arg2
= 0 ;
6229 bool temp2
= False
;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "s", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 arg2
= wxString_in_helper(obj1
);
6241 if (arg2
== NULL
) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6266 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxListBox
*arg1
= (wxListBox
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6294 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxListBox
*arg1
= (wxListBox
*) 0 ;
6298 wxColour
*arg3
= 0 ;
6300 PyObject
* obj0
= 0 ;
6301 PyObject
* obj1
= 0 ;
6302 PyObject
* obj2
= 0 ;
6304 (char *) "self",(char *) "item",(char *) "c", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (int) SWIG_AsInt(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 Py_INCREF(Py_None
); resultobj
= Py_None
;
6330 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxListBox
*arg1
= (wxListBox
*) 0 ;
6334 wxColour
*arg3
= 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6340 (char *) "self",(char *) "item",(char *) "c", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg2
= (int) SWIG_AsInt(obj1
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 Py_INCREF(Py_None
); resultobj
= Py_None
;
6366 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxListBox
*arg1
= (wxListBox
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6373 PyObject
* obj2
= 0 ;
6375 (char *) "self",(char *) "item",(char *) "f", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 arg2
= (int) SWIG_AsInt(obj1
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6383 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6387 PyErr_SetString(PyExc_TypeError
,"null reference");
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 Py_INCREF(Py_None
); resultobj
= Py_None
;
6404 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6407 wxVisualAttributes result
;
6408 PyObject
* obj0
= 0 ;
6410 (char *) "variant", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6415 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 wxVisualAttributes
* resultptr
;
6427 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6436 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6439 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6441 return Py_BuildValue((char *)"");
6443 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxWindow
*arg1
= (wxWindow
*) 0 ;
6447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6451 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6452 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6453 long arg6
= (long) 0 ;
6454 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6455 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6456 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6458 wxCheckListBox
*result
;
6461 bool temp5
= False
;
6462 bool temp8
= False
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6466 PyObject
* obj3
= 0 ;
6467 PyObject
* obj4
= 0 ;
6468 PyObject
* obj5
= 0 ;
6469 PyObject
* obj6
= 0 ;
6470 PyObject
* obj7
= 0 ;
6472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 arg2
= (int) SWIG_AsInt(obj1
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6494 if (! PySequence_Check(obj4
)) {
6495 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6498 arg5
= new wxArrayString
;
6500 int i
, len
=PySequence_Length(obj4
);
6501 for (i
=0; i
<len
; i
++) {
6502 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6504 PyObject
* str
= PyObject_Unicode(item
);
6506 PyObject
* str
= PyObject_Str(item
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6509 arg5
->Add(Py2wxString(str
));
6516 arg6
= (long) SWIG_AsLong(obj5
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6524 PyErr_SetString(PyExc_TypeError
,"null reference");
6530 arg8
= wxString_in_helper(obj7
);
6531 if (arg8
== NULL
) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6544 if (temp5
) delete arg5
;
6553 if (temp5
) delete arg5
;
6563 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxCheckListBox
*result
;
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxCheckListBox
*)new wxCheckListBox();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6585 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6588 wxWindow
*arg2
= (wxWindow
*) 0 ;
6590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6594 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6595 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6596 long arg7
= (long) 0 ;
6597 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6598 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6599 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6600 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6604 bool temp6
= False
;
6605 bool temp9
= False
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6609 PyObject
* obj3
= 0 ;
6610 PyObject
* obj4
= 0 ;
6611 PyObject
* obj5
= 0 ;
6612 PyObject
* obj6
= 0 ;
6613 PyObject
* obj7
= 0 ;
6614 PyObject
* obj8
= 0 ;
6616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 arg3
= (int) SWIG_AsInt(obj2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6640 if (! PySequence_Check(obj5
)) {
6641 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6644 arg6
= new wxArrayString
;
6646 int i
, len
=PySequence_Length(obj5
);
6647 for (i
=0; i
<len
; i
++) {
6648 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6650 PyObject
* str
= PyObject_Unicode(item
);
6652 PyObject
* str
= PyObject_Str(item
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6655 arg6
->Add(Py2wxString(str
));
6662 arg7
= (long) SWIG_AsLong(obj6
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6670 PyErr_SetString(PyExc_TypeError
,"null reference");
6676 arg9
= wxString_in_helper(obj8
);
6677 if (arg9
== NULL
) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6692 if (temp6
) delete arg6
;
6701 if (temp6
) delete arg6
;
6711 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "index", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 arg2
= (int) SWIG_AsInt(obj1
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (bool)(arg1
)->IsChecked(arg2
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6747 int arg3
= (int) True
;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 PyObject
* obj2
= 0 ;
6752 (char *) "self",(char *) "index",(char *) "check", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 arg2
= (int) SWIG_AsInt(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 arg3
= (int) SWIG_AsInt(obj2
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->Check(arg2
,arg3
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (int)(arg1
)->GetItemHeight();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_FromInt((int)result
);
6804 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6813 (char *) "self",(char *) "pt", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= SWIG_FromInt((int)result
);
6837 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6845 PyObject
* obj2
= 0 ;
6847 (char *) "self",(char *) "x",(char *) "y", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6853 arg2
= (int) SWIG_AsInt(obj1
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6855 arg3
= (int) SWIG_AsInt(obj2
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_FromInt((int)result
);
6871 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6874 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6876 return Py_BuildValue((char *)"");
6878 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6879 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6884 static PyObject
*_wrap_TextCtrlNameStr_get() {
6889 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6891 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6898 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6899 PyObject
*resultobj
;
6902 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxTextAttr
*)new wxTextAttr();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6917 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6918 PyObject
*resultobj
;
6919 wxColour
*arg1
= 0 ;
6920 wxColour
const &arg2_defvalue
= wxNullColour
;
6921 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6922 wxFont
const &arg3_defvalue
= wxNullFont
;
6923 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6924 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 PyObject
* obj2
= 0 ;
6931 PyObject
* obj3
= 0 ;
6933 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6936 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6945 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6949 PyErr_SetString(PyExc_TypeError
,"null reference");
6954 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6971 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6976 argc
= PyObject_Length(args
);
6977 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6978 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6981 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6983 if ((argc
>= 1) && (argc
<= 4)) {
6986 _v
= wxColour_typecheck(argv
[0]);
6990 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6993 _v
= wxColour_typecheck(argv
[1]);
6997 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7001 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7010 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7012 _v
= SWIG_CheckInt(argv
[3]);
7014 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7021 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7026 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7029 PyObject
* obj0
= 0 ;
7031 (char *) "self", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 Py_INCREF(Py_None
); resultobj
= Py_None
;
7051 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7079 wxColour
*arg2
= 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "colText", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 Py_INCREF(Py_None
); resultobj
= Py_None
;
7108 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7111 wxColour
*arg2
= 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7116 (char *) "self",(char *) "colBack", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 Py_INCREF(Py_None
); resultobj
= Py_None
;
7140 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7144 long arg3
= (long) wxTEXT_ATTR_FONT
;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 PyObject
* obj2
= 0 ;
7149 (char *) "self",(char *) "font",(char *) "flags", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7159 PyErr_SetString(PyExc_TypeError
,"null reference");
7163 arg3
= (long) SWIG_AsLong(obj2
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7187 (char *) "self",(char *) "alignment", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7193 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 Py_INCREF(Py_None
); resultobj
= Py_None
;
7209 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7212 wxArrayInt
*arg2
= 0 ;
7213 bool temp2
= False
;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7217 (char *) "self",(char *) "tabs", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7224 if (! PySequence_Check(obj1
)) {
7225 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7228 arg2
= new wxArrayInt
;
7230 int i
, len
=PySequence_Length(obj1
);
7231 for (i
=0; i
<len
; i
++) {
7232 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7233 PyObject
* number
= PyNumber_Int(item
);
7234 arg2
->Add(PyInt_AS_LONG(number
));
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 if (temp2
) delete arg2
;
7253 if (temp2
) delete arg2
;
7259 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7266 (char *) "self",(char *) "indent", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 arg2
= (int) SWIG_AsInt(obj1
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 (arg1
)->SetLeftIndent(arg2
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 Py_INCREF(Py_None
); resultobj
= Py_None
;
7288 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7295 (char *) "self",(char *) "indent", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7301 arg2
= (int) SWIG_AsInt(obj1
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->SetRightIndent(arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "flags", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7330 arg2
= (long) SWIG_AsLong(obj1
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->SetFlags(arg2
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7374 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "self", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7402 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7408 (char *) "self", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7430 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "self", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7458 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "self", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7486 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "self", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7514 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7542 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7548 PyObject
* obj1
= 0 ;
7550 (char *) "self",(char *) "flag", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 arg2
= (long) SWIG_AsLong(obj1
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7574 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7590 result
= (wxColour
*) &_result_ref
;
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7603 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7609 (char *) "self", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7619 result
= (wxColour
*) &_result_ref
;
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7632 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "self", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7648 result
= (wxFont
*) &_result_ref
;
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 wxFont
* resultptr
= new wxFont(*result
);
7656 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7664 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_FromInt((int)result
);
7690 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7706 result
= (wxArrayInt
*) &_result_ref
;
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= PyList_New(0);
7715 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7716 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7717 PyList_Append(resultobj
, val
);
7727 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_FromLong((long)result
);
7753 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_FromLong((long)result
);
7779 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_FromLong((long)result
);
7805 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7811 (char *) "self", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7833 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxTextAttr
*arg1
= 0 ;
7836 wxTextAttr
*arg2
= 0 ;
7837 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 PyObject
* obj2
= 0 ;
7843 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7851 PyErr_SetString(PyExc_TypeError
,"null reference");
7854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7858 PyErr_SetString(PyExc_TypeError
,"null reference");
7861 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 wxTextAttr
* resultptr
;
7872 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7881 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7884 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7886 return Py_BuildValue((char *)"");
7888 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxWindow
*arg1
= (wxWindow
*) 0 ;
7892 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7894 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7895 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7896 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7897 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7898 long arg6
= (long) 0 ;
7899 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7900 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7901 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7902 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7904 bool temp3
= False
;
7907 bool temp8
= False
;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7911 PyObject
* obj3
= 0 ;
7912 PyObject
* obj4
= 0 ;
7913 PyObject
* obj5
= 0 ;
7914 PyObject
* obj6
= 0 ;
7915 PyObject
* obj7
= 0 ;
7917 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 arg2
= (int) SWIG_AsInt(obj1
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 arg3
= wxString_in_helper(obj2
);
7928 if (arg3
== NULL
) SWIG_fail
;
7935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7945 arg6
= (long) SWIG_AsLong(obj5
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7953 PyErr_SetString(PyExc_TypeError
,"null reference");
7959 arg8
= wxString_in_helper(obj7
);
7960 if (arg8
== NULL
) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= wxPyMake_wxObject(result
);
7996 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (wxTextCtrl
*)new wxTextCtrl();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= wxPyMake_wxObject(result
);
8020 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8023 wxWindow
*arg2
= (wxWindow
*) 0 ;
8025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8027 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8028 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8029 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8030 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8031 long arg7
= (long) 0 ;
8032 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8033 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8034 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8035 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8037 bool temp4
= False
;
8040 bool temp9
= False
;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 PyObject
* obj3
= 0 ;
8045 PyObject
* obj4
= 0 ;
8046 PyObject
* obj5
= 0 ;
8047 PyObject
* obj6
= 0 ;
8048 PyObject
* obj7
= 0 ;
8049 PyObject
* obj8
= 0 ;
8051 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8059 arg3
= (int) SWIG_AsInt(obj2
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8063 arg4
= wxString_in_helper(obj3
);
8064 if (arg4
== NULL
) SWIG_fail
;
8071 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8077 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8081 arg7
= (long) SWIG_AsLong(obj6
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8085 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8089 PyErr_SetString(PyExc_TypeError
,"null reference");
8095 arg9
= wxString_in_helper(obj8
);
8096 if (arg9
== NULL
) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8132 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8164 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8167 wxString
*arg2
= 0 ;
8168 bool temp2
= False
;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8172 (char *) "self",(char *) "value", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8179 arg2
= wxString_in_helper(obj1
);
8180 if (arg2
== NULL
) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 (arg1
)->SetValue((wxString
const &)*arg2
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8215 (char *) "self",(char *) "from",(char *) "to", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= (long) SWIG_AsLong(obj1
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8223 arg3
= (long) SWIG_AsLong(obj2
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8245 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "lineNo", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= (long) SWIG_AsLong(obj1
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= SWIG_FromInt((int)result
);
8275 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8283 (char *) "self",(char *) "lineNo", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 arg2
= (long) SWIG_AsLong(obj1
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8311 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "self", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_FromInt((int)result
);
8337 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8343 (char *) "self", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8365 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8369 PyObject
* obj0
= 0 ;
8371 (char *) "self", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8399 (char *) "self", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "self", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8449 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8452 long *arg2
= (long *) 0 ;
8453 long *arg3
= (long *) 0 ;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8475 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8476 resultobj
= t_output_helper(resultobj
,o
);
8479 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8480 resultobj
= t_output_helper(resultobj
,o
);
8488 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8520 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8550 wxString
*arg4
= 0 ;
8551 bool temp4
= False
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8555 PyObject
* obj3
= 0 ;
8557 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8563 arg2
= (long) SWIG_AsLong(obj1
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8565 arg3
= (long) SWIG_AsLong(obj2
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 arg4
= wxString_in_helper(obj3
);
8569 if (arg4
== NULL
) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8601 PyObject
* obj2
= 0 ;
8603 (char *) "self",(char *) "from",(char *) "to", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 arg2
= (long) SWIG_AsLong(obj1
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8611 arg3
= (long) SWIG_AsLong(obj2
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 (arg1
)->Remove(arg2
,arg3
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 Py_INCREF(Py_None
); resultobj
= Py_None
;
8627 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8630 wxString
*arg2
= 0 ;
8632 bool temp2
= False
;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8636 (char *) "self",(char *) "file", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 arg2
= wxString_in_helper(obj1
);
8644 if (arg2
== NULL
) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8674 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8675 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8677 bool temp2
= False
;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8681 (char *) "self",(char *) "file", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8689 arg2
= wxString_in_helper(obj1
);
8690 if (arg2
== NULL
) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8718 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 (arg1
)->MarkDirty();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8746 PyObject
* obj0
= 0 ;
8748 (char *) "self", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->DiscardEdits();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8771 unsigned long arg2
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "self",(char *) "len", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->SetMaxLength(arg2
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8800 wxString
*arg2
= 0 ;
8801 bool temp2
= False
;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8805 (char *) "self",(char *) "text", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8812 arg2
= wxString_in_helper(obj1
);
8813 if (arg2
== NULL
) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->WriteText((wxString
const &)*arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8838 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8841 wxString
*arg2
= 0 ;
8842 bool temp2
= False
;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8846 (char *) "self",(char *) "text", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 arg2
= wxString_in_helper(obj1
);
8854 if (arg2
== NULL
) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->AppendText((wxString
const &)*arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8882 wxKeyEvent
*arg2
= 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8887 (char *) "self",(char *) "event", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8897 PyErr_SetString(PyExc_TypeError
,"null reference");
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8921 wxTextAttr
*arg4
= 0 ;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8926 PyObject
* obj3
= 0 ;
8928 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 arg2
= (long) SWIG_AsLong(obj1
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8936 arg3
= (long) SWIG_AsLong(obj2
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8938 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8942 PyErr_SetString(PyExc_TypeError
,"null reference");
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8961 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8965 wxTextAttr
*arg3
= 0 ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 PyObject
* obj2
= 0 ;
8971 (char *) "self",(char *) "position",(char *) "style", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= (long) SWIG_AsLong(obj1
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8979 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8983 PyErr_SetString(PyExc_TypeError
,"null reference");
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9002 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9005 wxTextAttr
*arg2
= 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "style", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9020 PyErr_SetString(PyExc_TypeError
,"null reference");
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9039 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "self", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9055 result
= (wxTextAttr
*) &_result_ref
;
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9068 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9078 (char *) "self",(char *) "x",(char *) "y", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 arg2
= (long) SWIG_AsLong(obj1
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9086 arg3
= (long) SWIG_AsLong(obj2
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_FromLong((long)result
);
9102 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9106 long *arg3
= (long *) 0 ;
9107 long *arg4
= (long *) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 (char *) "self",(char *) "pos", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 arg2
= (long) SWIG_AsLong(obj1
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9133 resultobj
= t_output_helper(resultobj
,o
);
9136 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9137 resultobj
= t_output_helper(resultobj
,o
);
9145 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9152 (char *) "self",(char *) "pos", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (long) SWIG_AsLong(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 (arg1
)->ShowPosition(arg2
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 Py_INCREF(Py_None
); resultobj
= Py_None
;
9174 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9178 long *arg3
= (long *) 0 ;
9179 long *arg4
= (long *) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "pt", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_FromInt((int)result
);
9208 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9209 resultobj
= t_output_helper(resultobj
,o
);
9212 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9213 resultobj
= t_output_helper(resultobj
,o
);
9221 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9271 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 Py_INCREF(Py_None
); resultobj
= Py_None
;
9296 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9352 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 Py_INCREF(Py_None
); resultobj
= Py_None
;
9405 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 Py_INCREF(Py_None
); resultobj
= Py_None
;
9430 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9458 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "self", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9486 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9493 (char *) "self",(char *) "pos", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9499 arg2
= (long) SWIG_AsLong(obj1
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 (arg1
)->SetInsertionPoint(arg2
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 Py_INCREF(Py_None
); resultobj
= Py_None
;
9515 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9518 PyObject
* obj0
= 0 ;
9520 (char *) "self", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->SetInsertionPointEnd();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 Py_INCREF(Py_None
); resultobj
= Py_None
;
9540 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_FromLong((long)result
);
9566 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_FromLong((long)result
);
9592 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9599 PyObject
* obj2
= 0 ;
9601 (char *) "self",(char *) "from",(char *) "to", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= (long) SWIG_AsLong(obj1
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9609 arg3
= (long) SWIG_AsLong(obj2
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetSelection(arg2
,arg3
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->SelectAll();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9657 (char *) "self",(char *) "editable", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9663 arg2
= (bool) SWIG_AsBool(obj1
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->SetEditable(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9679 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9682 wxString
*arg2
= 0 ;
9683 bool temp2
= False
;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9687 (char *) "self",(char *) "text", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 arg2
= wxString_in_helper(obj1
);
9695 if (arg2
== NULL
) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9720 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 PyObject
* obj2
= 0 ;
9730 (char *) "self",(char *) "from",(char *) "to", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 arg2
= (long) SWIG_AsLong(obj1
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9738 arg3
= (long) SWIG_AsLong(obj2
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9760 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9763 wxVisualAttributes result
;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "variant", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9771 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 wxVisualAttributes
* resultptr
;
9783 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9792 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9795 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9797 return Py_BuildValue((char *)"");
9799 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9802 wxMouseEvent
*arg2
= 0 ;
9805 wxTextUrlEvent
*result
;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 PyObject
* obj2
= 0 ;
9809 PyObject
* obj3
= 0 ;
9811 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9815 arg1
= (int) SWIG_AsInt(obj0
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9821 PyErr_SetString(PyExc_TypeError
,"null reference");
9824 arg3
= (long) SWIG_AsLong(obj2
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9826 arg4
= (long) SWIG_AsLong(obj3
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9842 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9845 wxMouseEvent
*result
;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9858 result
= (wxMouseEvent
*) &_result_ref
;
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9871 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "self", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_FromLong((long)result
);
9897 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_FromLong((long)result
);
9923 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9931 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9936 static PyObject
*_wrap_ScrollBarNameStr_get() {
9941 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9943 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9950 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxWindow
*arg1
= (wxWindow
*) 0 ;
9953 int arg2
= (int) -1 ;
9954 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9955 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9956 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9957 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9958 long arg5
= (long) wxSB_HORIZONTAL
;
9959 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9960 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9961 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9962 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9963 wxScrollBar
*result
;
9966 bool temp7
= False
;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 PyObject
* obj2
= 0 ;
9970 PyObject
* obj3
= 0 ;
9971 PyObject
* obj4
= 0 ;
9972 PyObject
* obj5
= 0 ;
9973 PyObject
* obj6
= 0 ;
9975 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9982 arg2
= (int) SWIG_AsInt(obj1
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9998 arg5
= (long) SWIG_AsLong(obj4
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10005 if (arg6
== NULL
) {
10006 PyErr_SetString(PyExc_TypeError
,"null reference");
10012 arg7
= wxString_in_helper(obj6
);
10013 if (arg7
== NULL
) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10039 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxScrollBar
*result
;
10042 char *kwnames
[] = {
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (wxScrollBar
*)new wxScrollBar();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10061 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10064 wxWindow
*arg2
= (wxWindow
*) 0 ;
10065 int arg3
= (int) -1 ;
10066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10070 long arg6
= (long) wxSB_HORIZONTAL
;
10071 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10072 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10073 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10074 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10078 bool temp8
= False
;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 PyObject
* obj2
= 0 ;
10082 PyObject
* obj3
= 0 ;
10083 PyObject
* obj4
= 0 ;
10084 PyObject
* obj5
= 0 ;
10085 PyObject
* obj6
= 0 ;
10086 PyObject
* obj7
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10097 arg3
= (int) SWIG_AsInt(obj2
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10113 arg6
= (long) SWIG_AsLong(obj5
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10117 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10120 if (arg7
== NULL
) {
10121 PyErr_SetString(PyExc_TypeError
,"null reference");
10127 arg8
= wxString_in_helper(obj7
);
10128 if (arg8
== NULL
) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10156 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_FromInt((int)result
);
10182 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_FromInt((int)result
);
10208 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= SWIG_FromInt((int)result
);
10234 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_FromInt((int)result
);
10260 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10288 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self",(char *) "viewStart", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 arg2
= (int) SWIG_AsInt(obj1
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->SetThumbPosition(arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10324 bool arg6
= (bool) True
;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 PyObject
* obj2
= 0 ;
10328 PyObject
* obj3
= 0 ;
10329 PyObject
* obj4
= 0 ;
10330 PyObject
* obj5
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10338 arg2
= (int) SWIG_AsInt(obj1
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10340 arg3
= (int) SWIG_AsInt(obj2
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10342 arg4
= (int) SWIG_AsInt(obj3
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10344 arg5
= (int) SWIG_AsInt(obj4
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 arg6
= (bool) SWIG_AsBool(obj5
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 Py_INCREF(Py_None
); resultobj
= Py_None
;
10364 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10367 wxVisualAttributes result
;
10368 PyObject
* obj0
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "variant", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10375 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 wxVisualAttributes
* resultptr
;
10387 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10396 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10399 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10401 return Py_BuildValue((char *)"");
10403 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10404 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10409 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10414 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10416 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10423 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10424 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10429 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10434 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10436 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10443 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxWindow
*arg1
= (wxWindow
*) 0 ;
10446 int arg2
= (int) -1 ;
10447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10451 long arg5
= (long) wxSP_HORIZONTAL
;
10452 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10453 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10454 wxSpinButton
*result
;
10457 bool temp6
= False
;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10461 PyObject
* obj3
= 0 ;
10462 PyObject
* obj4
= 0 ;
10463 PyObject
* obj5
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10472 arg2
= (int) SWIG_AsInt(obj1
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10478 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10484 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10488 arg5
= (long) SWIG_AsLong(obj4
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10493 arg6
= wxString_in_helper(obj5
);
10494 if (arg6
== NULL
) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10520 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxSpinButton
*result
;
10523 char *kwnames
[] = {
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (wxSpinButton
*)new wxSpinButton();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10542 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10545 wxWindow
*arg2
= (wxWindow
*) 0 ;
10546 int arg3
= (int) -1 ;
10547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10551 long arg6
= (long) wxSP_HORIZONTAL
;
10552 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10557 bool temp7
= False
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 PyObject
* obj2
= 0 ;
10561 PyObject
* obj3
= 0 ;
10562 PyObject
* obj4
= 0 ;
10563 PyObject
* obj5
= 0 ;
10564 PyObject
* obj6
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 arg3
= (int) SWIG_AsInt(obj2
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10581 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10587 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10591 arg6
= (long) SWIG_AsLong(obj5
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10596 arg7
= wxString_in_helper(obj6
);
10597 if (arg7
== NULL
) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10625 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_FromInt((int)result
);
10651 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_FromInt((int)result
);
10677 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "self", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= SWIG_FromInt((int)result
);
10703 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self",(char *) "val", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 arg2
= (int) SWIG_AsInt(obj1
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 (arg1
)->SetValue(arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 Py_INCREF(Py_None
); resultobj
= Py_None
;
10732 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self",(char *) "minVal", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 arg2
= (int) SWIG_AsInt(obj1
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->SetMin(arg2
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "maxVal", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (int) SWIG_AsInt(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->SetMax(arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 PyObject
* obj2
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10805 arg2
= (int) SWIG_AsInt(obj1
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10807 arg3
= (int) SWIG_AsInt(obj2
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->SetRange(arg2
,arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10851 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10854 wxVisualAttributes result
;
10855 PyObject
* obj0
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "variant", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10862 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 wxVisualAttributes
* resultptr
;
10874 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10883 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10886 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10888 return Py_BuildValue((char *)"");
10890 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxWindow
*arg1
= (wxWindow
*) 0 ;
10893 int arg2
= (int) -1 ;
10894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10900 long arg6
= (long) wxSP_ARROW_KEYS
;
10901 int arg7
= (int) 0 ;
10902 int arg8
= (int) 100 ;
10903 int arg9
= (int) 0 ;
10904 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10905 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10906 wxSpinCtrl
*result
;
10907 bool temp3
= False
;
10910 bool temp10
= False
;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 PyObject
* obj3
= 0 ;
10915 PyObject
* obj4
= 0 ;
10916 PyObject
* obj5
= 0 ;
10917 PyObject
* obj6
= 0 ;
10918 PyObject
* obj7
= 0 ;
10919 PyObject
* obj8
= 0 ;
10920 PyObject
* obj9
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10929 arg2
= (int) SWIG_AsInt(obj1
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10934 arg3
= wxString_in_helper(obj2
);
10935 if (arg3
== NULL
) SWIG_fail
;
10942 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10948 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10952 arg6
= (long) SWIG_AsLong(obj5
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 arg7
= (int) SWIG_AsInt(obj6
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10960 arg8
= (int) SWIG_AsInt(obj7
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10964 arg9
= (int) SWIG_AsInt(obj8
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10969 arg10
= wxString_in_helper(obj9
);
10970 if (arg10
== NULL
) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11004 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxSpinCtrl
*result
;
11007 char *kwnames
[] = {
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11026 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11029 wxWindow
*arg2
= (wxWindow
*) 0 ;
11030 int arg3
= (int) -1 ;
11031 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11032 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11033 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11034 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11035 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11036 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11037 long arg7
= (long) wxSP_ARROW_KEYS
;
11038 int arg8
= (int) 0 ;
11039 int arg9
= (int) 100 ;
11040 int arg10
= (int) 0 ;
11041 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11042 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11044 bool temp4
= False
;
11047 bool temp11
= False
;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 PyObject
* obj2
= 0 ;
11051 PyObject
* obj3
= 0 ;
11052 PyObject
* obj4
= 0 ;
11053 PyObject
* obj5
= 0 ;
11054 PyObject
* obj6
= 0 ;
11055 PyObject
* obj7
= 0 ;
11056 PyObject
* obj8
= 0 ;
11057 PyObject
* obj9
= 0 ;
11058 PyObject
* obj10
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 arg3
= (int) SWIG_AsInt(obj2
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11074 arg4
= wxString_in_helper(obj3
);
11075 if (arg4
== NULL
) SWIG_fail
;
11082 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11088 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11092 arg7
= (long) SWIG_AsLong(obj6
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 arg8
= (int) SWIG_AsInt(obj7
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 arg9
= (int) SWIG_AsInt(obj8
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 arg10
= (int) SWIG_AsInt(obj9
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11109 arg11
= wxString_in_helper(obj10
);
11110 if (arg11
== NULL
) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= SWIG_FromInt((int)result
);
11172 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 PyObject
* obj1
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self",(char *) "value", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 arg2
= (int) SWIG_AsInt(obj1
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 (arg1
)->SetValue(arg2
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11204 wxString
*arg2
= 0 ;
11205 bool temp2
= False
;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "text", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 arg2
= wxString_in_helper(obj1
);
11217 if (arg2
== NULL
) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->SetValue((wxString
const &)*arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11242 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 PyObject
* obj2
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11257 arg2
= (int) SWIG_AsInt(obj1
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11259 arg3
= (int) SWIG_AsInt(obj2
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 (arg1
)->SetRange(arg2
,arg3
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 Py_INCREF(Py_None
); resultobj
= Py_None
;
11275 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11279 PyObject
* obj0
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= SWIG_FromInt((int)result
);
11301 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_FromInt((int)result
);
11327 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 PyObject
* obj2
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self",(char *) "from",(char *) "to", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 arg2
= (long) SWIG_AsLong(obj1
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11344 arg3
= (long) SWIG_AsLong(obj2
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 (arg1
)->SetSelection(arg2
,arg3
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11363 wxVisualAttributes result
;
11364 PyObject
* obj0
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "variant", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11371 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 wxVisualAttributes
* resultptr
;
11383 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11392 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11395 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11397 return Py_BuildValue((char *)"");
11399 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11402 int arg2
= (int) 0 ;
11403 wxSpinEvent
*result
;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "commandType",(char *) "winid", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11412 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 arg2
= (int) SWIG_AsInt(obj1
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11433 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_FromInt((int)result
);
11459 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "pos", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11472 arg2
= (int) SWIG_AsInt(obj1
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 (arg1
)->SetPosition(arg2
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 Py_INCREF(Py_None
); resultobj
= Py_None
;
11488 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11493 return Py_BuildValue((char *)"");
11495 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11496 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11501 static PyObject
*_wrap_RadioBoxNameStr_get() {
11506 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11508 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11515 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11516 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11521 static PyObject
*_wrap_RadioButtonNameStr_get() {
11526 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11528 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11535 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxWindow
*arg1
= (wxWindow
*) 0 ;
11539 wxString
*arg3
= 0 ;
11540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11544 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11545 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11546 int arg7
= (int) 0 ;
11547 long arg8
= (long) wxRA_HORIZONTAL
;
11548 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11549 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11550 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11551 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11552 wxRadioBox
*result
;
11553 bool temp3
= False
;
11556 bool temp6
= False
;
11557 bool temp10
= False
;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 PyObject
* obj4
= 0 ;
11563 PyObject
* obj5
= 0 ;
11564 PyObject
* obj6
= 0 ;
11565 PyObject
* obj7
= 0 ;
11566 PyObject
* obj8
= 0 ;
11567 PyObject
* obj9
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11575 arg2
= (int) SWIG_AsInt(obj1
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 arg3
= wxString_in_helper(obj2
);
11579 if (arg3
== NULL
) SWIG_fail
;
11585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11596 if (! PySequence_Check(obj5
)) {
11597 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11600 arg6
= new wxArrayString
;
11602 int i
, len
=PySequence_Length(obj5
);
11603 for (i
=0; i
<len
; i
++) {
11604 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11606 PyObject
* str
= PyObject_Unicode(item
);
11608 PyObject
* str
= PyObject_Str(item
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11611 arg6
->Add(Py2wxString(str
));
11618 arg7
= (int) SWIG_AsInt(obj6
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 arg8
= (long) SWIG_AsLong(obj7
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11629 if (arg9
== NULL
) {
11630 PyErr_SetString(PyExc_TypeError
,"null reference");
11636 arg10
= wxString_in_helper(obj9
);
11637 if (arg10
== NULL
) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 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
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11654 if (temp6
) delete arg6
;
11667 if (temp6
) delete arg6
;
11677 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxRadioBox
*result
;
11680 char *kwnames
[] = {
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (wxRadioBox
*)new wxRadioBox();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11699 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11702 wxWindow
*arg2
= (wxWindow
*) 0 ;
11704 wxString
*arg4
= 0 ;
11705 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11706 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11707 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11708 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11709 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11710 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11711 int arg8
= (int) 0 ;
11712 long arg9
= (long) wxRA_HORIZONTAL
;
11713 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11714 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11715 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11716 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11718 bool temp4
= False
;
11721 bool temp7
= False
;
11722 bool temp11
= False
;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 PyObject
* obj3
= 0 ;
11727 PyObject
* obj4
= 0 ;
11728 PyObject
* obj5
= 0 ;
11729 PyObject
* obj6
= 0 ;
11730 PyObject
* obj7
= 0 ;
11731 PyObject
* obj8
= 0 ;
11732 PyObject
* obj9
= 0 ;
11733 PyObject
* obj10
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11743 arg3
= (int) SWIG_AsInt(obj2
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 arg4
= wxString_in_helper(obj3
);
11747 if (arg4
== NULL
) SWIG_fail
;
11753 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11759 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11764 if (! PySequence_Check(obj6
)) {
11765 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11768 arg7
= new wxArrayString
;
11770 int i
, len
=PySequence_Length(obj6
);
11771 for (i
=0; i
<len
; i
++) {
11772 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11774 PyObject
* str
= PyObject_Unicode(item
);
11776 PyObject
* str
= PyObject_Str(item
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11779 arg7
->Add(Py2wxString(str
));
11786 arg8
= (int) SWIG_AsInt(obj7
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11790 arg9
= (long) SWIG_AsLong(obj8
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11794 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11797 if (arg10
== NULL
) {
11798 PyErr_SetString(PyExc_TypeError
,"null reference");
11804 arg11
= wxString_in_helper(obj10
);
11805 if (arg11
== NULL
) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 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
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11824 if (temp7
) delete arg7
;
11837 if (temp7
) delete arg7
;
11847 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self",(char *) "n", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 arg2
= (int) SWIG_AsInt(obj1
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 (arg1
)->SetSelection(arg2
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 Py_INCREF(Py_None
); resultobj
= Py_None
;
11876 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_FromInt((int)result
);
11902 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11934 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11937 wxString
*arg2
= 0 ;
11939 bool temp2
= False
;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self",(char *) "s", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 arg2
= wxString_in_helper(obj1
);
11951 if (arg2
== NULL
) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11978 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_FromInt((int)result
);
12004 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12007 wxString
*arg2
= 0 ;
12009 bool temp2
= False
;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "s", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12020 arg2
= wxString_in_helper(obj1
);
12021 if (arg2
== NULL
) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_FromInt((int)result
);
12046 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self",(char *) "n", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 arg2
= (int) SWIG_AsInt(obj1
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12082 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12086 wxString
*arg3
= 0 ;
12087 bool temp3
= False
;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 PyObject
* obj2
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "n",(char *) "label", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 arg2
= (int) SWIG_AsInt(obj1
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 arg3
= wxString_in_helper(obj2
);
12102 if (arg3
== NULL
) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 Py_INCREF(Py_None
); resultobj
= Py_None
;
12127 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12131 bool arg3
= (bool) True
;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 PyObject
* obj2
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self",(char *) "n",(char *) "enable", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12142 arg2
= (int) SWIG_AsInt(obj1
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 arg3
= (bool) SWIG_AsBool(obj2
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 (arg1
)->Enable(arg2
,arg3
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 Py_INCREF(Py_None
); resultobj
= Py_None
;
12162 static PyObject
*_wrap_RadioBox_ShowItem(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 *) "show", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",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
)->Show(arg2
,arg3
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_FromInt((int)result
);
12223 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= SWIG_FromInt((int)result
);
12249 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 PyObject
* obj2
= 0 ;
12259 PyObject
* obj3
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 arg2
= (int) SWIG_AsInt(obj1
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12269 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12271 arg4
= (long) SWIG_AsLong(obj3
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= SWIG_FromInt((int)result
);
12287 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12290 wxVisualAttributes result
;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "variant", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12298 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 wxVisualAttributes
* resultptr
;
12310 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12319 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12322 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12324 return Py_BuildValue((char *)"");
12326 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxWindow
*arg1
= (wxWindow
*) 0 ;
12330 wxString
*arg3
= 0 ;
12331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12335 long arg6
= (long) 0 ;
12336 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12337 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12338 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12339 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12340 wxRadioButton
*result
;
12341 bool temp3
= False
;
12344 bool temp8
= False
;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 PyObject
* obj2
= 0 ;
12348 PyObject
* obj3
= 0 ;
12349 PyObject
* obj4
= 0 ;
12350 PyObject
* obj5
= 0 ;
12351 PyObject
* obj6
= 0 ;
12352 PyObject
* obj7
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 arg2
= (int) SWIG_AsInt(obj1
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 arg3
= wxString_in_helper(obj2
);
12364 if (arg3
== NULL
) SWIG_fail
;
12370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12380 arg6
= (long) SWIG_AsLong(obj5
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12387 if (arg7
== NULL
) {
12388 PyErr_SetString(PyExc_TypeError
,"null reference");
12394 arg8
= wxString_in_helper(obj7
);
12395 if (arg8
== NULL
) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12429 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxRadioButton
*result
;
12432 char *kwnames
[] = {
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (wxRadioButton
*)new wxRadioButton();
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12451 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12454 wxWindow
*arg2
= (wxWindow
*) 0 ;
12456 wxString
*arg4
= 0 ;
12457 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12458 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12459 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12460 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12461 long arg7
= (long) 0 ;
12462 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12463 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12464 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12465 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12467 bool temp4
= False
;
12470 bool temp9
= False
;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 PyObject
* obj2
= 0 ;
12474 PyObject
* obj3
= 0 ;
12475 PyObject
* obj4
= 0 ;
12476 PyObject
* obj5
= 0 ;
12477 PyObject
* obj6
= 0 ;
12478 PyObject
* obj7
= 0 ;
12479 PyObject
* obj8
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 arg3
= (int) SWIG_AsInt(obj2
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 arg4
= wxString_in_helper(obj3
);
12493 if (arg4
== NULL
) SWIG_fail
;
12499 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12505 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12509 arg7
= (long) SWIG_AsLong(obj6
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12513 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12516 if (arg8
== NULL
) {
12517 PyErr_SetString(PyExc_TypeError
,"null reference");
12523 arg9
= wxString_in_helper(obj8
);
12524 if (arg9
== NULL
) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12560 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (bool)(arg1
)->GetValue();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12588 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 PyObject
* obj1
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self",(char *) "value", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 arg2
= (bool) SWIG_AsBool(obj1
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->SetValue(arg2
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12617 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12620 wxVisualAttributes result
;
12621 PyObject
* obj0
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "variant", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12628 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12639 wxVisualAttributes
* resultptr
;
12640 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12649 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12652 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12654 return Py_BuildValue((char *)"");
12656 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12657 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12662 static PyObject
*_wrap_SliderNameStr_get() {
12667 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12669 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12676 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxWindow
*arg1
= (wxWindow
*) 0 ;
12683 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12684 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12685 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12686 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12687 long arg8
= (long) wxSL_HORIZONTAL
;
12688 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12689 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12690 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12691 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12695 bool temp10
= False
;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 PyObject
* obj2
= 0 ;
12699 PyObject
* obj3
= 0 ;
12700 PyObject
* obj4
= 0 ;
12701 PyObject
* obj5
= 0 ;
12702 PyObject
* obj6
= 0 ;
12703 PyObject
* obj7
= 0 ;
12704 PyObject
* obj8
= 0 ;
12705 PyObject
* obj9
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12713 arg2
= (int) SWIG_AsInt(obj1
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12715 arg3
= (int) SWIG_AsInt(obj2
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12717 arg4
= (int) SWIG_AsInt(obj3
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12719 arg5
= (int) SWIG_AsInt(obj4
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12724 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12730 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12734 arg8
= (long) SWIG_AsLong(obj7
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12741 if (arg9
== NULL
) {
12742 PyErr_SetString(PyExc_TypeError
,"null reference");
12748 arg10
= wxString_in_helper(obj9
);
12749 if (arg10
== NULL
) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12775 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12778 char *kwnames
[] = {
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (wxSlider
*)new wxSlider();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12797 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxSlider
*arg1
= (wxSlider
*) 0 ;
12800 wxWindow
*arg2
= (wxWindow
*) 0 ;
12805 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12806 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12807 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12808 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12809 long arg9
= (long) wxSL_HORIZONTAL
;
12810 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12811 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12812 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12813 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12817 bool temp11
= False
;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 PyObject
* obj3
= 0 ;
12822 PyObject
* obj4
= 0 ;
12823 PyObject
* obj5
= 0 ;
12824 PyObject
* obj6
= 0 ;
12825 PyObject
* obj7
= 0 ;
12826 PyObject
* obj8
= 0 ;
12827 PyObject
* obj9
= 0 ;
12828 PyObject
* obj10
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12838 arg3
= (int) SWIG_AsInt(obj2
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12840 arg4
= (int) SWIG_AsInt(obj3
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12842 arg5
= (int) SWIG_AsInt(obj4
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12844 arg6
= (int) SWIG_AsInt(obj5
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12849 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12855 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12859 arg9
= (long) SWIG_AsLong(obj8
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12866 if (arg10
== NULL
) {
12867 PyErr_SetString(PyExc_TypeError
,"null reference");
12873 arg11
= wxString_in_helper(obj10
);
12874 if (arg11
== NULL
) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12902 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxSlider
*arg1
= (wxSlider
*) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= SWIG_FromInt((int)result
);
12928 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxSlider
*arg1
= (wxSlider
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self",(char *) "value", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12941 arg2
= (int) SWIG_AsInt(obj1
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 (arg1
)->SetValue(arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 Py_INCREF(Py_None
); resultobj
= Py_None
;
12957 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxSlider
*arg1
= (wxSlider
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 PyObject
* obj2
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 arg2
= (int) SWIG_AsInt(obj1
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12974 arg3
= (int) SWIG_AsInt(obj2
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 (arg1
)->SetRange(arg2
,arg3
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 Py_INCREF(Py_None
); resultobj
= Py_None
;
12990 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxSlider
*arg1
= (wxSlider
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_FromInt((int)result
);
13016 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxSlider
*arg1
= (wxSlider
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_FromInt((int)result
);
13042 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxSlider
*arg1
= (wxSlider
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "minValue", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg2
= (int) SWIG_AsInt(obj1
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 (arg1
)->SetMin(arg2
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxSlider
*arg1
= (wxSlider
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "maxValue", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13084 arg2
= (int) SWIG_AsInt(obj1
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 (arg1
)->SetMax(arg2
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 Py_INCREF(Py_None
); resultobj
= Py_None
;
13100 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxSlider
*arg1
= (wxSlider
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "lineSize", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13113 arg2
= (int) SWIG_AsInt(obj1
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 (arg1
)->SetLineSize(arg2
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxSlider
*arg1
= (wxSlider
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self",(char *) "pageSize", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 arg2
= (int) SWIG_AsInt(obj1
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 (arg1
)->SetPageSize(arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxSlider
*arg1
= (wxSlider
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_FromInt((int)result
);
13184 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxSlider
*arg1
= (wxSlider
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_FromInt((int)result
);
13210 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxSlider
*arg1
= (wxSlider
*) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "lenPixels", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 arg2
= (int) SWIG_AsInt(obj1
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 (arg1
)->SetThumbLength(arg2
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 Py_INCREF(Py_None
); resultobj
= Py_None
;
13239 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxSlider
*arg1
= (wxSlider
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_FromInt((int)result
);
13265 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxSlider
*arg1
= (wxSlider
*) 0 ;
13269 int arg3
= (int) 1 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self",(char *) "n",(char *) "pos", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 arg2
= (int) SWIG_AsInt(obj1
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 arg3
= (int) SWIG_AsInt(obj2
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->SetTickFreq(arg2
,arg3
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxSlider
*arg1
= (wxSlider
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_FromInt((int)result
);
13326 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxSlider
*arg1
= (wxSlider
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->ClearTicks();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxSlider
*arg1
= (wxSlider
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "tickPos", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 arg2
= (int) SWIG_AsInt(obj1
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 (arg1
)->SetTick(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxSlider
*arg1
= (wxSlider
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 (arg1
)->ClearSel();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 Py_INCREF(Py_None
); resultobj
= Py_None
;
13405 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxSlider
*arg1
= (wxSlider
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_FromInt((int)result
);
13431 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxSlider
*arg1
= (wxSlider
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_FromInt((int)result
);
13457 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxSlider
*arg1
= (wxSlider
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 PyObject
* obj2
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self",(char *) "min",(char *) "max", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13472 arg2
= (int) SWIG_AsInt(obj1
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13474 arg3
= (int) SWIG_AsInt(obj2
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 (arg1
)->SetSelection(arg2
,arg3
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 Py_INCREF(Py_None
); resultobj
= Py_None
;
13490 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13493 wxVisualAttributes result
;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "variant", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13501 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 wxVisualAttributes
* resultptr
;
13513 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13522 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13525 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13527 return Py_BuildValue((char *)"");
13529 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13530 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13535 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13540 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13542 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13549 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxWindow
*arg1
= (wxWindow
*) 0 ;
13553 wxString
*arg3
= 0 ;
13554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13558 long arg6
= (long) 0 ;
13559 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13560 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13561 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13562 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13563 wxToggleButton
*result
;
13564 bool temp3
= False
;
13567 bool temp8
= False
;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 PyObject
* obj2
= 0 ;
13571 PyObject
* obj3
= 0 ;
13572 PyObject
* obj4
= 0 ;
13573 PyObject
* obj5
= 0 ;
13574 PyObject
* obj6
= 0 ;
13575 PyObject
* obj7
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 arg2
= (int) SWIG_AsInt(obj1
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 arg3
= wxString_in_helper(obj2
);
13587 if (arg3
== NULL
) SWIG_fail
;
13593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13603 arg6
= (long) SWIG_AsLong(obj5
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13610 if (arg7
== NULL
) {
13611 PyErr_SetString(PyExc_TypeError
,"null reference");
13617 arg8
= wxString_in_helper(obj7
);
13618 if (arg8
== NULL
) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13652 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxToggleButton
*result
;
13655 char *kwnames
[] = {
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (wxToggleButton
*)new wxToggleButton();
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13674 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13677 wxWindow
*arg2
= (wxWindow
*) 0 ;
13679 wxString
*arg4
= 0 ;
13680 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13681 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13682 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13683 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13684 long arg7
= (long) 0 ;
13685 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13686 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13687 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13688 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13690 bool temp4
= False
;
13693 bool temp9
= False
;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 PyObject
* obj2
= 0 ;
13697 PyObject
* obj3
= 0 ;
13698 PyObject
* obj4
= 0 ;
13699 PyObject
* obj5
= 0 ;
13700 PyObject
* obj6
= 0 ;
13701 PyObject
* obj7
= 0 ;
13702 PyObject
* obj8
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13712 arg3
= (int) SWIG_AsInt(obj2
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 arg4
= wxString_in_helper(obj3
);
13716 if (arg4
== NULL
) SWIG_fail
;
13722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13732 arg7
= (long) SWIG_AsLong(obj6
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13736 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13739 if (arg8
== NULL
) {
13740 PyErr_SetString(PyExc_TypeError
,"null reference");
13746 arg9
= wxString_in_helper(obj8
);
13747 if (arg9
== NULL
) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 PyObject
* obj1
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self",(char *) "value", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 arg2
= (bool) SWIG_AsBool(obj1
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->SetValue(arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 Py_INCREF(Py_None
); resultobj
= Py_None
;
13812 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13840 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13843 wxString
*arg2
= 0 ;
13844 bool temp2
= False
;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self",(char *) "label", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 arg2
= wxString_in_helper(obj1
);
13856 if (arg2
== NULL
) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 (arg1
)->SetLabel((wxString
const &)*arg2
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 Py_INCREF(Py_None
); resultobj
= Py_None
;
13881 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13884 wxVisualAttributes result
;
13885 PyObject
* obj0
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "variant", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13892 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 wxVisualAttributes
* resultptr
;
13904 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13913 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13916 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13918 return Py_BuildValue((char *)"");
13920 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13921 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13926 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13931 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13933 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13940 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13966 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "n", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= wxPyMake_wxObject(result
);
13998 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_FromInt((int)result
);
14024 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14028 wxString
*arg3
= 0 ;
14030 bool temp3
= False
;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 PyObject
* obj2
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "n",(char *) "strText", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14041 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 arg3
= wxString_in_helper(obj2
);
14045 if (arg3
== NULL
) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14072 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self",(char *) "n", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14086 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14108 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14111 wxImageList
*arg2
= (wxImageList
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "imageList", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 (arg1
)->SetImageList(arg2
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14137 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14140 wxImageList
*arg2
= (wxImageList
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "imageList", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14151 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 (arg1
)->AssignImageList(arg2
);
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 Py_INCREF(Py_None
); resultobj
= Py_None
;
14166 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14169 wxImageList
*result
;
14170 PyObject
* obj0
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= wxPyMake_wxObject(result
);
14194 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14199 PyObject
* obj0
= 0 ;
14200 PyObject
* obj1
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self",(char *) "n", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14208 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_FromInt((int)result
);
14224 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 PyObject
* obj2
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self",(char *) "n",(char *) "imageId", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14240 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14242 arg3
= (int) SWIG_AsInt(obj2
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14260 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj1
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self",(char *) "size", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 Py_INCREF(Py_None
); resultobj
= Py_None
;
14292 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self",(char *) "sizePage", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14319 wxSize
* resultptr
;
14320 resultptr
= new wxSize((wxSize
&) result
);
14321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14329 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self",(char *) "n", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (bool)(arg1
)->DeletePage(arg2
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14361 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "n", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (bool)(arg1
)->RemovePage(arg2
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14393 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (bool)(arg1
)->DeleteAllPages();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14421 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14424 wxWindow
*arg2
= (wxWindow
*) 0 ;
14425 wxString
*arg3
= 0 ;
14426 bool arg4
= (bool) False
;
14427 int arg5
= (int) -1 ;
14429 bool temp3
= False
;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 PyObject
* obj2
= 0 ;
14433 PyObject
* obj3
= 0 ;
14434 PyObject
* obj4
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 arg3
= wxString_in_helper(obj2
);
14446 if (arg3
== NULL
) SWIG_fail
;
14450 arg4
= (bool) SWIG_AsBool(obj3
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14454 arg5
= (int) SWIG_AsInt(obj4
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14481 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14485 wxWindow
*arg3
= (wxWindow
*) 0 ;
14486 wxString
*arg4
= 0 ;
14487 bool arg5
= (bool) False
;
14488 int arg6
= (int) -1 ;
14490 bool temp4
= False
;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 PyObject
* obj3
= 0 ;
14495 PyObject
* obj4
= 0 ;
14496 PyObject
* obj5
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14506 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 arg4
= wxString_in_helper(obj3
);
14510 if (arg4
== NULL
) SWIG_fail
;
14514 arg5
= (bool) SWIG_AsBool(obj4
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 arg6
= (int) SWIG_AsInt(obj5
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self",(char *) "n", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (int)(arg1
)->SetSelection(arg2
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_FromInt((int)result
);
14575 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14578 bool arg2
= (bool) True
;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "forward", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 arg2
= (bool) SWIG_AsBool(obj1
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 (arg1
)->AdvanceSelection(arg2
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 Py_INCREF(Py_None
); resultobj
= Py_None
;
14606 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14609 wxVisualAttributes result
;
14610 PyObject
* obj0
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "variant", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14617 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 wxVisualAttributes
* resultptr
;
14629 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14638 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14641 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14643 return Py_BuildValue((char *)"");
14645 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14648 int arg2
= (int) 0 ;
14649 int arg3
= (int) -1 ;
14650 int arg4
= (int) -1 ;
14651 wxBookCtrlEvent
*result
;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 PyObject
* obj2
= 0 ;
14655 PyObject
* obj3
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14662 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 arg2
= (int) SWIG_AsInt(obj1
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14670 arg3
= (int) SWIG_AsInt(obj2
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 arg4
= (int) SWIG_AsInt(obj3
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14691 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_FromInt((int)result
);
14717 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "nSel", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14730 arg2
= (int) SWIG_AsInt(obj1
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 (arg1
)->SetSelection(arg2
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 Py_INCREF(Py_None
); resultobj
= Py_None
;
14746 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_FromInt((int)result
);
14772 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
;
14774 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self",(char *) "nOldSel", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14785 arg2
= (int) SWIG_AsInt(obj1
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 (arg1
)->SetOldSelection(arg2
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 Py_INCREF(Py_None
); resultobj
= Py_None
;
14801 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14804 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14806 return Py_BuildValue((char *)"");
14808 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxWindow
*arg1
= (wxWindow
*) 0 ;
14811 int arg2
= (int) -1 ;
14812 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14813 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14816 long arg5
= (long) 0 ;
14817 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14818 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14819 wxNotebook
*result
;
14822 bool temp6
= False
;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 PyObject
* obj2
= 0 ;
14826 PyObject
* obj3
= 0 ;
14827 PyObject
* obj4
= 0 ;
14828 PyObject
* obj5
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14837 arg2
= (int) SWIG_AsInt(obj1
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14849 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14853 arg5
= (long) SWIG_AsLong(obj4
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14858 arg6
= wxString_in_helper(obj5
);
14859 if (arg6
== NULL
) SWIG_fail
;
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= wxPyMake_wxObject(result
);
14887 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxNotebook
*result
;
14890 char *kwnames
[] = {
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (wxNotebook
*)new wxNotebook();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= wxPyMake_wxObject(result
);
14911 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14914 wxWindow
*arg2
= (wxWindow
*) 0 ;
14916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14920 long arg6
= (long) 0 ;
14921 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14926 bool temp7
= False
;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 PyObject
* obj2
= 0 ;
14930 PyObject
* obj3
= 0 ;
14931 PyObject
* obj4
= 0 ;
14932 PyObject
* obj5
= 0 ;
14933 PyObject
* obj6
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 arg3
= (int) SWIG_AsInt(obj2
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14954 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14958 arg6
= (long) SWIG_AsLong(obj5
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14963 arg7
= wxString_in_helper(obj6
);
14964 if (arg7
== NULL
) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14992 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= SWIG_FromInt((int)result
);
15018 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self",(char *) "padding", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 Py_INCREF(Py_None
); resultobj
= Py_None
;
15050 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 PyObject
* obj1
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "sz", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 Py_INCREF(Py_None
); resultobj
= Py_None
;
15082 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
;
15084 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15085 wxPoint
*arg2
= 0 ;
15086 long *arg3
= (long *) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "pt", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= SWIG_FromInt((int)result
);
15113 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15114 resultobj
= t_output_helper(resultobj
,o
);
15122 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self",(char *) "sizePage", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15139 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15149 wxSize
* resultptr
;
15150 resultptr
= new wxSize((wxSize
&) result
);
15151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15159 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15162 wxVisualAttributes result
;
15163 PyObject
* obj0
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "variant", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15170 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15181 wxVisualAttributes
* resultptr
;
15182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15191 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15194 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15196 return Py_BuildValue((char *)"");
15198 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15201 int arg2
= (int) 0 ;
15202 int arg3
= (int) -1 ;
15203 int arg4
= (int) -1 ;
15204 wxNotebookEvent
*result
;
15205 PyObject
* obj0
= 0 ;
15206 PyObject
* obj1
= 0 ;
15207 PyObject
* obj2
= 0 ;
15208 PyObject
* obj3
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15215 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15219 arg2
= (int) SWIG_AsInt(obj1
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15223 arg3
= (int) SWIG_AsInt(obj2
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15227 arg4
= (int) SWIG_AsInt(obj3
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15244 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15247 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15249 return Py_BuildValue((char *)"");
15251 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxWindow
*arg1
= (wxWindow
*) 0 ;
15254 int arg2
= (int) -1 ;
15255 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15256 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15257 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15258 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15259 long arg5
= (long) 0 ;
15260 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15261 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15262 wxListbook
*result
;
15265 bool temp6
= False
;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 PyObject
* obj2
= 0 ;
15269 PyObject
* obj3
= 0 ;
15270 PyObject
* obj4
= 0 ;
15271 PyObject
* obj5
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 arg2
= (int) SWIG_AsInt(obj1
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15286 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15292 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15296 arg5
= (long) SWIG_AsLong(obj4
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15301 arg6
= wxString_in_helper(obj5
);
15302 if (arg6
== NULL
) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15328 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxListbook
*result
;
15331 char *kwnames
[] = {
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (wxListbook
*)new wxListbook();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15350 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxListbook
*arg1
= (wxListbook
*) 0 ;
15353 wxWindow
*arg2
= (wxWindow
*) 0 ;
15355 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15356 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15357 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15358 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15359 long arg6
= (long) 0 ;
15360 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15361 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15365 bool temp7
= False
;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 PyObject
* obj2
= 0 ;
15369 PyObject
* obj3
= 0 ;
15370 PyObject
* obj4
= 0 ;
15371 PyObject
* obj5
= 0 ;
15372 PyObject
* obj6
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 arg3
= (int) SWIG_AsInt(obj2
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15397 arg6
= (long) SWIG_AsLong(obj5
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15402 arg7
= wxString_in_helper(obj6
);
15403 if (arg7
== NULL
) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15431 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxListbook
*arg1
= (wxListbook
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15462 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15464 return Py_BuildValue((char *)"");
15466 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15469 int arg2
= (int) 0 ;
15470 int arg3
= (int) -1 ;
15471 int arg4
= (int) -1 ;
15472 wxListbookEvent
*result
;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 PyObject
* obj2
= 0 ;
15476 PyObject
* obj3
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15483 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 arg2
= (int) SWIG_AsInt(obj1
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15491 arg3
= (int) SWIG_AsInt(obj2
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 arg4
= (int) SWIG_AsInt(obj3
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15512 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15515 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15517 return Py_BuildValue((char *)"");
15519 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15522 wxBookCtrlSizer
*result
;
15523 PyObject
* obj0
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "nb", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15545 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 (arg1
)->RecalcSizes();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (arg1
)->CalcMin();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 wxSize
* resultptr
;
15591 resultptr
= new wxSize((wxSize
&) result
);
15592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15600 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15603 wxBookCtrl
*result
;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15626 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15629 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15631 return Py_BuildValue((char *)"");
15633 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15636 wxNotebookSizer
*result
;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "nb", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15659 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 (arg1
)->RecalcSizes();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (arg1
)->CalcMin();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 wxSize
* resultptr
;
15705 resultptr
= new wxSize((wxSize
&) result
);
15706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15714 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15717 wxNotebook
*result
;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= wxPyMake_wxObject(result
);
15742 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15745 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15747 return Py_BuildValue((char *)"");
15749 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (int)(arg1
)->GetId();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_FromInt((int)result
);
15775 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (wxControl
*)(arg1
)->GetControl();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= wxPyMake_wxObject(result
);
15803 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15806 wxToolBarBase
*result
;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= wxPyMake_wxObject(result
);
15831 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= (int)(arg1
)->IsButton();
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_FromInt((int)result
);
15857 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "self", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= (int)(arg1
)->IsControl();
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 resultobj
= SWIG_FromInt((int)result
);
15883 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (int)(arg1
)->IsSeparator();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= SWIG_FromInt((int)result
);
15909 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (int)(arg1
)->GetStyle();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_FromInt((int)result
);
15935 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (int)(arg1
)->GetKind();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_FromInt((int)result
);
15961 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15965 PyObject
* obj0
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (bool)(arg1
)->IsEnabled();
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15989 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (bool)(arg1
)->IsToggled();
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16017 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16021 PyObject
* obj0
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (bool)(arg1
)->CanBeToggled();
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16045 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16061 result
= (wxBitmap
*) &_result_ref
;
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16068 wxBitmap
* resultptr
= new wxBitmap(*result
);
16069 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16077 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16093 result
= (wxBitmap
*) &_result_ref
;
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 wxBitmap
* resultptr
= new wxBitmap(*result
);
16101 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16109 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16113 PyObject
* obj0
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (arg1
)->GetBitmap();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16129 wxBitmap
* resultptr
;
16130 resultptr
= new wxBitmap((wxBitmap
&) result
);
16131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16139 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= (arg1
)->GetLabel();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16171 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (arg1
)->GetShortHelp();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16203 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16207 PyObject
* obj0
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "self", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (arg1
)->GetLongHelp();
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16235 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "enable", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 arg2
= (bool) SWIG_AsBool(obj1
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)(arg1
)->Enable(arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16267 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 Py_INCREF(Py_None
); resultobj
= Py_None
;
16292 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 PyObject
* obj1
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self",(char *) "toggle", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16306 arg2
= (bool) SWIG_AsBool(obj1
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= (bool)(arg1
)->SetToggle(arg2
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16324 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16327 wxString
*arg2
= 0 ;
16329 bool temp2
= False
;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "help", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 arg2
= wxString_in_helper(obj1
);
16341 if (arg2
== NULL
) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16368 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16371 wxString
*arg2
= 0 ;
16373 bool temp2
= False
;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "self",(char *) "help", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16384 arg2
= wxString_in_helper(obj1
);
16385 if (arg2
== NULL
) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16412 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16415 wxBitmap
*arg2
= 0 ;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self",(char *) "bmp", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16428 if (arg2
== NULL
) {
16429 PyErr_SetString(PyExc_TypeError
,"null reference");
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 Py_INCREF(Py_None
); resultobj
= Py_None
;
16446 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16449 wxBitmap
*arg2
= 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self",(char *) "bmp", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16462 if (arg2
== NULL
) {
16463 PyErr_SetString(PyExc_TypeError
,"null reference");
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16483 wxString
*arg2
= 0 ;
16484 bool temp2
= False
;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "label", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16495 arg2
= wxString_in_helper(obj1
);
16496 if (arg2
== NULL
) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 (arg1
)->SetLabel((wxString
const &)*arg2
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 Py_INCREF(Py_None
); resultobj
= Py_None
;
16546 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16549 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self",(char *) "tbar", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 (arg1
)->Attach(arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 Py_INCREF(Py_None
); resultobj
= Py_None
;
16575 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= result
;
16601 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16604 PyObject
*arg2
= (PyObject
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self",(char *) "clientData", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 Py_INCREF(Py_None
); resultobj
= Py_None
;
16629 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16632 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16634 return Py_BuildValue((char *)"");
16636 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16640 wxString
*arg3
= 0 ;
16641 wxBitmap
*arg4
= 0 ;
16642 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16643 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16644 int arg6
= (int) wxITEM_NORMAL
;
16645 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16646 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16647 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16649 PyObject
*arg9
= (PyObject
*) NULL
;
16650 wxToolBarToolBase
*result
;
16651 bool temp3
= False
;
16652 bool temp7
= False
;
16653 bool temp8
= False
;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 PyObject
* obj3
= 0 ;
16658 PyObject
* obj4
= 0 ;
16659 PyObject
* obj5
= 0 ;
16660 PyObject
* obj6
= 0 ;
16661 PyObject
* obj7
= 0 ;
16662 PyObject
* obj8
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16670 arg2
= (int) SWIG_AsInt(obj1
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 arg3
= wxString_in_helper(obj2
);
16674 if (arg3
== NULL
) SWIG_fail
;
16677 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16680 if (arg4
== NULL
) {
16681 PyErr_SetString(PyExc_TypeError
,"null reference");
16685 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16688 if (arg5
== NULL
) {
16689 PyErr_SetString(PyExc_TypeError
,"null reference");
16694 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16699 arg7
= wxString_in_helper(obj6
);
16700 if (arg7
== NULL
) SWIG_fail
;
16706 arg8
= wxString_in_helper(obj7
);
16707 if (arg8
== NULL
) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= wxPyMake_wxObject(result
);
16754 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16759 wxString
*arg4
= 0 ;
16760 wxBitmap
*arg5
= 0 ;
16761 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16762 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16763 int arg7
= (int) wxITEM_NORMAL
;
16764 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16766 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16767 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16768 PyObject
*arg10
= (PyObject
*) NULL
;
16769 wxToolBarToolBase
*result
;
16770 bool temp4
= False
;
16771 bool temp8
= False
;
16772 bool temp9
= False
;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 PyObject
* obj2
= 0 ;
16776 PyObject
* obj3
= 0 ;
16777 PyObject
* obj4
= 0 ;
16778 PyObject
* obj5
= 0 ;
16779 PyObject
* obj6
= 0 ;
16780 PyObject
* obj7
= 0 ;
16781 PyObject
* obj8
= 0 ;
16782 PyObject
* obj9
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16792 arg3
= (int) SWIG_AsInt(obj2
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 arg4
= wxString_in_helper(obj3
);
16796 if (arg4
== NULL
) SWIG_fail
;
16799 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16802 if (arg5
== NULL
) {
16803 PyErr_SetString(PyExc_TypeError
,"null reference");
16807 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16810 if (arg6
== NULL
) {
16811 PyErr_SetString(PyExc_TypeError
,"null reference");
16816 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16821 arg8
= wxString_in_helper(obj7
);
16822 if (arg8
== NULL
) SWIG_fail
;
16828 arg9
= wxString_in_helper(obj8
);
16829 if (arg9
== NULL
) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 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
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= wxPyMake_wxObject(result
);
16876 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16879 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16880 wxToolBarToolBase
*result
;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self",(char *) "tool", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= wxPyMake_wxObject(result
);
16908 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16912 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16913 wxToolBarToolBase
*result
;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 PyObject
* obj2
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self",(char *) "pos",(char *) "tool", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16926 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= wxPyMake_wxObject(result
);
16944 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16947 wxControl
*arg2
= (wxControl
*) 0 ;
16948 wxToolBarToolBase
*result
;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self",(char *) "control", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= wxPyMake_wxObject(result
);
16976 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16980 wxControl
*arg3
= (wxControl
*) 0 ;
16981 wxToolBarToolBase
*result
;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 PyObject
* obj2
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self",(char *) "pos",(char *) "control", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16994 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= wxPyMake_wxObject(result
);
17012 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "id", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17026 arg2
= (int) SWIG_AsInt(obj1
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= wxPyMake_wxObject(result
);
17044 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17047 wxToolBarToolBase
*result
;
17048 PyObject
* obj0
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= wxPyMake_wxObject(result
);
17072 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17076 wxToolBarToolBase
*result
;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "pos", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= wxPyMake_wxObject(result
);
17104 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17108 wxToolBarToolBase
*result
;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self",(char *) "id", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17118 arg2
= (int) SWIG_AsInt(obj1
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= wxPyMake_wxObject(result
);
17136 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "pos", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17168 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "id", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17182 arg2
= (int) SWIG_AsInt(obj1
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (bool)(arg1
)->DeleteTool(arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17200 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17203 PyObject
* obj0
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 (arg1
)->ClearTools();
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 Py_INCREF(Py_None
); resultobj
= Py_None
;
17225 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (bool)(arg1
)->Realize();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17253 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 PyObject
* obj2
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self",(char *) "id",(char *) "enable", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 arg2
= (int) SWIG_AsInt(obj1
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17270 arg3
= (bool) SWIG_AsBool(obj2
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 (arg1
)->EnableTool(arg2
,arg3
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 Py_INCREF(Py_None
); resultobj
= Py_None
;
17286 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 PyObject
* obj2
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self",(char *) "id",(char *) "toggle", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 arg2
= (int) SWIG_AsInt(obj1
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17303 arg3
= (bool) SWIG_AsBool(obj2
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 (arg1
)->ToggleTool(arg2
,arg3
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 Py_INCREF(Py_None
); resultobj
= Py_None
;
17319 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 PyObject
* obj2
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self",(char *) "id",(char *) "toggle", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17334 arg2
= (int) SWIG_AsInt(obj1
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17336 arg3
= (bool) SWIG_AsBool(obj2
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 (arg1
)->SetToggle(arg2
,arg3
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17345 Py_INCREF(Py_None
); resultobj
= Py_None
;
17352 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "id", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 arg2
= (int) SWIG_AsInt(obj1
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= result
;
17382 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17386 PyObject
*arg3
= (PyObject
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 PyObject
* obj2
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "id",(char *) "clientData", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 arg2
= (int) SWIG_AsInt(obj1
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 Py_INCREF(Py_None
); resultobj
= Py_None
;
17414 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self",(char *) "id", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17428 arg2
= (int) SWIG_AsInt(obj1
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= SWIG_FromInt((int)result
);
17444 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "id", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17458 arg2
= (int) SWIG_AsInt(obj1
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (bool)(arg1
)->GetToolState(arg2
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17476 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self",(char *) "id", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 arg2
= (int) SWIG_AsInt(obj1
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17508 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17512 wxString
*arg3
= 0 ;
17513 bool temp3
= False
;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 PyObject
* obj2
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self",(char *) "id",(char *) "helpString", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 arg2
= (int) SWIG_AsInt(obj1
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 arg3
= wxString_in_helper(obj2
);
17528 if (arg3
== NULL
) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 Py_INCREF(Py_None
); resultobj
= Py_None
;
17553 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "id", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 arg2
= (int) SWIG_AsInt(obj1
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= (arg1
)->GetToolShortHelp(arg2
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17589 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17593 wxString
*arg3
= 0 ;
17594 bool temp3
= False
;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 PyObject
* obj2
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "id",(char *) "helpString", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 arg2
= (int) SWIG_AsInt(obj1
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 arg3
= wxString_in_helper(obj2
);
17609 if (arg3
== NULL
) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 Py_INCREF(Py_None
); resultobj
= Py_None
;
17634 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self",(char *) "id", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17648 arg2
= (int) SWIG_AsInt(obj1
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (arg1
)->GetToolLongHelp(arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17670 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "x",(char *) "y", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 arg2
= (int) SWIG_AsInt(obj1
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17687 arg3
= (int) SWIG_AsInt(obj2
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 (arg1
)->SetMargins(arg2
,arg3
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17708 PyObject
* obj0
= 0 ;
17709 PyObject
* obj1
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self",(char *) "size", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "packing", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 arg2
= (int) SWIG_AsInt(obj1
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 (arg1
)->SetToolPacking(arg2
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 Py_INCREF(Py_None
); resultobj
= Py_None
;
17764 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "separation", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 arg2
= (int) SWIG_AsInt(obj1
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 (arg1
)->SetToolSeparation(arg2
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 Py_INCREF(Py_None
); resultobj
= Py_None
;
17793 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (arg1
)->GetToolMargins();
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17813 wxSize
* resultptr
;
17814 resultptr
= new wxSize((wxSize
&) result
);
17815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17823 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (arg1
)->GetMargins();
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 wxSize
* resultptr
;
17844 resultptr
= new wxSize((wxSize
&) result
);
17845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17853 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= (int)(arg1
)->GetToolPacking();
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= SWIG_FromInt((int)result
);
17879 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (int)(arg1
)->GetToolSeparation();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_FromInt((int)result
);
17905 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "nRows", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 arg2
= (int) SWIG_AsInt(obj1
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 (arg1
)->SetRows(arg2
);
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 Py_INCREF(Py_None
); resultobj
= Py_None
;
17934 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self",(char *) "rows",(char *) "cols", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17949 arg2
= (int) SWIG_AsInt(obj1
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17951 arg3
= (int) SWIG_AsInt(obj2
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 Py_INCREF(Py_None
); resultobj
= Py_None
;
17967 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (int)(arg1
)->GetMaxRows();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_FromInt((int)result
);
17993 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (int)(arg1
)->GetMaxCols();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= SWIG_FromInt((int)result
);
18019 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self",(char *) "size", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (arg1
)->GetToolBitmapSize();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 wxSize
* resultptr
;
18072 resultptr
= new wxSize((wxSize
&) result
);
18073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18081 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= (arg1
)->GetToolSize();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 wxSize
* resultptr
;
18102 resultptr
= new wxSize((wxSize
&) result
);
18103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18111 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18116 wxToolBarToolBase
*result
;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 PyObject
* obj2
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self",(char *) "x",(char *) "y", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 arg2
= (int) SWIG_AsInt(obj1
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18129 arg3
= (int) SWIG_AsInt(obj2
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= wxPyMake_wxObject(result
);
18147 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18151 wxToolBarToolBase
*result
;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self",(char *) "toolid", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18161 arg2
= (int) SWIG_AsInt(obj1
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= wxPyMake_wxObject(result
);
18179 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (bool)(arg1
)->IsVertical();
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18207 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18210 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18212 return Py_BuildValue((char *)"");
18214 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxWindow
*arg1
= (wxWindow
*) 0 ;
18218 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18219 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18220 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18221 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18222 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18223 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18224 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18228 bool temp6
= False
;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 PyObject
* obj2
= 0 ;
18232 PyObject
* obj3
= 0 ;
18233 PyObject
* obj4
= 0 ;
18234 PyObject
* obj5
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 arg2
= (int) SWIG_AsInt(obj1
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18247 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18253 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18257 arg5
= (long) SWIG_AsLong(obj4
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18262 arg6
= wxString_in_helper(obj5
);
18263 if (arg6
== NULL
) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= wxPyMake_wxObject(result
);
18291 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18294 char *kwnames
[] = {
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (wxToolBar
*)new wxToolBar();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= wxPyMake_wxObject(result
);
18315 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18318 wxWindow
*arg2
= (wxWindow
*) 0 ;
18320 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18321 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18322 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18323 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18324 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18325 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18326 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18330 bool temp7
= False
;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 PyObject
* obj2
= 0 ;
18334 PyObject
* obj3
= 0 ;
18335 PyObject
* obj4
= 0 ;
18336 PyObject
* obj5
= 0 ;
18337 PyObject
* obj6
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18347 arg3
= (int) SWIG_AsInt(obj2
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18352 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18358 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18362 arg6
= (long) SWIG_AsLong(obj5
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18367 arg7
= wxString_in_helper(obj6
);
18368 if (arg7
== NULL
) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18396 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18401 wxToolBarToolBase
*result
;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 PyObject
* obj2
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self",(char *) "x",(char *) "y", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 arg2
= (int) SWIG_AsInt(obj1
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18414 arg3
= (int) SWIG_AsInt(obj2
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= wxPyMake_wxObject(result
);
18432 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18435 wxVisualAttributes result
;
18436 PyObject
* obj0
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "variant", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18443 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 wxVisualAttributes
* resultptr
;
18455 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18464 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18467 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18469 return Py_BuildValue((char *)"");
18471 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18472 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18477 static PyObject
*_wrap_ListCtrlNameStr_get() {
18482 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18484 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18491 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxColour
const &arg1_defvalue
= wxNullColour
;
18494 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18495 wxColour
const &arg2_defvalue
= wxNullColour
;
18496 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18497 wxFont
const &arg3_defvalue
= wxNullFont
;
18498 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18499 wxListItemAttr
*result
;
18502 PyObject
* obj0
= 0 ;
18503 PyObject
* obj1
= 0 ;
18504 PyObject
* obj2
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18513 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18519 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18523 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18526 if (arg3
== NULL
) {
18527 PyErr_SetString(PyExc_TypeError
,"null reference");
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18545 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18548 wxColour
*arg2
= 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "colText", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18580 wxColour
*arg2
= 0 ;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "colBack", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "font", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18625 if (arg2
== NULL
) {
18626 PyErr_SetString(PyExc_TypeError
,"null reference");
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 (arg1
)->SetFont((wxFont
const &)*arg2
);
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 Py_INCREF(Py_None
); resultobj
= Py_None
;
18643 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (bool)(arg1
)->HasTextColour();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18671 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (bool)(arg1
)->HasBackgroundColour();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18699 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (bool)(arg1
)->HasFont();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18727 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 result
= (arg1
)->GetTextColour();
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18747 wxColour
* resultptr
;
18748 resultptr
= new wxColour((wxColour
&) result
);
18749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18757 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 result
= (arg1
)->GetBackgroundColour();
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18777 wxColour
* resultptr
;
18778 resultptr
= new wxColour((wxColour
&) result
);
18779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18787 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (arg1
)->GetFont();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18807 wxFont
* resultptr
;
18808 resultptr
= new wxFont((wxFont
&) result
);
18809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18817 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 wxListItemAttr_Destroy(arg1
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18845 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18847 return Py_BuildValue((char *)"");
18849 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxListItem
*result
;
18852 char *kwnames
[] = {
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (wxListItem
*)new wxListItem();
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= wxPyMake_wxObject(result
);
18873 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxListItem
*arg1
= (wxListItem
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 Py_INCREF(Py_None
); resultobj
= Py_None
;
18898 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxListItem
*arg1
= (wxListItem
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 Py_INCREF(Py_None
); resultobj
= Py_None
;
18923 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxListItem
*arg1
= (wxListItem
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->ClearAttributes();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxListItem
*arg1
= (wxListItem
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "mask", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 arg2
= (long) SWIG_AsLong(obj1
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->SetMask(arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxListItem
*arg1
= (wxListItem
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "id", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 arg2
= (long) SWIG_AsLong(obj1
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetId(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19006 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxListItem
*arg1
= (wxListItem
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "col", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 arg2
= (int) SWIG_AsInt(obj1
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetColumn(arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 Py_INCREF(Py_None
); resultobj
= Py_None
;
19035 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxListItem
*arg1
= (wxListItem
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "state", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19048 arg2
= (long) SWIG_AsLong(obj1
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 (arg1
)->SetState(arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 Py_INCREF(Py_None
); resultobj
= Py_None
;
19064 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxListItem
*arg1
= (wxListItem
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self",(char *) "stateMask", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19077 arg2
= (long) SWIG_AsLong(obj1
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->SetStateMask(arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 Py_INCREF(Py_None
); resultobj
= Py_None
;
19093 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxListItem
*arg1
= (wxListItem
*) 0 ;
19096 wxString
*arg2
= 0 ;
19097 bool temp2
= False
;
19098 PyObject
* obj0
= 0 ;
19099 PyObject
* obj1
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self",(char *) "text", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= wxString_in_helper(obj1
);
19109 if (arg2
== NULL
) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 (arg1
)->SetText((wxString
const &)*arg2
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxListItem
*arg1
= (wxListItem
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "image", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 arg2
= (int) SWIG_AsInt(obj1
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->SetImage(arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxListItem
*arg1
= (wxListItem
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 PyObject
* obj1
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self",(char *) "data", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 arg2
= (long) SWIG_AsLong(obj1
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->SetData(arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 Py_INCREF(Py_None
); resultobj
= Py_None
;
19192 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxListItem
*arg1
= (wxListItem
*) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self",(char *) "width", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 arg2
= (int) SWIG_AsInt(obj1
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 (arg1
)->SetWidth(arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 Py_INCREF(Py_None
); resultobj
= Py_None
;
19221 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxListItem
*arg1
= (wxListItem
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "align", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19234 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 Py_INCREF(Py_None
); resultobj
= Py_None
;
19250 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxListItem
*arg1
= (wxListItem
*) 0 ;
19253 wxColour
*arg2
= 0 ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self",(char *) "colText", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19282 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxListItem
*arg1
= (wxListItem
*) 0 ;
19285 wxColour
*arg2
= 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "colBack", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxListItem
*arg1
= (wxListItem
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self",(char *) "font", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19330 if (arg2
== NULL
) {
19331 PyErr_SetString(PyExc_TypeError
,"null reference");
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 (arg1
)->SetFont((wxFont
const &)*arg2
);
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 Py_INCREF(Py_None
); resultobj
= Py_None
;
19348 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxListItem
*arg1
= (wxListItem
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= (long)(arg1
)->GetMask();
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_FromLong((long)result
);
19374 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxListItem
*arg1
= (wxListItem
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (long)(arg1
)->GetId();
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_FromLong((long)result
);
19400 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxListItem
*arg1
= (wxListItem
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (int)(arg1
)->GetColumn();
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_FromInt((int)result
);
19426 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxListItem
*arg1
= (wxListItem
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (long)(arg1
)->GetState();
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_FromLong((long)result
);
19452 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxListItem
*arg1
= (wxListItem
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 wxString
const &_result_ref
= (arg1
)->GetText();
19468 result
= (wxString
*) &_result_ref
;
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19478 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19487 static PyObject
*_wrap_ListItem_GetImage(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_GetImage",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();
19501 result
= (int)(arg1
)->GetImage();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_FromInt((int)result
);
19513 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxListItem
*arg1
= (wxListItem
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (long)(arg1
)->GetData();
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_FromLong((long)result
);
19539 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxListItem
*arg1
= (wxListItem
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (int)(arg1
)->GetWidth();
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= SWIG_FromInt((int)result
);
19565 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxListItem
*arg1
= (wxListItem
*) 0 ;
19569 PyObject
* obj0
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (int)(arg1
)->GetAlign();
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_FromInt((int)result
);
19591 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxListItem
*arg1
= (wxListItem
*) 0 ;
19594 wxListItemAttr
*result
;
19595 PyObject
* obj0
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19617 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxListItem
*arg1
= (wxListItem
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 result
= (bool)(arg1
)->HasAttributes();
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19645 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxListItem
*arg1
= (wxListItem
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 wxColour
* resultptr
;
19666 resultptr
= new wxColour((wxColour
&) result
);
19667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19675 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxListItem
*arg1
= (wxListItem
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19695 wxColour
* resultptr
;
19696 resultptr
= new wxColour((wxColour
&) result
);
19697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19705 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxListItem
*arg1
= (wxListItem
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= ((wxListItem
const *)arg1
)->GetFont();
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19725 wxFont
* resultptr
;
19726 resultptr
= new wxFont((wxFont
&) result
);
19727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19735 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxListItem
*arg1
= (wxListItem
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "m_mask", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 arg2
= (long) SWIG_AsLong(obj1
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19750 if (arg1
) (arg1
)->m_mask
= arg2
;
19752 Py_INCREF(Py_None
); resultobj
= Py_None
;
19759 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxListItem
*arg1
= (wxListItem
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19771 result
= (long) ((arg1
)->m_mask
);
19773 resultobj
= SWIG_FromLong((long)result
);
19780 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxListItem
*arg1
= (wxListItem
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self",(char *) "m_itemId", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19793 arg2
= (long) SWIG_AsLong(obj1
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19795 if (arg1
) (arg1
)->m_itemId
= arg2
;
19797 Py_INCREF(Py_None
); resultobj
= Py_None
;
19804 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxListItem
*arg1
= (wxListItem
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19816 result
= (long) ((arg1
)->m_itemId
);
19818 resultobj
= SWIG_FromLong((long)result
);
19825 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
;
19827 wxListItem
*arg1
= (wxListItem
*) 0 ;
19829 PyObject
* obj0
= 0 ;
19830 PyObject
* obj1
= 0 ;
19831 char *kwnames
[] = {
19832 (char *) "self",(char *) "m_col", NULL
19835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19838 arg2
= (int) SWIG_AsInt(obj1
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19840 if (arg1
) (arg1
)->m_col
= arg2
;
19842 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxListItem
*arg1
= (wxListItem
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19861 result
= (int) ((arg1
)->m_col
);
19863 resultobj
= SWIG_FromInt((int)result
);
19870 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxListItem
*arg1
= (wxListItem
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "m_state", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 arg2
= (long) SWIG_AsLong(obj1
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19885 if (arg1
) (arg1
)->m_state
= arg2
;
19887 Py_INCREF(Py_None
); resultobj
= Py_None
;
19894 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 wxListItem
*arg1
= (wxListItem
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 result
= (long) ((arg1
)->m_state
);
19908 resultobj
= SWIG_FromLong((long)result
);
19915 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxListItem
*arg1
= (wxListItem
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "m_stateMask", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 arg2
= (long) SWIG_AsLong(obj1
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19930 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19932 Py_INCREF(Py_None
); resultobj
= Py_None
;
19939 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxListItem
*arg1
= (wxListItem
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19951 result
= (long) ((arg1
)->m_stateMask
);
19953 resultobj
= SWIG_FromLong((long)result
);
19960 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxListItem
*arg1
= (wxListItem
*) 0 ;
19963 wxString
*arg2
= (wxString
*) 0 ;
19964 bool temp2
= False
;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "m_text", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 arg2
= wxString_in_helper(obj1
);
19976 if (arg2
== NULL
) SWIG_fail
;
19979 if (arg1
) (arg1
)->m_text
= *arg2
;
19981 Py_INCREF(Py_None
); resultobj
= Py_None
;
19996 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxListItem
*arg1
= (wxListItem
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 result
= (wxString
*)& ((arg1
)->m_text
);
20012 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20014 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20023 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 wxListItem
*arg1
= (wxListItem
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 PyObject
* obj1
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "m_image", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20036 arg2
= (int) SWIG_AsInt(obj1
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20038 if (arg1
) (arg1
)->m_image
= arg2
;
20040 Py_INCREF(Py_None
); resultobj
= Py_None
;
20047 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxListItem
*arg1
= (wxListItem
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 result
= (int) ((arg1
)->m_image
);
20061 resultobj
= SWIG_FromInt((int)result
);
20068 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxListItem
*arg1
= (wxListItem
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self",(char *) "m_data", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 arg2
= (long) SWIG_AsLong(obj1
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20083 if (arg1
) (arg1
)->m_data
= arg2
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxListItem
*arg1
= (wxListItem
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 result
= (long) ((arg1
)->m_data
);
20106 resultobj
= SWIG_FromLong((long)result
);
20113 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxListItem
*arg1
= (wxListItem
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "self",(char *) "m_format", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 arg2
= (int) SWIG_AsInt(obj1
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20128 if (arg1
) (arg1
)->m_format
= arg2
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxListItem
*arg1
= (wxListItem
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 result
= (int) ((arg1
)->m_format
);
20151 resultobj
= SWIG_FromInt((int)result
);
20158 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxListItem
*arg1
= (wxListItem
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "m_width", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20171 arg2
= (int) SWIG_AsInt(obj1
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20173 if (arg1
) (arg1
)->m_width
= arg2
;
20175 Py_INCREF(Py_None
); resultobj
= Py_None
;
20182 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxListItem
*arg1
= (wxListItem
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20194 result
= (int) ((arg1
)->m_width
);
20196 resultobj
= SWIG_FromInt((int)result
);
20203 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20206 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20208 return Py_BuildValue((char *)"");
20210 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
;
20212 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20213 int arg2
= (int) 0 ;
20214 wxListEvent
*result
;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "commandType",(char *) "id", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20223 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 arg2
= (int) SWIG_AsInt(obj1
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20244 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "m_code", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20257 arg2
= (int) SWIG_AsInt(obj1
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20259 if (arg1
) (arg1
)->m_code
= arg2
;
20261 Py_INCREF(Py_None
); resultobj
= Py_None
;
20268 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20280 result
= (int) ((arg1
)->m_code
);
20282 resultobj
= SWIG_FromInt((int)result
);
20289 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "m_oldItemIndex", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 arg2
= (long) SWIG_AsLong(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20304 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20306 Py_INCREF(Py_None
); resultobj
= Py_None
;
20313 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20325 result
= (long) ((arg1
)->m_oldItemIndex
);
20327 resultobj
= SWIG_FromLong((long)result
);
20334 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "m_itemIndex", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20347 arg2
= (long) SWIG_AsLong(obj1
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20349 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20351 Py_INCREF(Py_None
); resultobj
= Py_None
;
20358 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20360 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20370 result
= (long) ((arg1
)->m_itemIndex
);
20372 resultobj
= SWIG_FromLong((long)result
);
20379 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "m_col", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 arg2
= (int) SWIG_AsInt(obj1
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20394 if (arg1
) (arg1
)->m_col
= arg2
;
20396 Py_INCREF(Py_None
); resultobj
= Py_None
;
20403 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20415 result
= (int) ((arg1
)->m_col
);
20417 resultobj
= SWIG_FromInt((int)result
);
20424 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20427 wxPoint
*arg2
= (wxPoint
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "m_pointDrag", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20441 Py_INCREF(Py_None
); resultobj
= Py_None
;
20448 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20452 PyObject
* obj0
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20469 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20472 wxListItem
*result
;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 result
= (wxListItem
*)& ((arg1
)->m_item
);
20484 resultobj
= wxPyMake_wxObject(result
);
20492 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (int)(arg1
)->GetKeyCode();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_FromInt((int)result
);
20518 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (long)(arg1
)->GetIndex();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_FromLong((long)result
);
20544 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20545 PyObject
*resultobj
;
20546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (int)(arg1
)->GetColumn();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= SWIG_FromInt((int)result
);
20570 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (arg1
)->GetPoint();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 wxPoint
* resultptr
;
20591 resultptr
= new wxPoint((wxPoint
&) result
);
20592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20600 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 wxString
const &_result_ref
= (arg1
)->GetLabel();
20616 result
= (wxString
*) &_result_ref
;
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20626 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20635 static PyObject
*_wrap_ListEvent_GetText(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_GetText",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
)->GetText();
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_GetImage(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_GetImage",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();
20684 result
= (int)(arg1
)->GetImage();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_FromInt((int)result
);
20696 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (long)(arg1
)->GetData();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_FromLong((long)result
);
20722 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (long)(arg1
)->GetMask();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= SWIG_FromLong((long)result
);
20748 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20751 wxListItem
*result
;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20764 result
= (wxListItem
*) &_result_ref
;
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20777 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (long)(arg1
)->GetCacheFrom();
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_FromLong((long)result
);
20803 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20807 PyObject
* obj0
= 0 ;
20808 char *kwnames
[] = {
20809 (char *) "self", NULL
20812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (long)(arg1
)->GetCacheTo();
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_FromLong((long)result
);
20829 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20857 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self",(char *) "editCancelled", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 arg2
= (bool) SWIG_AsBool(obj1
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 (arg1
)->SetEditCanceled(arg2
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 Py_INCREF(Py_None
); resultobj
= Py_None
;
20886 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20889 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20891 return Py_BuildValue((char *)"");
20893 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 wxWindow
*arg1
= (wxWindow
*) 0 ;
20896 int arg2
= (int) -1 ;
20897 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20898 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20899 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20900 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20901 long arg5
= (long) wxLC_ICON
;
20902 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20903 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20904 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20906 wxPyListCtrl
*result
;
20909 bool temp7
= False
;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 PyObject
* obj2
= 0 ;
20913 PyObject
* obj3
= 0 ;
20914 PyObject
* obj4
= 0 ;
20915 PyObject
* obj5
= 0 ;
20916 PyObject
* obj6
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20925 arg2
= (int) SWIG_AsInt(obj1
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20941 arg5
= (long) SWIG_AsLong(obj4
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20948 if (arg6
== NULL
) {
20949 PyErr_SetString(PyExc_TypeError
,"null reference");
20955 arg7
= wxString_in_helper(obj6
);
20956 if (arg7
== NULL
) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20982 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxPyListCtrl
*result
;
20985 char *kwnames
[] = {
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21004 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21007 wxWindow
*arg2
= (wxWindow
*) 0 ;
21008 int arg3
= (int) -1 ;
21009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21013 long arg6
= (long) wxLC_ICON
;
21014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21016 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21021 bool temp8
= False
;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 PyObject
* obj2
= 0 ;
21025 PyObject
* obj3
= 0 ;
21026 PyObject
* obj4
= 0 ;
21027 PyObject
* obj5
= 0 ;
21028 PyObject
* obj6
= 0 ;
21029 PyObject
* obj7
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21040 arg3
= (int) SWIG_AsInt(obj2
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21056 arg6
= (long) SWIG_AsLong(obj5
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21063 if (arg7
== NULL
) {
21064 PyErr_SetString(PyExc_TypeError
,"null reference");
21070 arg8
= wxString_in_helper(obj7
);
21071 if (arg8
== NULL
) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21099 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21102 PyObject
*arg2
= (PyObject
*) 0 ;
21103 PyObject
*arg3
= (PyObject
*) 0 ;
21104 PyObject
* obj0
= 0 ;
21105 PyObject
* obj1
= 0 ;
21106 PyObject
* obj2
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self",(char *) "self",(char *) "_class", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 Py_INCREF(Py_None
); resultobj
= Py_None
;
21130 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21133 wxColour
*arg2
= 0 ;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self",(char *) "col", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21165 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(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_SetBackgroundColour",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
)->SetBackgroundColour((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_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21204 wxListItem
*result
;
21205 PyObject
* obj0
= 0 ;
21206 PyObject
* obj1
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self",(char *) "col", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21214 arg2
= (int) SWIG_AsInt(obj1
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= wxPyMake_wxObject(result
);
21232 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21236 wxListItem
*arg3
= 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 PyObject
* obj2
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "col",(char *) "item", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21248 arg2
= (int) SWIG_AsInt(obj1
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21250 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21253 if (arg3
== NULL
) {
21254 PyErr_SetString(PyExc_TypeError
,"null reference");
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21273 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "self",(char *) "col", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21287 arg2
= (int) SWIG_AsInt(obj1
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_FromInt((int)result
);
21303 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 PyObject
* obj1
= 0 ;
21311 PyObject
* obj2
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self",(char *) "col",(char *) "width", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21319 arg2
= (int) SWIG_AsInt(obj1
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21321 arg3
= (int) SWIG_AsInt(obj2
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21339 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= SWIG_FromInt((int)result
);
21365 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 wxRect
* resultptr
;
21386 resultptr
= new wxRect((wxRect
&) result
);
21387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21395 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21399 int arg3
= (int) 0 ;
21400 wxListItem
*result
;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 PyObject
* obj2
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "itemId",(char *) "col", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 arg2
= (long) SWIG_AsLong(obj1
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 arg3
= (int) SWIG_AsInt(obj2
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= wxPyMake_wxObject(result
);
21433 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21436 wxListItem
*arg2
= 0 ;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "info", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21450 if (arg2
== NULL
) {
21451 PyErr_SetString(PyExc_TypeError
,"null reference");
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)(arg1
)->SetItem(*arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21470 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21475 wxString
*arg4
= 0 ;
21476 int arg5
= (int) -1 ;
21478 bool temp4
= False
;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 PyObject
* obj2
= 0 ;
21482 PyObject
* obj3
= 0 ;
21483 PyObject
* obj4
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21491 arg2
= (long) SWIG_AsLong(obj1
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21493 arg3
= (int) SWIG_AsInt(obj2
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 arg4
= wxString_in_helper(obj3
);
21497 if (arg4
== NULL
) SWIG_fail
;
21501 arg5
= (int) SWIG_AsInt(obj4
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_FromLong((long)result
);
21526 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 PyObject
* obj1
= 0 ;
21534 PyObject
* obj2
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21542 arg2
= (long) SWIG_AsLong(obj1
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21544 arg3
= (long) SWIG_AsLong(obj2
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_FromInt((int)result
);
21560 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 PyObject
* obj2
= 0 ;
21570 PyObject
* obj3
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21578 arg2
= (long) SWIG_AsLong(obj1
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21580 arg3
= (long) SWIG_AsLong(obj2
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21582 arg4
= (long) SWIG_AsLong(obj3
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21600 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 PyObject
* obj2
= 0 ;
21610 PyObject
* obj3
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21618 arg2
= (long) SWIG_AsLong(obj1
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21620 arg3
= (int) SWIG_AsInt(obj2
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21622 arg4
= (int) SWIG_AsInt(obj3
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21640 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "item", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 arg2
= (long) SWIG_AsLong(obj1
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21676 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21680 wxString
*arg3
= 0 ;
21681 bool temp3
= False
;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self",(char *) "item",(char *) "str", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 arg2
= (long) SWIG_AsLong(obj1
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 arg3
= wxString_in_helper(obj2
);
21696 if (arg3
== NULL
) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 Py_INCREF(Py_None
); resultobj
= Py_None
;
21721 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "item", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21735 arg2
= (long) SWIG_AsLong(obj1
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_FromLong((long)result
);
21751 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 PyObject
* obj2
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "item",(char *) "data", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 arg2
= (long) SWIG_AsLong(obj1
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21769 arg3
= (long) SWIG_AsLong(obj2
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21787 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self",(char *) "item", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21801 arg2
= (long) SWIG_AsLong(obj1
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21811 wxPoint
* resultptr
;
21812 resultptr
= new wxPoint((wxPoint
&) result
);
21813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21821 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21825 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 PyObject
* obj2
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "item",(char *) "code", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 arg2
= (long) SWIG_AsLong(obj1
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 arg3
= (int) SWIG_AsInt(obj2
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 wxRect
* resultptr
;
21852 resultptr
= new wxRect((wxRect
&) result
);
21853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21861 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21865 wxPoint
*arg3
= 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 PyObject
* obj2
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "item",(char *) "pos", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 arg2
= (long) SWIG_AsLong(obj1
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21900 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_FromInt((int)result
);
21926 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= SWIG_FromInt((int)result
);
21952 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 wxSize
* resultptr
;
21973 resultptr
= new wxSize((wxSize
&) result
);
21974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21982 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21986 bool arg3
= (bool) False
;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 PyObject
* obj2
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21997 arg2
= (int) SWIG_AsInt(obj1
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 arg3
= (bool) SWIG_AsBool(obj2
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 (arg1
)->SetItemSpacing(arg2
,arg3
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 Py_INCREF(Py_None
); resultobj
= Py_None
;
22017 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_FromInt((int)result
);
22043 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 wxColour
* resultptr
;
22064 resultptr
= new wxColour((wxColour
&) result
);
22065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22073 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22076 wxColour
*arg2
= 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "col", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_FromLong((long)result
);
22131 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22135 bool arg3
= (bool) True
;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 PyObject
* obj2
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "self",(char *) "style",(char *) "add", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22146 arg2
= (long) SWIG_AsLong(obj1
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 arg3
= (bool) SWIG_AsBool(obj2
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetSingleStyle(arg2
,arg3
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "style", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22179 arg2
= (long) SWIG_AsLong(obj1
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 (arg1
)->SetWindowStyleFlag(arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 Py_INCREF(Py_None
); resultobj
= Py_None
;
22195 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22199 int arg3
= (int) wxLIST_NEXT_ALL
;
22200 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 PyObject
* obj2
= 0 ;
22205 PyObject
* obj3
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 arg2
= (long) SWIG_AsLong(obj1
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 arg3
= (int) SWIG_AsInt(obj2
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 arg4
= (int) SWIG_AsInt(obj3
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= SWIG_FromLong((long)result
);
22237 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22238 PyObject
*resultobj
;
22239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22241 wxImageList
*result
;
22242 PyObject
* obj0
= 0 ;
22243 PyObject
* obj1
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "which", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 arg2
= (int) SWIG_AsInt(obj1
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= wxPyMake_wxObject(result
);
22269 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22272 wxImageList
*arg2
= (wxImageList
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self",(char *) "imageList",(char *) "which", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 arg3
= (int) SWIG_AsInt(obj2
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 (arg1
)->SetImageList(arg2
,arg3
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 Py_INCREF(Py_None
); resultobj
= Py_None
;
22302 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22305 wxImageList
*arg2
= (wxImageList
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 PyObject
* obj2
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self",(char *) "imageList",(char *) "which", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22318 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22319 arg3
= (int) SWIG_AsInt(obj2
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 (arg1
)->AssignImageList(arg2
,arg3
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 Py_INCREF(Py_None
); resultobj
= Py_None
;
22335 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22339 PyObject
* obj0
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22363 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
;
22365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22367 PyObject
* obj0
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22391 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "item", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 arg2
= (long) SWIG_AsLong(obj1
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->RefreshItem(arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 Py_INCREF(Py_None
); resultobj
= Py_None
;
22420 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 PyObject
* obj2
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22435 arg2
= (long) SWIG_AsLong(obj1
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22437 arg3
= (long) SWIG_AsLong(obj2
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 (arg1
)->RefreshItems(arg2
,arg3
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 Py_INCREF(Py_None
); resultobj
= Py_None
;
22453 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
;
22455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22456 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self",(char *) "flag", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22468 arg2
= (int) SWIG_AsInt(obj1
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (bool)(arg1
)->Arrange(arg2
);
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22487 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "item", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 arg2
= (long) SWIG_AsLong(obj1
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (bool)(arg1
)->DeleteItem(arg2
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22519 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= (bool)(arg1
)->DeleteAllItems();
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22547 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 PyObject
* obj1
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self",(char *) "col", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22561 arg2
= (int) SWIG_AsInt(obj1
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22579 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= (bool)(arg1
)->DeleteAllColumns();
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22607 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 (arg1
)->ClearAll();
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22632 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self",(char *) "item", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22645 arg2
= (long) SWIG_AsLong(obj1
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->EditLabel(arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 Py_INCREF(Py_None
); resultobj
= Py_None
;
22661 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "item", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 arg2
= (long) SWIG_AsLong(obj1
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22693 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22697 wxString
*arg3
= 0 ;
22698 bool arg4
= (bool) False
;
22700 bool temp3
= False
;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 PyObject
* obj2
= 0 ;
22704 PyObject
* obj3
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22712 arg2
= (long) SWIG_AsLong(obj1
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 arg3
= wxString_in_helper(obj2
);
22716 if (arg3
== NULL
) SWIG_fail
;
22720 arg4
= (bool) SWIG_AsBool(obj3
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= SWIG_FromLong((long)result
);
22745 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self",(char *) "start",(char *) "data", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22761 arg2
= (long) SWIG_AsLong(obj1
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22763 arg3
= (long) SWIG_AsLong(obj2
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_FromLong((long)result
);
22779 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22783 wxPoint
*arg3
= 0 ;
22787 PyObject
* obj0
= 0 ;
22788 PyObject
* obj1
= 0 ;
22789 PyObject
* obj2
= 0 ;
22790 PyObject
* obj3
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 arg2
= (long) SWIG_AsLong(obj1
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22804 arg4
= (int) SWIG_AsInt(obj3
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_FromLong((long)result
);
22820 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22823 wxPoint
*arg2
= 0 ;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self",(char *) "point", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_FromLong((long)result
);
22851 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22852 resultobj
= t_output_helper(resultobj
,o
);
22860 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22863 wxListItem
*arg2
= 0 ;
22865 PyObject
* obj0
= 0 ;
22866 PyObject
* obj1
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self",(char *) "info", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22877 if (arg2
== NULL
) {
22878 PyErr_SetString(PyExc_TypeError
,"null reference");
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (long)(arg1
)->InsertItem(*arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_FromLong((long)result
);
22895 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22899 wxString
*arg3
= 0 ;
22901 bool temp3
= False
;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 PyObject
* obj2
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self",(char *) "index",(char *) "label", NULL
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22912 arg2
= (long) SWIG_AsLong(obj1
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 arg3
= wxString_in_helper(obj2
);
22916 if (arg3
== NULL
) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_FromLong((long)result
);
22941 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 PyObject
* obj1
= 0 ;
22949 PyObject
* obj2
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22957 arg2
= (long) SWIG_AsLong(obj1
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22959 arg3
= (int) SWIG_AsInt(obj2
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= SWIG_FromLong((long)result
);
22975 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22979 wxString
*arg3
= 0 ;
22982 bool temp3
= False
;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 PyObject
* obj2
= 0 ;
22986 PyObject
* obj3
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 arg2
= (long) SWIG_AsLong(obj1
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 arg3
= wxString_in_helper(obj2
);
22998 if (arg3
== NULL
) SWIG_fail
;
23001 arg4
= (int) SWIG_AsInt(obj3
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_FromLong((long)result
);
23025 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23029 wxListItem
*arg3
= 0 ;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 PyObject
* obj2
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "self",(char *) "col",(char *) "info", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 arg2
= (long) SWIG_AsLong(obj1
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23043 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23046 if (arg3
== NULL
) {
23047 PyErr_SetString(PyExc_TypeError
,"null reference");
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_FromLong((long)result
);
23064 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23068 wxString
*arg3
= 0 ;
23069 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23070 int arg5
= (int) -1 ;
23072 bool temp3
= False
;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 PyObject
* obj2
= 0 ;
23076 PyObject
* obj3
= 0 ;
23077 PyObject
* obj4
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23085 arg2
= (long) SWIG_AsLong(obj1
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 arg3
= wxString_in_helper(obj2
);
23089 if (arg3
== NULL
) SWIG_fail
;
23093 arg4
= (int) SWIG_AsInt(obj3
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23097 arg5
= (int) SWIG_AsInt(obj4
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_FromLong((long)result
);
23122 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "self",(char *) "count", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23135 arg2
= (long) SWIG_AsLong(obj1
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 (arg1
)->SetItemCount(arg2
);
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 Py_INCREF(Py_None
); resultobj
= Py_None
;
23151 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 PyObject
* obj2
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self",(char *) "dx",(char *) "dy", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 arg2
= (int) SWIG_AsInt(obj1
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23169 arg3
= (int) SWIG_AsInt(obj2
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23187 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23191 wxColour
*arg3
= 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 PyObject
* obj2
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "item",(char *) "col", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 arg2
= (long) SWIG_AsLong(obj1
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23207 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 Py_INCREF(Py_None
); resultobj
= Py_None
;
23223 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 PyObject
* obj1
= 0 ;
23230 char *kwnames
[] = {
23231 (char *) "self",(char *) "item", NULL
23234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23237 arg2
= (long) SWIG_AsLong(obj1
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23247 wxColour
* resultptr
;
23248 resultptr
= new wxColour((wxColour
&) result
);
23249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23257 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23261 wxColour
*arg3
= 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 PyObject
* obj2
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "item",(char *) "col", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23273 arg2
= (long) SWIG_AsLong(obj1
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23277 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 Py_INCREF(Py_None
); resultobj
= Py_None
;
23293 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "item", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 arg2
= (long) SWIG_AsLong(obj1
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23317 wxColour
* resultptr
;
23318 resultptr
= new wxColour((wxColour
&) result
);
23319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23327 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23330 PyObject
*arg2
= (PyObject
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self",(char *) "func", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23358 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= wxPyMake_wxObject(result
);
23386 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23389 wxVisualAttributes result
;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "variant", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23397 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23408 wxVisualAttributes
* resultptr
;
23409 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23418 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23421 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23423 return Py_BuildValue((char *)"");
23425 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxWindow
*arg1
= (wxWindow
*) 0 ;
23428 int arg2
= (int) -1 ;
23429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23433 long arg5
= (long) wxLC_REPORT
;
23434 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23435 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23436 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23438 wxListView
*result
;
23441 bool temp7
= False
;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 PyObject
* obj2
= 0 ;
23445 PyObject
* obj3
= 0 ;
23446 PyObject
* obj4
= 0 ;
23447 PyObject
* obj5
= 0 ;
23448 PyObject
* obj6
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23457 arg2
= (int) SWIG_AsInt(obj1
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23463 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23469 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23473 arg5
= (long) SWIG_AsLong(obj4
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23480 if (arg6
== NULL
) {
23481 PyErr_SetString(PyExc_TypeError
,"null reference");
23487 arg7
= wxString_in_helper(obj6
);
23488 if (arg7
== NULL
) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23514 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxListView
*result
;
23517 char *kwnames
[] = {
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (wxListView
*)new wxListView();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23536 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxListView
*arg1
= (wxListView
*) 0 ;
23539 wxWindow
*arg2
= (wxWindow
*) 0 ;
23540 int arg3
= (int) -1 ;
23541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23545 long arg6
= (long) wxLC_REPORT
;
23546 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23547 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23548 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23549 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23553 bool temp8
= False
;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 PyObject
* obj2
= 0 ;
23557 PyObject
* obj3
= 0 ;
23558 PyObject
* obj4
= 0 ;
23559 PyObject
* obj5
= 0 ;
23560 PyObject
* obj6
= 0 ;
23561 PyObject
* obj7
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23572 arg3
= (int) SWIG_AsInt(obj2
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23584 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23588 arg6
= (long) SWIG_AsLong(obj5
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23592 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23595 if (arg7
== NULL
) {
23596 PyErr_SetString(PyExc_TypeError
,"null reference");
23602 arg8
= wxString_in_helper(obj7
);
23603 if (arg8
== NULL
) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23631 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxListView
*arg1
= (wxListView
*) 0 ;
23635 bool arg3
= (bool) True
;
23636 PyObject
* obj0
= 0 ;
23637 PyObject
* obj1
= 0 ;
23638 PyObject
* obj2
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self",(char *) "n",(char *) "on", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23646 arg2
= (long) SWIG_AsLong(obj1
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 arg3
= (bool) SWIG_AsBool(obj2
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 (arg1
)->Select(arg2
,arg3
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 Py_INCREF(Py_None
); resultobj
= Py_None
;
23666 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23668 wxListView
*arg1
= (wxListView
*) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self",(char *) "index", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23679 arg2
= (long) SWIG_AsLong(obj1
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 (arg1
)->Focus(arg2
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 Py_INCREF(Py_None
); resultobj
= Py_None
;
23695 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxListView
*arg1
= (wxListView
*) 0 ;
23699 PyObject
* obj0
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= SWIG_FromLong((long)result
);
23721 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxListView
*arg1
= (wxListView
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self",(char *) "item", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 arg2
= (long) SWIG_AsLong(obj1
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= SWIG_FromLong((long)result
);
23751 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxListView
*arg1
= (wxListView
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= SWIG_FromLong((long)result
);
23777 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxListView
*arg1
= (wxListView
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self",(char *) "index", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23791 arg2
= (long) SWIG_AsLong(obj1
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)(arg1
)->IsSelected(arg2
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxListView
*arg1
= (wxListView
*) 0 ;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 PyObject
* obj2
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self",(char *) "col",(char *) "image", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23824 arg2
= (int) SWIG_AsInt(obj1
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23826 arg3
= (int) SWIG_AsInt(obj2
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 (arg1
)->SetColumnImage(arg2
,arg3
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 Py_INCREF(Py_None
); resultobj
= Py_None
;
23842 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxListView
*arg1
= (wxListView
*) 0 ;
23846 PyObject
* obj0
= 0 ;
23847 PyObject
* obj1
= 0 ;
23848 char *kwnames
[] = {
23849 (char *) "self",(char *) "col", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23855 arg2
= (int) SWIG_AsInt(obj1
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 (arg1
)->ClearColumnImage(arg2
);
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23864 Py_INCREF(Py_None
); resultobj
= Py_None
;
23871 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23874 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23876 return Py_BuildValue((char *)"");
23878 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23879 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23884 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23889 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23891 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23898 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxTreeItemId
*result
;
23901 char *kwnames
[] = {
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (wxTreeItemId
*)new wxTreeItemId();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23920 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 Py_INCREF(Py_None
); resultobj
= Py_None
;
23945 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23973 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23976 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "other", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24005 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24008 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "other", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24040 void *arg2
= (void *) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self",(char *) "m_pItem", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24051 if (arg1
) (arg1
)->m_pItem
= arg2
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 result
= (void *) ((arg1
)->m_pItem
);
24074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24081 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24084 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24086 return Py_BuildValue((char *)"");
24088 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 PyObject
*arg1
= (PyObject
*) NULL
;
24091 wxPyTreeItemData
*result
;
24092 PyObject
* obj0
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "obj", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24115 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (PyObject
*)(arg1
)->GetData();
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= result
;
24141 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24144 PyObject
*arg2
= (PyObject
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self",(char *) "obj", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 (arg1
)->SetData(arg2
);
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 Py_INCREF(Py_None
); resultobj
= Py_None
;
24169 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24172 wxTreeItemId
*result
;
24173 PyObject
* obj0
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24185 result
= (wxTreeItemId
*) &_result_ref
;
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24198 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24201 wxTreeItemId
*arg2
= 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self",(char *) "id", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24214 if (arg2
== NULL
) {
24215 PyErr_SetString(PyExc_TypeError
,"null reference");
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 Py_INCREF(Py_None
); resultobj
= Py_None
;
24232 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24235 PyObject
* obj0
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 wxPyTreeItemData_Destroy(arg1
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 Py_INCREF(Py_None
); resultobj
= Py_None
;
24257 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24260 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24262 return Py_BuildValue((char *)"");
24264 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24267 int arg2
= (int) 0 ;
24268 wxTreeEvent
*result
;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "commandType",(char *) "id", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24277 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 arg2
= (int) SWIG_AsInt(obj1
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24298 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24301 wxTreeItemId result
;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 wxTreeItemId
* resultptr
;
24319 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24328 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24331 wxTreeItemId
*arg2
= 0 ;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self",(char *) "item", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24344 if (arg2
== NULL
) {
24345 PyErr_SetString(PyExc_TypeError
,"null reference");
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 Py_INCREF(Py_None
); resultobj
= Py_None
;
24362 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24365 wxTreeItemId result
;
24366 PyObject
* obj0
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 wxTreeItemId
* resultptr
;
24383 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24392 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
;
24394 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24395 wxTreeItemId
*arg2
= 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self",(char *) "item", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24408 if (arg2
== NULL
) {
24409 PyErr_SetString(PyExc_TypeError
,"null reference");
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 Py_INCREF(Py_None
); resultobj
= Py_None
;
24426 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 wxPoint
* resultptr
;
24447 resultptr
= new wxPoint((wxPoint
&) result
);
24448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24456 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24459 wxPoint
*arg2
= 0 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self",(char *) "pt", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24491 wxKeyEvent
*result
;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24504 result
= (wxKeyEvent
*) &_result_ref
;
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24517 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_FromInt((int)result
);
24543 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24546 wxKeyEvent
*arg2
= 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "evt", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24559 if (arg2
== NULL
) {
24560 PyErr_SetString(PyExc_TypeError
,"null reference");
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 Py_INCREF(Py_None
); resultobj
= Py_None
;
24577 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
;
24579 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24581 PyObject
* obj0
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24593 result
= (wxString
*) &_result_ref
;
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24603 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24612 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24615 wxString
*arg2
= 0 ;
24616 bool temp2
= False
;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "label", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 arg2
= wxString_in_helper(obj1
);
24628 if (arg2
== NULL
) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->SetLabel((wxString
const &)*arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24653 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24681 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 char *kwnames
[] = {
24688 (char *) "self",(char *) "editCancelled", NULL
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 arg2
= (bool) SWIG_AsBool(obj1
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 (arg1
)->SetEditCanceled(arg2
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 Py_INCREF(Py_None
); resultobj
= Py_None
;
24710 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24713 wxString
*arg2
= 0 ;
24714 bool temp2
= False
;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "toolTip", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24725 arg2
= wxString_in_helper(obj1
);
24726 if (arg2
== NULL
) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24751 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24754 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24756 return Py_BuildValue((char *)"");
24758 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24760 wxWindow
*arg1
= (wxWindow
*) 0 ;
24761 int arg2
= (int) -1 ;
24762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24766 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24767 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24768 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24769 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24770 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24771 wxPyTreeCtrl
*result
;
24774 bool temp7
= False
;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 PyObject
* obj2
= 0 ;
24778 PyObject
* obj3
= 0 ;
24779 PyObject
* obj4
= 0 ;
24780 PyObject
* obj5
= 0 ;
24781 PyObject
* obj6
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 arg2
= (int) SWIG_AsInt(obj1
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24806 arg5
= (long) SWIG_AsLong(obj4
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24810 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24813 if (arg6
== NULL
) {
24814 PyErr_SetString(PyExc_TypeError
,"null reference");
24820 arg7
= wxString_in_helper(obj6
);
24821 if (arg7
== NULL
) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= wxPyMake_wxObject(result
);
24849 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxPyTreeCtrl
*result
;
24852 char *kwnames
[] = {
24856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= wxPyMake_wxObject(result
);
24873 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24876 wxWindow
*arg2
= (wxWindow
*) 0 ;
24877 int arg3
= (int) -1 ;
24878 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24879 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24880 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24881 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24882 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24883 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24884 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24885 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24886 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24890 bool temp8
= False
;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 PyObject
* obj2
= 0 ;
24894 PyObject
* obj3
= 0 ;
24895 PyObject
* obj4
= 0 ;
24896 PyObject
* obj5
= 0 ;
24897 PyObject
* obj6
= 0 ;
24898 PyObject
* obj7
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 arg3
= (int) SWIG_AsInt(obj2
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24925 arg6
= (long) SWIG_AsLong(obj5
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24929 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24932 if (arg7
== NULL
) {
24933 PyErr_SetString(PyExc_TypeError
,"null reference");
24939 arg8
= wxString_in_helper(obj7
);
24940 if (arg8
== NULL
) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24968 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24971 PyObject
*arg2
= (PyObject
*) 0 ;
24972 PyObject
*arg3
= (PyObject
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "self",(char *) "_class", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 Py_INCREF(Py_None
); resultobj
= Py_None
;
24999 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25025 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25028 unsigned int result
;
25029 PyObject
* obj0
= 0 ;
25030 char *kwnames
[] = {
25031 (char *) "self", NULL
25034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25051 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25054 unsigned int arg2
;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self",(char *) "indent", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25064 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 (arg1
)->SetIndent(arg2
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 Py_INCREF(Py_None
); resultobj
= Py_None
;
25080 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25083 unsigned int result
;
25084 PyObject
* obj0
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25099 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25106 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
;
25108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25109 unsigned int arg2
;
25110 PyObject
* obj0
= 0 ;
25111 PyObject
* obj1
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self",(char *) "spacing", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25119 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 (arg1
)->SetSpacing(arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 Py_INCREF(Py_None
); resultobj
= Py_None
;
25135 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25138 wxImageList
*result
;
25139 PyObject
* obj0
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= wxPyMake_wxObject(result
);
25163 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25166 wxImageList
*result
;
25167 PyObject
* obj0
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= wxPyMake_wxObject(result
);
25191 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25194 wxImageList
*arg2
= (wxImageList
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "imageList", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25208 (arg1
)->SetImageList(arg2
);
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 Py_INCREF(Py_None
); resultobj
= Py_None
;
25220 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25223 wxImageList
*arg2
= (wxImageList
*) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self",(char *) "imageList", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 (arg1
)->SetStateImageList(arg2
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 Py_INCREF(Py_None
); resultobj
= Py_None
;
25249 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25250 PyObject
*resultobj
;
25251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25252 wxImageList
*arg2
= (wxImageList
*) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "imageList", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25263 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->AssignImageList(arg2
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25281 wxImageList
*arg2
= (wxImageList
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "imageList", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25292 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 (arg1
)->AssignStateImageList(arg2
);
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 Py_INCREF(Py_None
); resultobj
= Py_None
;
25307 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
;
25309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25310 wxTreeItemId
*arg2
= 0 ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "self",(char *) "item", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25324 if (arg2
== NULL
) {
25325 PyErr_SetString(PyExc_TypeError
,"null reference");
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25348 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25351 wxTreeItemId
*arg2
= 0 ;
25352 int arg3
= (int) wxTreeItemIcon_Normal
;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 PyObject
* obj2
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self",(char *) "item",(char *) "which", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25367 if (arg2
== NULL
) {
25368 PyErr_SetString(PyExc_TypeError
,"null reference");
25372 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_FromInt((int)result
);
25389 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25392 wxTreeItemId
*arg2
= 0 ;
25393 wxPyTreeItemData
*result
;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "self",(char *) "item", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25406 if (arg2
== NULL
) {
25407 PyErr_SetString(PyExc_TypeError
,"null reference");
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25424 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25427 wxTreeItemId
*arg2
= 0 ;
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_GetItemPyData",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
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= result
;
25459 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(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_GetItemTextColour",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
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25488 wxColour
* resultptr
;
25489 resultptr
= new wxColour((wxColour
&) result
);
25490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25498 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25501 wxTreeItemId
*arg2
= 0 ;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self",(char *) "item", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25515 if (arg2
== NULL
) {
25516 PyErr_SetString(PyExc_TypeError
,"null reference");
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25527 wxColour
* resultptr
;
25528 resultptr
= new wxColour((wxColour
&) result
);
25529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25537 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
;
25539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25540 wxTreeItemId
*arg2
= 0 ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self",(char *) "item", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25554 if (arg2
== NULL
) {
25555 PyErr_SetString(PyExc_TypeError
,"null reference");
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25566 wxFont
* resultptr
;
25567 resultptr
= new wxFont((wxFont
&) result
);
25568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25576 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
;
25578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25579 wxTreeItemId
*arg2
= 0 ;
25580 wxString
*arg3
= 0 ;
25581 bool temp3
= False
;
25582 PyObject
* obj0
= 0 ;
25583 PyObject
* obj1
= 0 ;
25584 PyObject
* obj2
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self",(char *) "item",(char *) "text", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25595 if (arg2
== NULL
) {
25596 PyErr_SetString(PyExc_TypeError
,"null reference");
25600 arg3
= wxString_in_helper(obj2
);
25601 if (arg3
== NULL
) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 Py_INCREF(Py_None
); resultobj
= Py_None
;
25626 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25629 wxTreeItemId
*arg2
= 0 ;
25631 int arg4
= (int) wxTreeItemIcon_Normal
;
25632 PyObject
* obj0
= 0 ;
25633 PyObject
* obj1
= 0 ;
25634 PyObject
* obj2
= 0 ;
25635 PyObject
* obj3
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25646 if (arg2
== NULL
) {
25647 PyErr_SetString(PyExc_TypeError
,"null reference");
25650 arg3
= (int) SWIG_AsInt(obj2
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 Py_INCREF(Py_None
); resultobj
= Py_None
;
25670 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25673 wxTreeItemId
*arg2
= 0 ;
25674 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj1
= 0 ;
25677 PyObject
* obj2
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self",(char *) "item",(char *) "data", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25688 if (arg2
== NULL
) {
25689 PyErr_SetString(PyExc_TypeError
,"null reference");
25692 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 Py_INCREF(Py_None
); resultobj
= Py_None
;
25708 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25711 wxTreeItemId
*arg2
= 0 ;
25712 PyObject
*arg3
= (PyObject
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 PyObject
* obj2
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self",(char *) "item",(char *) "obj", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25726 if (arg2
== NULL
) {
25727 PyErr_SetString(PyExc_TypeError
,"null reference");
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 Py_INCREF(Py_None
); resultobj
= Py_None
;
25745 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25748 wxTreeItemId
*arg2
= 0 ;
25749 bool arg3
= (bool) True
;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self",(char *) "item",(char *) "has", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25763 if (arg2
== NULL
) {
25764 PyErr_SetString(PyExc_TypeError
,"null reference");
25768 arg3
= (bool) SWIG_AsBool(obj2
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25778 Py_INCREF(Py_None
); resultobj
= Py_None
;
25785 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
;
25787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25788 wxTreeItemId
*arg2
= 0 ;
25789 bool arg3
= (bool) True
;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 PyObject
* obj2
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "item",(char *) "bold", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25803 if (arg2
== NULL
) {
25804 PyErr_SetString(PyExc_TypeError
,"null reference");
25808 arg3
= (bool) SWIG_AsBool(obj2
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 Py_INCREF(Py_None
); resultobj
= Py_None
;
25825 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25828 wxTreeItemId
*arg2
= 0 ;
25829 wxColour
*arg3
= 0 ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 PyObject
* obj2
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "item",(char *) "col", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25844 if (arg2
== NULL
) {
25845 PyErr_SetString(PyExc_TypeError
,"null reference");
25850 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 Py_INCREF(Py_None
); resultobj
= Py_None
;
25866 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25869 wxTreeItemId
*arg2
= 0 ;
25870 wxColour
*arg3
= 0 ;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 PyObject
* obj2
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self",(char *) "item",(char *) "col", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25885 if (arg2
== NULL
) {
25886 PyErr_SetString(PyExc_TypeError
,"null reference");
25891 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 Py_INCREF(Py_None
); resultobj
= Py_None
;
25907 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25910 wxTreeItemId
*arg2
= 0 ;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 PyObject
* obj2
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "item",(char *) "font", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25925 if (arg2
== NULL
) {
25926 PyErr_SetString(PyExc_TypeError
,"null reference");
25929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25932 if (arg3
== NULL
) {
25933 PyErr_SetString(PyExc_TypeError
,"null reference");
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 Py_INCREF(Py_None
); resultobj
= Py_None
;
25950 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25953 wxTreeItemId
*arg2
= 0 ;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self",(char *) "item", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25967 if (arg2
== NULL
) {
25968 PyErr_SetString(PyExc_TypeError
,"null reference");
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25987 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25990 wxTreeItemId
*arg2
= 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self",(char *) "item", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26004 if (arg2
== NULL
) {
26005 PyErr_SetString(PyExc_TypeError
,"null reference");
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26024 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26027 wxTreeItemId
*arg2
= 0 ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "item", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26041 if (arg2
== NULL
) {
26042 PyErr_SetString(PyExc_TypeError
,"null reference");
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26061 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
;
26063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26064 wxTreeItemId
*arg2
= 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "item", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26078 if (arg2
== NULL
) {
26079 PyErr_SetString(PyExc_TypeError
,"null reference");
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26098 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26101 wxTreeItemId
*arg2
= 0 ;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "item", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26115 if (arg2
== NULL
) {
26116 PyErr_SetString(PyExc_TypeError
,"null reference");
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26135 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26138 wxTreeItemId
*arg2
= 0 ;
26139 bool arg3
= (bool) True
;
26141 PyObject
* obj0
= 0 ;
26142 PyObject
* obj1
= 0 ;
26143 PyObject
* obj2
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "item",(char *) "recursively", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26154 if (arg2
== NULL
) {
26155 PyErr_SetString(PyExc_TypeError
,"null reference");
26159 arg3
= (bool) SWIG_AsBool(obj2
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26176 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
;
26178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26179 wxTreeItemId result
;
26180 PyObject
* obj0
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26196 wxTreeItemId
* resultptr
;
26197 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26206 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
;
26208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26209 wxTreeItemId result
;
26210 PyObject
* obj0
= 0 ;
26211 char *kwnames
[] = {
26212 (char *) "self", NULL
26215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 wxTreeItemId
* resultptr
;
26227 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26236 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= result
;
26262 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26265 wxTreeItemId
*arg2
= 0 ;
26266 wxTreeItemId result
;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "item", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26279 if (arg2
== NULL
) {
26280 PyErr_SetString(PyExc_TypeError
,"null reference");
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26291 wxTreeItemId
* resultptr
;
26292 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26301 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26304 wxTreeItemId
*arg2
= 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "item", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26318 if (arg2
== NULL
) {
26319 PyErr_SetString(PyExc_TypeError
,"null reference");
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= result
;
26336 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26339 wxTreeItemId
*arg2
= 0 ;
26340 void *arg3
= (void *) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 PyObject
* obj2
= 0 ;
26345 char *kwnames
[] = {
26346 (char *) "self",(char *) "item",(char *) "cookie", NULL
26349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26355 if (arg2
== NULL
) {
26356 PyErr_SetString(PyExc_TypeError
,"null reference");
26359 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= result
;
26374 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
;
26376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26377 wxTreeItemId
*arg2
= 0 ;
26378 wxTreeItemId result
;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self",(char *) "item", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26391 if (arg2
== NULL
) {
26392 PyErr_SetString(PyExc_TypeError
,"null reference");
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 wxTreeItemId
* resultptr
;
26404 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26413 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26416 wxTreeItemId
*arg2
= 0 ;
26417 wxTreeItemId result
;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "item", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26430 if (arg2
== NULL
) {
26431 PyErr_SetString(PyExc_TypeError
,"null reference");
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26442 wxTreeItemId
* resultptr
;
26443 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26452 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26455 wxTreeItemId
*arg2
= 0 ;
26456 wxTreeItemId result
;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self",(char *) "item", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26469 if (arg2
== NULL
) {
26470 PyErr_SetString(PyExc_TypeError
,"null reference");
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26481 wxTreeItemId
* resultptr
;
26482 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26491 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26494 wxTreeItemId result
;
26495 PyObject
* obj0
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 wxTreeItemId
* resultptr
;
26512 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26521 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26524 wxTreeItemId
*arg2
= 0 ;
26525 wxTreeItemId result
;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self",(char *) "item", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26538 if (arg2
== NULL
) {
26539 PyErr_SetString(PyExc_TypeError
,"null reference");
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26550 wxTreeItemId
* resultptr
;
26551 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26560 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26563 wxTreeItemId
*arg2
= 0 ;
26564 wxTreeItemId result
;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self",(char *) "item", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26577 if (arg2
== NULL
) {
26578 PyErr_SetString(PyExc_TypeError
,"null reference");
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26589 wxTreeItemId
* resultptr
;
26590 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26599 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26602 wxString
*arg2
= 0 ;
26603 int arg3
= (int) -1 ;
26604 int arg4
= (int) -1 ;
26605 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26606 wxTreeItemId result
;
26607 bool temp2
= False
;
26608 PyObject
* obj0
= 0 ;
26609 PyObject
* obj1
= 0 ;
26610 PyObject
* obj2
= 0 ;
26611 PyObject
* obj3
= 0 ;
26612 PyObject
* obj4
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26621 arg2
= wxString_in_helper(obj1
);
26622 if (arg2
== NULL
) SWIG_fail
;
26626 arg3
= (int) SWIG_AsInt(obj2
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26630 arg4
= (int) SWIG_AsInt(obj3
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26645 wxTreeItemId
* resultptr
;
26646 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26663 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
;
26665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26666 wxTreeItemId
*arg2
= 0 ;
26667 wxString
*arg3
= 0 ;
26668 int arg4
= (int) -1 ;
26669 int arg5
= (int) -1 ;
26670 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26671 wxTreeItemId result
;
26672 bool temp3
= False
;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 PyObject
* obj2
= 0 ;
26676 PyObject
* obj3
= 0 ;
26677 PyObject
* obj4
= 0 ;
26678 PyObject
* obj5
= 0 ;
26679 char *kwnames
[] = {
26680 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26689 if (arg2
== NULL
) {
26690 PyErr_SetString(PyExc_TypeError
,"null reference");
26694 arg3
= wxString_in_helper(obj2
);
26695 if (arg3
== NULL
) SWIG_fail
;
26699 arg4
= (int) SWIG_AsInt(obj3
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26703 arg5
= (int) SWIG_AsInt(obj4
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26707 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26718 wxTreeItemId
* resultptr
;
26719 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26736 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26739 wxTreeItemId
*arg2
= 0 ;
26740 wxTreeItemId
*arg3
= 0 ;
26741 wxString
*arg4
= 0 ;
26742 int arg5
= (int) -1 ;
26743 int arg6
= (int) -1 ;
26744 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26745 wxTreeItemId result
;
26746 bool temp4
= False
;
26747 PyObject
* obj0
= 0 ;
26748 PyObject
* obj1
= 0 ;
26749 PyObject
* obj2
= 0 ;
26750 PyObject
* obj3
= 0 ;
26751 PyObject
* obj4
= 0 ;
26752 PyObject
* obj5
= 0 ;
26753 PyObject
* obj6
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26764 if (arg2
== NULL
) {
26765 PyErr_SetString(PyExc_TypeError
,"null reference");
26768 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26771 if (arg3
== NULL
) {
26772 PyErr_SetString(PyExc_TypeError
,"null reference");
26776 arg4
= wxString_in_helper(obj3
);
26777 if (arg4
== NULL
) SWIG_fail
;
26781 arg5
= (int) SWIG_AsInt(obj4
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 arg6
= (int) SWIG_AsInt(obj5
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26789 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26800 wxTreeItemId
* resultptr
;
26801 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26818 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
;
26820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26821 wxTreeItemId
*arg2
= 0 ;
26823 wxString
*arg4
= 0 ;
26824 int arg5
= (int) -1 ;
26825 int arg6
= (int) -1 ;
26826 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26827 wxTreeItemId result
;
26828 bool temp4
= False
;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 PyObject
* obj3
= 0 ;
26833 PyObject
* obj4
= 0 ;
26834 PyObject
* obj5
= 0 ;
26835 PyObject
* obj6
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26846 if (arg2
== NULL
) {
26847 PyErr_SetString(PyExc_TypeError
,"null reference");
26850 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 arg4
= wxString_in_helper(obj3
);
26854 if (arg4
== NULL
) SWIG_fail
;
26858 arg5
= (int) SWIG_AsInt(obj4
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26862 arg6
= (int) SWIG_AsInt(obj5
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26866 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 wxTreeItemId
* resultptr
;
26878 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26895 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26898 wxTreeItemId
*arg2
= 0 ;
26899 wxString
*arg3
= 0 ;
26900 int arg4
= (int) -1 ;
26901 int arg5
= (int) -1 ;
26902 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26903 wxTreeItemId result
;
26904 bool temp3
= False
;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 PyObject
* obj2
= 0 ;
26908 PyObject
* obj3
= 0 ;
26909 PyObject
* obj4
= 0 ;
26910 PyObject
* obj5
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26921 if (arg2
== NULL
) {
26922 PyErr_SetString(PyExc_TypeError
,"null reference");
26926 arg3
= wxString_in_helper(obj2
);
26927 if (arg3
== NULL
) SWIG_fail
;
26931 arg4
= (int) SWIG_AsInt(obj3
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 arg5
= (int) SWIG_AsInt(obj4
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26939 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 wxTreeItemId
* resultptr
;
26951 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26968 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26971 wxTreeItemId
*arg2
= 0 ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 char *kwnames
[] = {
26975 (char *) "self",(char *) "item", NULL
26978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26984 if (arg2
== NULL
) {
26985 PyErr_SetString(PyExc_TypeError
,"null reference");
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 Py_INCREF(Py_None
); resultobj
= Py_None
;
27002 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27005 wxTreeItemId
*arg2
= 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self",(char *) "item", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27018 if (arg2
== NULL
) {
27019 PyErr_SetString(PyExc_TypeError
,"null reference");
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 Py_INCREF(Py_None
); resultobj
= Py_None
;
27036 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 (arg1
)->DeleteAllItems();
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 Py_INCREF(Py_None
); resultobj
= Py_None
;
27061 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27064 wxTreeItemId
*arg2
= 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "item", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27077 if (arg2
== NULL
) {
27078 PyErr_SetString(PyExc_TypeError
,"null reference");
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 Py_INCREF(Py_None
); resultobj
= Py_None
;
27095 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27098 wxTreeItemId
*arg2
= 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self",(char *) "item", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27111 if (arg2
== NULL
) {
27112 PyErr_SetString(PyExc_TypeError
,"null reference");
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 Py_INCREF(Py_None
); resultobj
= Py_None
;
27129 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27132 wxTreeItemId
*arg2
= 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "item", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27145 if (arg2
== NULL
) {
27146 PyErr_SetString(PyExc_TypeError
,"null reference");
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 Py_INCREF(Py_None
); resultobj
= Py_None
;
27163 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27166 wxTreeItemId
*arg2
= 0 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "self",(char *) "item", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27179 if (arg2
== NULL
) {
27180 PyErr_SetString(PyExc_TypeError
,"null reference");
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 Py_INCREF(Py_None
); resultobj
= Py_None
;
27197 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27200 PyObject
* obj0
= 0 ;
27201 char *kwnames
[] = {
27202 (char *) "self", NULL
27205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27210 (arg1
)->Unselect();
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 Py_INCREF(Py_None
); resultobj
= Py_None
;
27222 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
;
27224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27225 wxTreeItemId
*arg2
= 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self",(char *) "item", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27238 if (arg2
== NULL
) {
27239 PyErr_SetString(PyExc_TypeError
,"null reference");
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 Py_INCREF(Py_None
); resultobj
= Py_None
;
27256 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27257 PyObject
*resultobj
;
27258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27259 PyObject
* obj0
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 (arg1
)->UnselectAll();
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 Py_INCREF(Py_None
); resultobj
= Py_None
;
27281 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27284 wxTreeItemId
*arg2
= 0 ;
27285 bool arg3
= (bool) True
;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 PyObject
* obj2
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self",(char *) "item",(char *) "select", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27299 if (arg2
== NULL
) {
27300 PyErr_SetString(PyExc_TypeError
,"null reference");
27304 arg3
= (bool) SWIG_AsBool(obj2
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 Py_INCREF(Py_None
); resultobj
= Py_None
;
27321 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
;
27323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27324 wxTreeItemId
*arg2
= 0 ;
27325 PyObject
* obj0
= 0 ;
27326 PyObject
* obj1
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self",(char *) "item", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27337 if (arg2
== NULL
) {
27338 PyErr_SetString(PyExc_TypeError
,"null reference");
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 Py_INCREF(Py_None
); resultobj
= Py_None
;
27355 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27358 wxTreeItemId
*arg2
= 0 ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self",(char *) "item", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27371 if (arg2
== NULL
) {
27372 PyErr_SetString(PyExc_TypeError
,"null reference");
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 Py_INCREF(Py_None
); resultobj
= Py_None
;
27389 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27392 wxTreeItemId
*arg2
= 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self",(char *) "item", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27405 if (arg2
== NULL
) {
27406 PyErr_SetString(PyExc_TypeError
,"null reference");
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 Py_INCREF(Py_None
); resultobj
= Py_None
;
27423 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27426 wxTreeItemId
*arg2
= 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "item", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27439 if (arg2
== NULL
) {
27440 PyErr_SetString(PyExc_TypeError
,"null reference");
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 Py_INCREF(Py_None
); resultobj
= Py_None
;
27457 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27460 wxTextCtrl
*result
;
27461 PyObject
* obj0
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= wxPyMake_wxObject(result
);
27485 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27488 wxTreeItemId
*arg2
= 0 ;
27489 PyObject
* obj0
= 0 ;
27490 PyObject
* obj1
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self",(char *) "item", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27501 if (arg2
== NULL
) {
27502 PyErr_SetString(PyExc_TypeError
,"null reference");
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 Py_INCREF(Py_None
); resultobj
= Py_None
;
27519 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27522 wxPoint
*arg2
= 0 ;
27524 wxTreeItemId result
;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 char *kwnames
[] = {
27530 (char *) "self",(char *) "point", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27549 wxTreeItemId
* resultptr
;
27550 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27554 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27555 resultobj
= t_output_helper(resultobj
,o
);
27563 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27566 wxTreeItemId
*arg2
= 0 ;
27567 bool arg3
= (bool) False
;
27569 PyObject
* obj0
= 0 ;
27570 PyObject
* obj1
= 0 ;
27571 PyObject
* obj2
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27582 if (arg2
== NULL
) {
27583 PyErr_SetString(PyExc_TypeError
,"null reference");
27587 arg3
= (bool) SWIG_AsBool(obj2
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= result
;
27604 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27607 wxVisualAttributes result
;
27608 PyObject
* obj0
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "variant", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27615 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 wxVisualAttributes
* resultptr
;
27627 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27636 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27639 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27641 return Py_BuildValue((char *)"");
27643 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27644 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27649 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27654 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27656 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27663 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxWindow
*arg1
= (wxWindow
*) 0 ;
27666 int arg2
= (int) (int)-1 ;
27667 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27668 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27673 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27674 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27675 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27676 int arg8
= (int) 0 ;
27677 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27678 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27679 wxGenericDirCtrl
*result
;
27680 bool temp3
= False
;
27683 bool temp7
= False
;
27684 bool temp9
= False
;
27685 PyObject
* obj0
= 0 ;
27686 PyObject
* obj1
= 0 ;
27687 PyObject
* obj2
= 0 ;
27688 PyObject
* obj3
= 0 ;
27689 PyObject
* obj4
= 0 ;
27690 PyObject
* obj5
= 0 ;
27691 PyObject
* obj6
= 0 ;
27692 PyObject
* obj7
= 0 ;
27693 PyObject
* obj8
= 0 ;
27694 char *kwnames
[] = {
27695 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27702 arg2
= (int const) SWIG_AsInt(obj1
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27707 arg3
= wxString_in_helper(obj2
);
27708 if (arg3
== NULL
) SWIG_fail
;
27715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27725 arg6
= (long) SWIG_AsLong(obj5
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27730 arg7
= wxString_in_helper(obj6
);
27731 if (arg7
== NULL
) SWIG_fail
;
27736 arg8
= (int) SWIG_AsInt(obj7
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27741 arg9
= wxString_in_helper(obj8
);
27742 if (arg9
== NULL
) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27784 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxGenericDirCtrl
*result
;
27787 char *kwnames
[] = {
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27806 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
;
27808 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27809 wxWindow
*arg2
= (wxWindow
*) 0 ;
27810 int arg3
= (int) (int)-1 ;
27811 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27812 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27813 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27814 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27815 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27816 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27817 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27818 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27819 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27820 int arg9
= (int) 0 ;
27821 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27822 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27824 bool temp4
= False
;
27827 bool temp8
= False
;
27828 bool temp10
= False
;
27829 PyObject
* obj0
= 0 ;
27830 PyObject
* obj1
= 0 ;
27831 PyObject
* obj2
= 0 ;
27832 PyObject
* obj3
= 0 ;
27833 PyObject
* obj4
= 0 ;
27834 PyObject
* obj5
= 0 ;
27835 PyObject
* obj6
= 0 ;
27836 PyObject
* obj7
= 0 ;
27837 PyObject
* obj8
= 0 ;
27838 PyObject
* obj9
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 arg3
= (int const) SWIG_AsInt(obj2
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27854 arg4
= wxString_in_helper(obj3
);
27855 if (arg4
== NULL
) SWIG_fail
;
27862 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27868 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27872 arg7
= (long) SWIG_AsLong(obj6
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27877 arg8
= wxString_in_helper(obj7
);
27878 if (arg8
== NULL
) SWIG_fail
;
27883 arg9
= (int) SWIG_AsInt(obj8
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27888 arg10
= wxString_in_helper(obj9
);
27889 if (arg10
== NULL
) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27933 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27936 wxString
*arg2
= 0 ;
27938 bool temp2
= False
;
27939 PyObject
* obj0
= 0 ;
27940 PyObject
* obj1
= 0 ;
27941 char *kwnames
[] = {
27942 (char *) "self",(char *) "path", NULL
27945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27949 arg2
= wxString_in_helper(obj1
);
27950 if (arg2
== NULL
) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27977 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28009 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28012 wxString
*arg2
= 0 ;
28013 bool temp2
= False
;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "path", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28024 arg2
= wxString_in_helper(obj1
);
28025 if (arg2
== NULL
) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 Py_INCREF(Py_None
); resultobj
= Py_None
;
28050 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
;
28052 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28054 PyObject
* obj0
= 0 ;
28055 char *kwnames
[] = {
28056 (char *) "self", NULL
28059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28082 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28086 PyObject
* obj0
= 0 ;
28087 char *kwnames
[] = {
28088 (char *) "self", NULL
28091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28096 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28114 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28117 wxString
*arg2
= 0 ;
28118 bool temp2
= False
;
28119 PyObject
* obj0
= 0 ;
28120 PyObject
* obj1
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "self",(char *) "path", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28129 arg2
= wxString_in_helper(obj1
);
28130 if (arg2
== NULL
) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->SetPath((wxString
const &)*arg2
);
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 Py_INCREF(Py_None
); resultobj
= Py_None
;
28155 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
;
28157 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28159 PyObject
* obj0
= 0 ;
28160 PyObject
* obj1
= 0 ;
28161 char *kwnames
[] = {
28162 (char *) "self",(char *) "show", NULL
28165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28168 arg2
= (bool) SWIG_AsBool(obj1
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 (arg1
)->ShowHidden(arg2
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 Py_INCREF(Py_None
); resultobj
= Py_None
;
28184 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
;
28186 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28188 PyObject
* obj0
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 result
= (bool)(arg1
)->GetShowHidden();
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28212 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28216 PyObject
* obj0
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28244 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28247 wxString
*arg2
= 0 ;
28248 bool temp2
= False
;
28249 PyObject
* obj0
= 0 ;
28250 PyObject
* obj1
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self",(char *) "filter", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28259 arg2
= wxString_in_helper(obj1
);
28260 if (arg2
== NULL
) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 (arg1
)->SetFilter((wxString
const &)*arg2
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 Py_INCREF(Py_None
); resultobj
= Py_None
;
28285 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "self", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= SWIG_FromInt((int)result
);
28311 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28315 PyObject
* obj0
= 0 ;
28316 PyObject
* obj1
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "self",(char *) "n", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28324 arg2
= (int) SWIG_AsInt(obj1
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 (arg1
)->SetFilterIndex(arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 Py_INCREF(Py_None
); resultobj
= Py_None
;
28340 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28343 wxTreeItemId result
;
28344 PyObject
* obj0
= 0 ;
28345 char *kwnames
[] = {
28346 (char *) "self", NULL
28349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 result
= (arg1
)->GetRootId();
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28360 wxTreeItemId
* resultptr
;
28361 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28370 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28373 wxPyTreeCtrl
*result
;
28374 PyObject
* obj0
= 0 ;
28375 char *kwnames
[] = {
28376 (char *) "self", NULL
28379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= wxPyMake_wxObject(result
);
28398 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28401 wxDirFilterListCtrl
*result
;
28402 PyObject
* obj0
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28424 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28427 wxTreeItemId arg2
;
28428 wxString
*arg3
= 0 ;
28430 wxTreeItemId result
;
28431 wxTreeItemId
*argp2
;
28432 bool temp3
= False
;
28434 PyObject
* obj0
= 0 ;
28435 PyObject
* obj1
= 0 ;
28436 PyObject
* obj2
= 0 ;
28437 char *kwnames
[] = {
28438 (char *) "self",(char *) "parentId",(char *) "path", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28445 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28446 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28449 arg3
= wxString_in_helper(obj2
);
28450 if (arg3
== NULL
) SWIG_fail
;
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 wxTreeItemId
* resultptr
;
28462 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28466 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28467 resultobj
= t_output_helper(resultobj
,o
);
28483 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->DoResize();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 Py_INCREF(Py_None
); resultobj
= Py_None
;
28508 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28511 PyObject
* obj0
= 0 ;
28512 char *kwnames
[] = {
28513 (char *) "self", NULL
28516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 (arg1
)->ReCreateTree();
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 Py_INCREF(Py_None
); resultobj
= Py_None
;
28533 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28536 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28538 return Py_BuildValue((char *)"");
28540 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28543 int arg2
= (int) (int)-1 ;
28544 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28545 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28546 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28547 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28548 long arg5
= (long) 0 ;
28549 wxDirFilterListCtrl
*result
;
28552 PyObject
* obj0
= 0 ;
28553 PyObject
* obj1
= 0 ;
28554 PyObject
* obj2
= 0 ;
28555 PyObject
* obj3
= 0 ;
28556 PyObject
* obj4
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28565 arg2
= (int const) SWIG_AsInt(obj1
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28577 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28581 arg5
= (long) SWIG_AsLong(obj4
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28598 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
;
28600 wxDirFilterListCtrl
*result
;
28601 char *kwnames
[] = {
28605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28620 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28623 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28624 int arg3
= (int) (int)-1 ;
28625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28629 long arg6
= (long) 0 ;
28633 PyObject
* obj0
= 0 ;
28634 PyObject
* obj1
= 0 ;
28635 PyObject
* obj2
= 0 ;
28636 PyObject
* obj3
= 0 ;
28637 PyObject
* obj4
= 0 ;
28638 PyObject
* obj5
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28649 arg3
= (int const) SWIG_AsInt(obj2
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28655 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28661 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28665 arg6
= (long) SWIG_AsLong(obj5
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28684 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28687 wxString
*arg2
= 0 ;
28689 bool temp2
= False
;
28690 PyObject
* obj0
= 0 ;
28691 PyObject
* obj1
= 0 ;
28692 PyObject
* obj2
= 0 ;
28693 char *kwnames
[] = {
28694 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28701 arg2
= wxString_in_helper(obj1
);
28702 if (arg2
== NULL
) SWIG_fail
;
28705 arg3
= (int) SWIG_AsInt(obj2
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28714 Py_INCREF(Py_None
); resultobj
= Py_None
;
28729 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28732 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28734 return Py_BuildValue((char *)"");
28736 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxWindow
*arg1
= (wxWindow
*) 0 ;
28740 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28741 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28742 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28743 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28744 long arg5
= (long) 0 ;
28745 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28746 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28747 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28748 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28749 wxPyControl
*result
;
28752 bool temp7
= False
;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 PyObject
* obj2
= 0 ;
28756 PyObject
* obj3
= 0 ;
28757 PyObject
* obj4
= 0 ;
28758 PyObject
* obj5
= 0 ;
28759 PyObject
* obj6
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28767 arg2
= (int const) SWIG_AsInt(obj1
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28778 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28782 arg5
= (long) SWIG_AsLong(obj4
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28789 if (arg6
== NULL
) {
28790 PyErr_SetString(PyExc_TypeError
,"null reference");
28796 arg7
= wxString_in_helper(obj6
);
28797 if (arg7
== NULL
) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28823 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxPyControl
*result
;
28826 char *kwnames
[] = {
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= (wxPyControl
*)new wxPyControl();
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28845 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28847 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28848 PyObject
*arg2
= (PyObject
*) 0 ;
28849 PyObject
*arg3
= (PyObject
*) 0 ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 PyObject
* obj2
= 0 ;
28853 char *kwnames
[] = {
28854 (char *) "self",(char *) "self",(char *) "_class", NULL
28857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28876 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
;
28878 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 PyObject
* obj2
= 0 ;
28886 PyObject
* obj3
= 0 ;
28887 PyObject
* obj4
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 arg2
= (int) SWIG_AsInt(obj1
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28897 arg3
= (int) SWIG_AsInt(obj2
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28899 arg4
= (int) SWIG_AsInt(obj3
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28901 arg5
= (int) SWIG_AsInt(obj4
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 Py_INCREF(Py_None
); resultobj
= Py_None
;
28917 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
;
28919 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28924 int arg6
= (int) wxSIZE_AUTO
;
28925 PyObject
* obj0
= 0 ;
28926 PyObject
* obj1
= 0 ;
28927 PyObject
* obj2
= 0 ;
28928 PyObject
* obj3
= 0 ;
28929 PyObject
* obj4
= 0 ;
28930 PyObject
* obj5
= 0 ;
28931 char *kwnames
[] = {
28932 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28938 arg2
= (int) SWIG_AsInt(obj1
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28940 arg3
= (int) SWIG_AsInt(obj2
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28942 arg4
= (int) SWIG_AsInt(obj3
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28944 arg5
= (int) SWIG_AsInt(obj4
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 arg6
= (int) SWIG_AsInt(obj5
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 Py_INCREF(Py_None
); resultobj
= Py_None
;
28964 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
;
28966 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28969 PyObject
* obj0
= 0 ;
28970 PyObject
* obj1
= 0 ;
28971 PyObject
* obj2
= 0 ;
28972 char *kwnames
[] = {
28973 (char *) "self",(char *) "width",(char *) "height", NULL
28976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28979 arg2
= (int) SWIG_AsInt(obj1
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28981 arg3
= (int) SWIG_AsInt(obj2
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 Py_INCREF(Py_None
); resultobj
= Py_None
;
28997 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28998 PyObject
*resultobj
;
28999 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29002 PyObject
* obj0
= 0 ;
29003 PyObject
* obj1
= 0 ;
29004 PyObject
* obj2
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self",(char *) "x",(char *) "y", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29012 arg2
= (int) SWIG_AsInt(obj1
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29014 arg3
= (int) SWIG_AsInt(obj2
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 Py_INCREF(Py_None
); resultobj
= Py_None
;
29030 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
;
29032 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29033 int *arg2
= (int *) 0 ;
29034 int *arg3
= (int *) 0 ;
29037 PyObject
* obj0
= 0 ;
29038 char *kwnames
[] = {
29039 (char *) "self", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29049 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 Py_INCREF(Py_None
); resultobj
= Py_None
;
29056 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29057 resultobj
= t_output_helper(resultobj
,o
);
29060 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29061 resultobj
= t_output_helper(resultobj
,o
);
29069 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29072 int *arg2
= (int *) 0 ;
29073 int *arg3
= (int *) 0 ;
29076 PyObject
* obj0
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "self", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 Py_INCREF(Py_None
); resultobj
= Py_None
;
29095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29096 resultobj
= t_output_helper(resultobj
,o
);
29099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29100 resultobj
= t_output_helper(resultobj
,o
);
29108 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29111 int *arg2
= (int *) 0 ;
29112 int *arg3
= (int *) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self", NULL
29122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29129 wxPyEndAllowThreads(__tstate
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29132 Py_INCREF(Py_None
); resultobj
= Py_None
;
29134 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29135 resultobj
= t_output_helper(resultobj
,o
);
29138 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29139 resultobj
= t_output_helper(resultobj
,o
);
29147 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29151 PyObject
* obj0
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29167 wxSize
* resultptr
;
29168 resultptr
= new wxSize((wxSize
&) result
);
29169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29177 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29181 PyObject
* obj0
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29197 wxSize
* resultptr
;
29198 resultptr
= new wxSize((wxSize
&) result
);
29199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29207 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29210 PyObject
* obj0
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 (arg1
)->base_InitDialog();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 Py_INCREF(Py_None
); resultobj
= Py_None
;
29232 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29236 PyObject
* obj0
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (bool)(arg1
)->base_TransferDataToWindow();
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29260 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
;
29262 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29264 PyObject
* obj0
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29288 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
;
29290 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29292 PyObject
* obj0
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 result
= (bool)(arg1
)->base_Validate();
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29316 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
;
29318 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "self", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29344 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29372 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29373 PyObject
*resultobj
;
29374 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29392 wxSize
* resultptr
;
29393 resultptr
= new wxSize((wxSize
&) result
);
29394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29402 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29405 wxWindow
*arg2
= (wxWindow
*) 0 ;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "self",(char *) "child", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 (arg1
)->base_AddChild(arg2
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 Py_INCREF(Py_None
); resultobj
= Py_None
;
29431 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
;
29433 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29434 wxWindow
*arg2
= (wxWindow
*) 0 ;
29435 PyObject
* obj0
= 0 ;
29436 PyObject
* obj1
= 0 ;
29437 char *kwnames
[] = {
29438 (char *) "self",(char *) "child", NULL
29441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 (arg1
)->base_RemoveChild(arg2
);
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29453 Py_INCREF(Py_None
); resultobj
= Py_None
;
29460 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
;
29462 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29464 PyObject
* obj0
= 0 ;
29465 char *kwnames
[] = {
29466 (char *) "self", NULL
29469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (bool)(arg1
)->base_ShouldInheritColours();
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29488 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
;
29490 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29491 wxColour
*arg2
= 0 ;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 char *kwnames
[] = {
29496 (char *) "self",(char *) "c", NULL
29499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29504 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 Py_INCREF(Py_None
); resultobj
= Py_None
;
29520 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29523 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29525 return Py_BuildValue((char *)"");
29527 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29530 int arg2
= (int) 0 ;
29531 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29532 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29533 wxHelpEvent
*result
;
29535 PyObject
* obj0
= 0 ;
29536 PyObject
* obj1
= 0 ;
29537 PyObject
* obj2
= 0 ;
29538 char *kwnames
[] = {
29539 (char *) "type",(char *) "winid",(char *) "pt", NULL
29542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29544 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 arg2
= (int) SWIG_AsInt(obj1
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29571 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29572 PyObject
*resultobj
;
29573 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29575 PyObject
* obj0
= 0 ;
29576 char *kwnames
[] = {
29577 (char *) "self", NULL
29580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29585 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29587 wxPyEndAllowThreads(__tstate
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29591 wxPoint
* resultptr
;
29592 resultptr
= new wxPoint((wxPoint
&) result
);
29593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29601 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29602 PyObject
*resultobj
;
29603 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29604 wxPoint
*arg2
= 0 ;
29606 PyObject
* obj0
= 0 ;
29607 PyObject
* obj1
= 0 ;
29608 char *kwnames
[] = {
29609 (char *) "self",(char *) "pos", NULL
29612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 Py_INCREF(Py_None
); resultobj
= Py_None
;
29633 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29634 PyObject
*resultobj
;
29635 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29637 PyObject
* obj0
= 0 ;
29638 char *kwnames
[] = {
29639 (char *) "self", NULL
29642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29649 result
= (wxString
*) &_result_ref
;
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29659 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29668 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29669 PyObject
*resultobj
;
29670 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29671 wxString
*arg2
= 0 ;
29672 bool temp2
= False
;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char *kwnames
[] = {
29676 (char *) "self",(char *) "link", NULL
29679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29683 arg2
= wxString_in_helper(obj1
);
29684 if (arg2
== NULL
) SWIG_fail
;
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 (arg1
)->SetLink((wxString
const &)*arg2
);
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 Py_INCREF(Py_None
); resultobj
= Py_None
;
29709 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
;
29711 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29713 PyObject
* obj0
= 0 ;
29714 char *kwnames
[] = {
29715 (char *) "self", NULL
29718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29725 result
= (wxString
*) &_result_ref
;
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29735 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29744 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29747 wxString
*arg2
= 0 ;
29748 bool temp2
= False
;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 char *kwnames
[] = {
29752 (char *) "self",(char *) "target", NULL
29755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29759 arg2
= wxString_in_helper(obj1
);
29760 if (arg2
== NULL
) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 (arg1
)->SetTarget((wxString
const &)*arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 Py_INCREF(Py_None
); resultobj
= Py_None
;
29785 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29788 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29790 return Py_BuildValue((char *)"");
29792 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxWindow
*arg1
= (wxWindow
*) NULL
;
29795 bool arg2
= (bool) True
;
29796 wxContextHelp
*result
;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "window",(char *) "doNow", NULL
29803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 arg2
= (bool) SWIG_AsBool(obj1
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29826 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29829 PyObject
* obj0
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 Py_INCREF(Py_None
); resultobj
= Py_None
;
29851 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29854 wxWindow
*arg2
= (wxWindow
*) NULL
;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "self",(char *) "window", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29885 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 char *kwnames
[] = {
29891 (char *) "self", NULL
29894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (bool)(arg1
)->EndContextHelp();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29913 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29916 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29918 return Py_BuildValue((char *)"");
29920 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
;
29922 wxWindow
*arg1
= (wxWindow
*) 0 ;
29923 int arg2
= (int) wxID_CONTEXT_HELP
;
29924 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29925 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29926 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29927 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29928 long arg5
= (long) wxBU_AUTODRAW
;
29929 wxContextHelpButton
*result
;
29932 PyObject
* obj0
= 0 ;
29933 PyObject
* obj1
= 0 ;
29934 PyObject
* obj2
= 0 ;
29935 PyObject
* obj3
= 0 ;
29936 PyObject
* obj4
= 0 ;
29937 char *kwnames
[] = {
29938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29945 arg2
= (int) SWIG_AsInt(obj1
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29957 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29961 arg5
= (long) SWIG_AsLong(obj4
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29978 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29981 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29983 return Py_BuildValue((char *)"");
29985 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29988 wxHelpProvider
*result
;
29989 PyObject
* obj0
= 0 ;
29990 char *kwnames
[] = {
29991 (char *) "helpProvider", NULL
29994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30011 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
;
30013 wxHelpProvider
*result
;
30014 char *kwnames
[] = {
30018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30033 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30036 wxWindow
*arg2
= (wxWindow
*) 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "window", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30069 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
;
30071 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30072 wxWindow
*arg2
= (wxWindow
*) 0 ;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 char *kwnames
[] = {
30077 (char *) "self",(char *) "window", NULL
30080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)(arg1
)->ShowHelp(arg2
);
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30101 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
;
30103 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30104 wxWindow
*arg2
= (wxWindow
*) 0 ;
30105 wxString
*arg3
= 0 ;
30106 bool temp3
= False
;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 PyObject
* obj2
= 0 ;
30110 char *kwnames
[] = {
30111 (char *) "self",(char *) "window",(char *) "text", NULL
30114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30120 arg3
= wxString_in_helper(obj2
);
30121 if (arg3
== NULL
) SWIG_fail
;
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30131 Py_INCREF(Py_None
); resultobj
= Py_None
;
30146 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
;
30148 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30150 wxString
*arg3
= 0 ;
30151 bool temp3
= False
;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 PyObject
* obj2
= 0 ;
30155 char *kwnames
[] = {
30156 (char *) "self",(char *) "id",(char *) "text", NULL
30159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30162 arg2
= (int) SWIG_AsInt(obj1
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 arg3
= wxString_in_helper(obj2
);
30166 if (arg3
== NULL
) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 Py_INCREF(Py_None
); resultobj
= Py_None
;
30191 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30194 wxWindow
*arg2
= (wxWindow
*) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 char *kwnames
[] = {
30198 (char *) "self",(char *) "window", NULL
30201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 (arg1
)->RemoveHelp(arg2
);
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 Py_INCREF(Py_None
); resultobj
= Py_None
;
30220 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30223 PyObject
* obj0
= 0 ;
30224 char *kwnames
[] = {
30225 (char *) "self", NULL
30228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30233 wxHelpProvider_Destroy(arg1
);
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 Py_INCREF(Py_None
); resultobj
= Py_None
;
30245 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30248 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30250 return Py_BuildValue((char *)"");
30252 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
;
30254 wxSimpleHelpProvider
*result
;
30255 char *kwnames
[] = {
30259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30274 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30277 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30279 return Py_BuildValue((char *)"");
30281 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
;
30283 wxBitmap
*arg1
= 0 ;
30284 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30285 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30286 wxGenericDragImage
*result
;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "image",(char *) "cursor", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30297 if (arg1
== NULL
) {
30298 PyErr_SetString(PyExc_TypeError
,"null reference");
30302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30305 if (arg2
== NULL
) {
30306 PyErr_SetString(PyExc_TypeError
,"null reference");
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30324 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30327 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30328 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30329 wxGenericDragImage
*result
;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 char *kwnames
[] = {
30333 (char *) "image",(char *) "cursor", NULL
30336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30340 if (arg1
== NULL
) {
30341 PyErr_SetString(PyExc_TypeError
,"null reference");
30345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30348 if (arg2
== NULL
) {
30349 PyErr_SetString(PyExc_TypeError
,"null reference");
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30367 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
;
30369 wxString
*arg1
= 0 ;
30370 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30371 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30372 wxGenericDragImage
*result
;
30373 bool temp1
= False
;
30374 PyObject
* obj0
= 0 ;
30375 PyObject
* obj1
= 0 ;
30376 char *kwnames
[] = {
30377 (char *) "str",(char *) "cursor", NULL
30380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30382 arg1
= wxString_in_helper(obj0
);
30383 if (arg1
== NULL
) SWIG_fail
;
30387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30390 if (arg2
== NULL
) {
30391 PyErr_SetString(PyExc_TypeError
,"null reference");
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30417 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxPyTreeCtrl
*arg1
= 0 ;
30420 wxTreeItemId
*arg2
= 0 ;
30421 wxGenericDragImage
*result
;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "treeCtrl",(char *) "id", NULL
30428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30432 if (arg1
== NULL
) {
30433 PyErr_SetString(PyExc_TypeError
,"null reference");
30436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30439 if (arg2
== NULL
) {
30440 PyErr_SetString(PyExc_TypeError
,"null reference");
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30457 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
;
30459 wxPyListCtrl
*arg1
= 0 ;
30461 wxGenericDragImage
*result
;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "listCtrl",(char *) "id", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30472 if (arg1
== NULL
) {
30473 PyErr_SetString(PyExc_TypeError
,"null reference");
30476 arg2
= (long) SWIG_AsLong(obj1
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30480 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30492 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30495 PyObject
* obj0
= 0 ;
30496 char *kwnames
[] = {
30497 (char *) "self", NULL
30500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 Py_INCREF(Py_None
); resultobj
= Py_None
;
30517 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
;
30519 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30520 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self",(char *) "bitmap", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 (arg1
)->SetBackingBitmap(arg2
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 Py_INCREF(Py_None
); resultobj
= Py_None
;
30546 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30549 wxPoint
*arg2
= 0 ;
30550 wxWindow
*arg3
= (wxWindow
*) 0 ;
30551 bool arg4
= (bool) False
;
30552 wxRect
*arg5
= (wxRect
*) NULL
;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 PyObject
* obj2
= 0 ;
30558 PyObject
* obj3
= 0 ;
30559 PyObject
* obj4
= 0 ;
30560 char *kwnames
[] = {
30561 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30571 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30574 arg4
= (bool) SWIG_AsBool(obj3
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30578 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30597 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30598 PyObject
*resultobj
;
30599 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30600 wxPoint
*arg2
= 0 ;
30601 wxWindow
*arg3
= (wxWindow
*) 0 ;
30602 wxWindow
*arg4
= (wxWindow
*) 0 ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 PyObject
* obj2
= 0 ;
30608 PyObject
* obj3
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30620 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30622 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30640 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
;
30642 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30644 PyObject
* obj0
= 0 ;
30645 char *kwnames
[] = {
30646 (char *) "self", NULL
30649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 result
= (bool)(arg1
)->EndDrag();
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30668 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30671 wxPoint
*arg2
= 0 ;
30674 PyObject
* obj0
= 0 ;
30675 PyObject
* obj1
= 0 ;
30676 char *kwnames
[] = {
30677 (char *) "self",(char *) "pt", NULL
30680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30703 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30704 PyObject
*resultobj
;
30705 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30707 PyObject
* obj0
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 result
= (bool)(arg1
)->Show();
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30731 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= (bool)(arg1
)->Hide();
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30759 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30762 wxPoint
*arg2
= 0 ;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 char *kwnames
[] = {
30768 (char *) "self",(char *) "pos", NULL
30771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30786 wxRect
* resultptr
;
30787 resultptr
= new wxRect((wxRect
&) result
);
30788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30796 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30800 wxPoint
*arg3
= 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 PyObject
* obj2
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self",(char *) "dc",(char *) "pos", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30816 if (arg2
== NULL
) {
30817 PyErr_SetString(PyExc_TypeError
,"null reference");
30822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30840 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30844 wxMemoryDC
*arg3
= 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 PyObject
* obj2
= 0 ;
30853 PyObject
* obj3
= 0 ;
30854 PyObject
* obj4
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30865 if (arg2
== NULL
) {
30866 PyErr_SetString(PyExc_TypeError
,"null reference");
30869 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30872 if (arg3
== NULL
) {
30873 PyErr_SetString(PyExc_TypeError
,"null reference");
30878 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30882 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30900 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
;
30902 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30903 wxPoint
*arg2
= 0 ;
30904 wxPoint
*arg3
= 0 ;
30910 PyObject
* obj0
= 0 ;
30911 PyObject
* obj1
= 0 ;
30912 PyObject
* obj2
= 0 ;
30913 PyObject
* obj3
= 0 ;
30914 PyObject
* obj4
= 0 ;
30915 char *kwnames
[] = {
30916 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30924 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30928 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30930 arg4
= (bool) SWIG_AsBool(obj3
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30932 arg5
= (bool) SWIG_AsBool(obj4
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30950 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30953 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30955 return Py_BuildValue((char *)"");
30957 static PyMethodDef SwigMethods
[] = {
30958 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30965 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30980 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30992 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31000 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31021 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31035 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31040 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31047 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31052 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31060 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31083 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31092 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31093 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31122 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31177 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31182 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31194 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31207 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31219 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31223 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31241 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31248 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31274 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31282 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31303 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31309 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31319 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31321 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31326 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31328 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31333 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31338 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31368 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31413 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31419 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31431 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31483 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31510 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31581 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31593 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31601 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31608 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31624 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31699 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31721 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31726 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31750 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31758 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31763 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31765 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31774 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31776 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31798 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31800 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31801 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31803 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31804 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31806 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31807 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31809 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31810 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31812 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31813 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31815 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31816 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31818 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31819 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31821 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31822 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31824 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31825 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31827 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31828 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31830 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31831 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31833 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31834 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31836 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31837 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31839 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31840 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31842 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31843 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31845 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31846 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31848 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31849 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31851 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31852 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31854 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31857 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31858 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31860 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31861 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31863 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31864 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31866 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31867 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31869 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31870 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31872 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31873 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31875 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31876 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31878 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31881 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31882 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31884 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31887 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31888 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31890 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31891 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31893 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31894 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31896 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31897 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31899 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31900 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31902 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31903 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31905 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31906 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31908 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31909 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31911 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31914 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31915 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31917 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31918 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31920 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31921 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31923 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31924 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31926 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31927 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31929 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31930 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31932 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31933 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31935 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31936 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31938 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31939 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31941 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31944 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31947 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31948 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31950 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31951 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31953 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31954 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31956 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31957 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31959 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31960 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31962 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31963 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31965 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31966 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31968 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31969 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31971 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31972 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31974 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31975 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31977 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31978 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31980 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31981 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31983 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31984 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31986 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31987 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31989 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31990 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31992 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31993 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31995 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31996 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31998 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31999 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32001 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32002 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32004 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32005 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32007 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32008 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32010 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32011 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32013 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32014 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32016 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32017 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32019 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32020 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32022 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32023 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32025 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32026 return (void *)((wxControl
*) ((wxGauge
*) x
));
32028 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32029 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32031 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32032 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32034 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32035 return (void *)((wxControl
*) ((wxButton
*) x
));
32037 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32038 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32040 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32041 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32043 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32044 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32046 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32047 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32049 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32050 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32052 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32053 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32055 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32056 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32058 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32059 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32061 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32062 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32064 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32065 return (void *)((wxControl
*) ((wxSlider
*) x
));
32067 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32068 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32070 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32071 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32073 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32074 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32076 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32077 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32079 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32080 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32082 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32083 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32085 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32086 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32088 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32089 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32091 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32092 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32094 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32095 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32097 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32098 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32100 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32101 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32103 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32106 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32107 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32109 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32110 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32112 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32113 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32115 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32118 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32119 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32121 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32124 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32127 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32128 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32130 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32131 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32133 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32136 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32139 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32142 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32145 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32148 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32149 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32151 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32154 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32157 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32160 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32163 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32166 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32169 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32172 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32175 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32178 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32181 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32184 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32187 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32190 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32193 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32196 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32199 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32202 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32205 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32208 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32211 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32214 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32217 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32220 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32223 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32224 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32226 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32227 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32229 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32230 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32232 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32233 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32235 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32236 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32238 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32239 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32241 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32242 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32244 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32247 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32250 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32253 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32256 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32259 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32262 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32265 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32268 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32271 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32272 return (void *)((wxObject
*) ((wxSizer
*) x
));
32274 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32275 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32277 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32280 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32283 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32286 static void *_p_wxEventTo_p_wxObject(void *x
) {
32287 return (void *)((wxObject
*) ((wxEvent
*) x
));
32289 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32290 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32292 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32293 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32295 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32296 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32298 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32301 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32304 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32307 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32308 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32310 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32311 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32313 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32314 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32316 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32317 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32319 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32320 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32322 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32323 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32325 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32328 static void *_p_wxControlTo_p_wxObject(void *x
) {
32329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32331 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32334 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32337 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32340 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32343 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32346 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32347 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32349 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32352 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32353 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32355 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32356 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32358 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32361 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32364 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32367 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32368 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32370 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32373 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32376 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32377 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32379 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32382 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32385 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32386 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32388 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32389 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32391 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32394 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32395 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32397 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32398 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32400 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32401 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32403 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32404 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32406 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32407 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32409 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32410 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32412 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32415 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32416 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32418 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32421 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32422 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32424 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32425 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32427 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32428 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32430 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32433 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32436 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32437 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32439 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32440 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32442 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32443 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32445 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32448 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32449 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32451 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32454 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32455 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32457 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32460 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32463 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32466 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32469 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32472 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32475 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32478 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32481 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32484 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32487 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32490 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32493 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32496 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) ((wxListItem
*) x
));
32499 static void *_p_wxImageTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) ((wxImage
*) x
));
32502 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32505 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32508 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32511 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32514 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32517 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32520 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32523 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32526 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32529 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32532 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32535 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32538 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32541 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32544 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32547 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32550 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32553 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32556 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32559 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32562 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32565 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32568 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32571 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32574 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32577 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32580 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32583 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32586 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32589 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32592 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32595 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32598 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32601 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32602 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32604 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32605 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32607 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32608 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32610 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32611 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32613 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32614 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32616 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32617 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32619 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32620 return (void *)((wxWindow
*) ((wxControl
*) x
));
32622 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32623 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32625 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32626 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32628 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32629 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32631 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32632 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32634 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32635 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32637 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32638 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32640 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32641 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32643 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32644 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32646 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32647 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32649 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32650 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32652 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32653 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32655 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32656 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32658 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32659 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32661 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32662 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32664 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32665 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32667 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32668 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32670 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32671 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32673 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32674 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32676 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32677 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32679 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32680 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32682 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32683 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32685 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32686 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32688 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32689 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32691 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32692 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32694 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32695 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32697 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32698 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32700 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32701 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32703 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32704 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32706 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32707 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32709 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32710 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32712 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32713 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32715 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32716 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32718 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32719 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32721 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32722 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32724 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32725 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32727 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32728 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32730 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32731 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32733 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32734 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32736 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32737 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32739 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32740 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32742 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32743 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32745 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32746 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32748 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32749 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32751 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32752 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32754 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32755 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32757 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32758 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32760 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32761 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32763 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32764 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32766 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32767 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32769 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}};
32770 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}};
32771 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}};
32772 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}};
32773 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}};
32774 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}};
32775 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}};
32776 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}};
32777 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}};
32778 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}};
32779 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}};
32780 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}};
32781 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}};
32782 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}};
32783 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}};
32784 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}};
32785 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}};
32786 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}};
32787 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}};
32788 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}};
32789 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}};
32790 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}};
32791 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}};
32792 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}};
32793 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}};
32794 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}};
32795 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}};
32796 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}};
32797 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}};
32798 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}};
32799 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}};
32800 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}};
32801 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}};
32802 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}};
32803 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}};
32804 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}};
32805 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}};
32806 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}};
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 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}};
32827 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}};
32828 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}};
32829 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}};
32830 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}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32855 static swig_type_info
*swig_types_initial
[] = {
32856 _swigt__p_wxTextUrlEvent
,
32857 _swigt__p_wxBookCtrlEvent
,
32859 _swigt__p_wxCheckBox
,
32860 _swigt__p_wxPyTreeCtrl
,
32862 _swigt__p_wxGenericDirCtrl
,
32864 _swigt__p_wxPyTreeItemData
,
32865 _swigt__p_wxItemContainer
,
32866 _swigt__p_wxPyListCtrl
,
32867 _swigt__p_wxDirFilterListCtrl
,
32868 _swigt__p_wxStaticLine
,
32869 _swigt__p_wxControl
,
32870 _swigt__p_wxPyControl
,
32872 _swigt__p_wxToolBarBase
,
32874 _swigt__p_wxToggleButton
,
32875 _swigt__p_wxRadioButton
,
32876 _swigt__p_wxChoice
,
32877 _swigt__p_wxMemoryDC
,
32878 _swigt__p_wxListItemAttr
,
32883 _swigt__p_wxListView
,
32885 _swigt__p_wxVisualAttributes
,
32886 _swigt__p_wxTextCtrl
,
32887 _swigt__p_wxNotebook
,
32888 _swigt__p_wxNotifyEvent
,
32889 _swigt__p_wxArrayString
,
32890 _swigt__p_wxListbook
,
32891 _swigt__p_wxStaticBitmap
,
32892 _swigt__p_wxSlider
,
32893 _swigt__p_wxStaticBox
,
32894 _swigt__p_wxArrayInt
,
32895 _swigt__p_wxContextHelp
,
32897 _swigt__p_wxEvtHandler
,
32898 _swigt__p_wxListEvent
,
32899 _swigt__p_wxCheckListBox
,
32900 _swigt__p_wxListBox
,
32901 _swigt__p_wxBookCtrl
,
32902 _swigt__p_wxSpinButton
,
32903 _swigt__p_wxButton
,
32904 _swigt__p_wxBitmapButton
,
32906 _swigt__p_wxContextHelpButton
,
32907 _swigt__p_wxRadioBox
,
32908 _swigt__p_wxScrollBar
,
32910 _swigt__p_wxTreeItemId
,
32911 _swigt__p_wxComboBox
,
32912 _swigt__p_wxHelpEvent
,
32913 _swigt__p_wxListItem
,
32914 _swigt__p_wxNotebookSizer
,
32915 _swigt__p_wxSpinEvent
,
32916 _swigt__p_wxGenericDragImage
,
32917 _swigt__p_wxSpinCtrl
,
32918 _swigt__p_wxImageList
,
32919 _swigt__p_wxHelpProvider
,
32920 _swigt__p_wxTextAttr
,
32921 _swigt__p_wxSimpleHelpProvider
,
32923 _swigt__p_wxListbookEvent
,
32924 _swigt__p_wxNotebookEvent
,
32925 _swigt__p_wxObject
,
32926 _swigt__p_wxCursor
,
32927 _swigt__p_wxKeyEvent
,
32928 _swigt__p_wxWindow
,
32929 _swigt__p_wxString
,
32930 _swigt__p_wxBitmap
,
32931 _swigt__p_wxTreeEvent
,
32932 _swigt__p_wxMouseEvent
,
32933 _swigt__p_wxCommandEvent
,
32934 _swigt__p_wxStaticText
,
32935 _swigt__p_wxControlWithItems
,
32936 _swigt__p_wxToolBarToolBase
,
32937 _swigt__p_wxColour
,
32938 _swigt__p_wxToolBar
,
32939 _swigt__p_wxBookCtrlSizer
,
32940 _swigt__p_wxValidator
,
32945 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32947 static swig_const_info swig_const_table
[] = {
32957 SWIGEXPORT(void) SWIG_init(void) {
32958 static PyObject
*SWIG_globals
= 0;
32959 static int typeinit
= 0;
32962 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32963 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32964 d
= PyModule_GetDict(m
);
32967 for (i
= 0; swig_types_initial
[i
]; i
++) {
32968 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32972 SWIG_InstallConstants(d
,swig_const_table
);
32974 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32975 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32976 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32977 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32978 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32979 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32980 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32981 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32982 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32983 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32984 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32985 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32986 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32987 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32988 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32989 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32990 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32991 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32992 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32993 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32994 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32995 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32996 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32997 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32998 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32999 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33000 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33001 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33002 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33003 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33004 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33005 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33006 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33007 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33008 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33009 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33010 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33011 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33012 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33013 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33014 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33015 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33016 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33017 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33018 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33019 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33020 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33021 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33022 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33023 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33024 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33025 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33026 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33027 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33028 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33029 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33030 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33031 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33032 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33033 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33034 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33035 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33036 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33037 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33038 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33039 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33040 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33041 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33042 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33043 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33044 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33045 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33046 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33047 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33048 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33049 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33050 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33051 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33052 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33053 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33054 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33055 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33056 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33057 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33059 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33060 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33061 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33062 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33063 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33064 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33065 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33066 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33067 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33068 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33069 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33070 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33071 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33072 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33073 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33074 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33075 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33076 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33077 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33078 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33079 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33080 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33081 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33082 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33083 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33084 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33085 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33086 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33087 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33088 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33089 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33090 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33091 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33092 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33093 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33094 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33095 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33096 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33097 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33098 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33099 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33100 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33101 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33102 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33103 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33104 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33105 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33106 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33107 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33108 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33109 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33110 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33111 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33112 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33113 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33114 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33115 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33116 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33117 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33118 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33119 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33120 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33121 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33122 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33123 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33124 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33125 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33126 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33127 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33128 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33129 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33130 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33131 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33132 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33133 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33134 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33135 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33136 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33137 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33138 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33139 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33140 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33141 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33142 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33143 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33144 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33145 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33146 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33147 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33148 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33149 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33150 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33151 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33152 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33153 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33154 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33155 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33156 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33157 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33158 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33159 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33160 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33161 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33162 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33164 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33165 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33166 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33167 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33168 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33170 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33173 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33176 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33177 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33178 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33180 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33182 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33183 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33184 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33186 // Map renamed classes back to their common name for OOR
33187 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33189 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33190 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33191 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33192 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33193 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33194 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33195 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33196 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33197 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33198 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33199 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33200 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33201 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33202 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33203 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33204 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33205 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33206 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33207 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33208 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33209 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33210 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33211 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33212 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33213 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33214 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33215 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33216 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33217 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33218 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33219 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33220 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33221 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33222 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33223 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33224 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33225 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33227 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33229 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33237 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33239 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33240 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33241 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33242 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33243 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33244 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33246 // Map renamed classes back to their common name for OOR
33247 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33248 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33250 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33251 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33252 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33253 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33254 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33255 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33256 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33257 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33258 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33259 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33261 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");