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
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1332 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1334 return Py_BuildValue((char *)"");
1336 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxWindow
*arg1
= (wxWindow
*) 0 ;
1340 wxBitmap
*arg3
= 0 ;
1341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1345 long arg6
= (long) wxBU_AUTODRAW
;
1346 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1347 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1348 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1349 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1350 wxBitmapButton
*result
;
1353 bool temp8
= False
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj1
= 0 ;
1356 PyObject
* obj2
= 0 ;
1357 PyObject
* obj3
= 0 ;
1358 PyObject
* obj4
= 0 ;
1359 PyObject
* obj5
= 0 ;
1360 PyObject
* obj6
= 0 ;
1361 PyObject
* obj7
= 0 ;
1363 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1369 arg2
= (int) SWIG_AsInt(obj1
);
1370 if (PyErr_Occurred()) SWIG_fail
;
1371 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1375 PyErr_SetString(PyExc_TypeError
,"null reference");
1381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1391 arg6
= (long) SWIG_AsLong(obj5
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1395 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1399 PyErr_SetString(PyExc_TypeError
,"null reference");
1405 arg8
= wxString_in_helper(obj7
);
1406 if (arg8
== NULL
) SWIG_fail
;
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) SWIG_fail
;
1418 resultobj
= wxPyMake_wxObject(result
);
1434 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxBitmapButton
*result
;
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (wxBitmapButton
*)new wxBitmapButton();
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1450 resultobj
= wxPyMake_wxObject(result
);
1458 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
*resultobj
;
1460 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1461 wxWindow
*arg2
= (wxWindow
*) 0 ;
1463 wxBitmap
*arg4
= 0 ;
1464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1468 long arg7
= (long) wxBU_AUTODRAW
;
1469 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1470 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1471 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1472 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1476 bool temp9
= False
;
1477 PyObject
* obj0
= 0 ;
1478 PyObject
* obj1
= 0 ;
1479 PyObject
* obj2
= 0 ;
1480 PyObject
* obj3
= 0 ;
1481 PyObject
* obj4
= 0 ;
1482 PyObject
* obj5
= 0 ;
1483 PyObject
* obj6
= 0 ;
1484 PyObject
* obj7
= 0 ;
1485 PyObject
* obj8
= 0 ;
1487 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1495 arg3
= (int) SWIG_AsInt(obj2
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1497 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1501 PyErr_SetString(PyExc_TypeError
,"null reference");
1507 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1513 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1517 arg7
= (long) SWIG_AsLong(obj6
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1521 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1525 PyErr_SetString(PyExc_TypeError
,"null reference");
1531 arg9
= wxString_in_helper(obj8
);
1532 if (arg9
== NULL
) SWIG_fail
;
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) SWIG_fail
;
1544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1560 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
*resultobj
;
1562 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1564 PyObject
* obj0
= 0 ;
1566 (char *) "self", NULL
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 result
= (arg1
)->GetBitmapLabel();
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1580 wxBitmap
* resultptr
;
1581 resultptr
= new wxBitmap((wxBitmap
&) result
);
1582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1590 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1596 (char *) "self", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 result
= (arg1
)->GetBitmapDisabled();
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1610 wxBitmap
* resultptr
;
1611 resultptr
= new wxBitmap((wxBitmap
&) result
);
1612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1620 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1626 (char *) "self", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (arg1
)->GetBitmapFocus();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1640 wxBitmap
* resultptr
;
1641 resultptr
= new wxBitmap((wxBitmap
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1650 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1654 PyObject
* obj0
= 0 ;
1656 (char *) "self", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= (arg1
)->GetBitmapSelected();
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1670 wxBitmap
* resultptr
;
1671 resultptr
= new wxBitmap((wxBitmap
&) result
);
1672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1680 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1683 wxBitmap
*arg2
= 0 ;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1687 (char *) "self",(char *) "bitmap", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1697 PyErr_SetString(PyExc_TypeError
,"null reference");
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 Py_INCREF(Py_None
); resultobj
= Py_None
;
1714 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1717 wxBitmap
*arg2
= 0 ;
1718 PyObject
* obj0
= 0 ;
1719 PyObject
* obj1
= 0 ;
1721 (char *) "self",(char *) "bitmap", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1731 PyErr_SetString(PyExc_TypeError
,"null reference");
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 Py_INCREF(Py_None
); resultobj
= Py_None
;
1748 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
*resultobj
;
1750 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1751 wxBitmap
*arg2
= 0 ;
1752 PyObject
* obj0
= 0 ;
1753 PyObject
* obj1
= 0 ;
1755 (char *) "self",(char *) "bitmap", NULL
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1765 PyErr_SetString(PyExc_TypeError
,"null reference");
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 Py_INCREF(Py_None
); resultobj
= Py_None
;
1782 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1785 wxBitmap
*arg2
= 0 ;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1789 (char *) "self",(char *) "bitmap", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1799 PyErr_SetString(PyExc_TypeError
,"null reference");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 Py_INCREF(Py_None
); resultobj
= Py_None
;
1816 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1823 PyObject
* obj2
= 0 ;
1825 (char *) "self",(char *) "x",(char *) "y", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg2
= (int) SWIG_AsInt(obj1
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1833 arg3
= (int) SWIG_AsInt(obj2
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetMargins(arg2
,arg3
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1855 (char *) "self", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 resultobj
= SWIG_FromInt((int)result
);
1875 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1879 PyObject
* obj0
= 0 ;
1881 (char *) "self", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 resultobj
= SWIG_FromInt((int)result
);
1901 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1906 return Py_BuildValue((char *)"");
1908 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1909 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1914 static PyObject
*_wrap_CheckBoxNameStr_get() {
1919 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1921 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1928 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxWindow
*arg1
= (wxWindow
*) 0 ;
1932 wxString
*arg3
= 0 ;
1933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1937 long arg6
= (long) 0 ;
1938 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1939 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1940 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1941 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1943 bool temp3
= False
;
1946 bool temp8
= False
;
1947 PyObject
* obj0
= 0 ;
1948 PyObject
* obj1
= 0 ;
1949 PyObject
* obj2
= 0 ;
1950 PyObject
* obj3
= 0 ;
1951 PyObject
* obj4
= 0 ;
1952 PyObject
* obj5
= 0 ;
1953 PyObject
* obj6
= 0 ;
1954 PyObject
* obj7
= 0 ;
1956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1962 arg2
= (int) SWIG_AsInt(obj1
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 arg3
= wxString_in_helper(obj2
);
1966 if (arg3
== NULL
) SWIG_fail
;
1972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1982 arg6
= (long) SWIG_AsLong(obj5
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1986 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1990 PyErr_SetString(PyExc_TypeError
,"null reference");
1996 arg8
= wxString_in_helper(obj7
);
1997 if (arg8
== NULL
) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2031 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 result
= (wxCheckBox
*)new wxCheckBox();
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2053 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2055 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2056 wxWindow
*arg2
= (wxWindow
*) 0 ;
2058 wxString
*arg4
= 0 ;
2059 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2060 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2061 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2062 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2063 long arg7
= (long) 0 ;
2064 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2065 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2066 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2067 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2069 bool temp4
= False
;
2072 bool temp9
= False
;
2073 PyObject
* obj0
= 0 ;
2074 PyObject
* obj1
= 0 ;
2075 PyObject
* obj2
= 0 ;
2076 PyObject
* obj3
= 0 ;
2077 PyObject
* obj4
= 0 ;
2078 PyObject
* obj5
= 0 ;
2079 PyObject
* obj6
= 0 ;
2080 PyObject
* obj7
= 0 ;
2081 PyObject
* obj8
= 0 ;
2083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2091 arg3
= (int) SWIG_AsInt(obj2
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 arg4
= wxString_in_helper(obj3
);
2095 if (arg4
== NULL
) SWIG_fail
;
2101 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2107 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2111 arg7
= (long) SWIG_AsLong(obj6
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2115 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2119 PyErr_SetString(PyExc_TypeError
,"null reference");
2125 arg9
= wxString_in_helper(obj8
);
2126 if (arg9
== NULL
) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2162 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "self", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 result
= (bool)(arg1
)->GetValue();
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2190 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2196 (char *) "self", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (bool)(arg1
)->IsChecked();
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2218 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2225 (char *) "self",(char *) "state", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 arg2
= (bool const) SWIG_AsBool(obj1
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 (arg1
)->SetValue(arg2
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 Py_INCREF(Py_None
); resultobj
= Py_None
;
2247 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2251 PyObject
* obj0
= 0 ;
2253 (char *) "self", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 resultobj
= SWIG_FromInt((int)result
);
2273 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2277 PyObject
* obj0
= 0 ;
2278 PyObject
* obj1
= 0 ;
2280 (char *) "self",(char *) "state", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2286 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 Py_INCREF(Py_None
); resultobj
= Py_None
;
2302 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2308 (char *) "self", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2330 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2332 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2334 PyObject
* obj0
= 0 ;
2336 (char *) "self", NULL
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2358 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2361 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2363 return Py_BuildValue((char *)"");
2365 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2366 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2371 static PyObject
*_wrap_ChoiceNameStr_get() {
2376 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2378 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2385 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxWindow
*arg1
= (wxWindow
*) 0 ;
2388 int arg2
= (int) -1 ;
2389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2393 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2394 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2395 long arg6
= (long) 0 ;
2396 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2397 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2398 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2399 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2403 bool temp5
= False
;
2404 bool temp8
= False
;
2405 PyObject
* obj0
= 0 ;
2406 PyObject
* obj1
= 0 ;
2407 PyObject
* obj2
= 0 ;
2408 PyObject
* obj3
= 0 ;
2409 PyObject
* obj4
= 0 ;
2410 PyObject
* obj5
= 0 ;
2411 PyObject
* obj6
= 0 ;
2412 PyObject
* obj7
= 0 ;
2414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2421 arg2
= (int) SWIG_AsInt(obj1
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2433 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2438 if (! PySequence_Check(obj4
)) {
2439 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2442 arg5
= new wxArrayString
;
2444 int i
, len
=PySequence_Length(obj4
);
2445 for (i
=0; i
<len
; i
++) {
2446 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2448 PyObject
* str
= PyObject_Unicode(item
);
2450 PyObject
* str
= PyObject_Str(item
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2453 arg5
->Add(Py2wxString(str
));
2460 arg6
= (long) SWIG_AsLong(obj5
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2464 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2468 PyErr_SetString(PyExc_TypeError
,"null reference");
2474 arg8
= wxString_in_helper(obj7
);
2475 if (arg8
== NULL
) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2488 if (temp5
) delete arg5
;
2497 if (temp5
) delete arg5
;
2507 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
*resultobj
;
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 result
= (wxChoice
*)new wxChoice();
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2529 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxChoice
*arg1
= (wxChoice
*) 0 ;
2532 wxWindow
*arg2
= (wxWindow
*) 0 ;
2533 int arg3
= (int) -1 ;
2534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2538 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2539 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2540 long arg7
= (long) 0 ;
2541 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2542 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2543 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2544 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2548 bool temp6
= False
;
2549 bool temp9
= False
;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2552 PyObject
* obj2
= 0 ;
2553 PyObject
* obj3
= 0 ;
2554 PyObject
* obj4
= 0 ;
2555 PyObject
* obj5
= 0 ;
2556 PyObject
* obj6
= 0 ;
2557 PyObject
* obj7
= 0 ;
2558 PyObject
* obj8
= 0 ;
2560 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2569 arg3
= (int) SWIG_AsInt(obj2
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2575 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2581 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2586 if (! PySequence_Check(obj5
)) {
2587 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2590 arg6
= new wxArrayString
;
2592 int i
, len
=PySequence_Length(obj5
);
2593 for (i
=0; i
<len
; i
++) {
2594 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2596 PyObject
* str
= PyObject_Unicode(item
);
2598 PyObject
* str
= PyObject_Str(item
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2601 arg6
->Add(Py2wxString(str
));
2608 arg7
= (long) SWIG_AsLong(obj6
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2612 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2616 PyErr_SetString(PyExc_TypeError
,"null reference");
2622 arg9
= wxString_in_helper(obj8
);
2623 if (arg9
== NULL
) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2638 if (temp6
) delete arg6
;
2647 if (temp6
) delete arg6
;
2657 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxChoice
*arg1
= (wxChoice
*) 0 ;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2664 (char *) "self",(char *) "n", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 arg2
= (int const) SWIG_AsInt(obj1
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 (arg1
)->SetSelection(arg2
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2686 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxChoice
*arg1
= (wxChoice
*) 0 ;
2689 wxString
*arg2
= 0 ;
2691 bool temp2
= False
;
2692 PyObject
* obj0
= 0 ;
2693 PyObject
* obj1
= 0 ;
2695 (char *) "self",(char *) "string", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2702 arg2
= wxString_in_helper(obj1
);
2703 if (arg2
== NULL
) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2730 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxChoice
*arg1
= (wxChoice
*) 0 ;
2734 wxString
*arg3
= 0 ;
2735 bool temp3
= False
;
2736 PyObject
* obj0
= 0 ;
2737 PyObject
* obj1
= 0 ;
2738 PyObject
* obj2
= 0 ;
2740 (char *) "self",(char *) "n",(char *) "string", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2746 arg2
= (int) SWIG_AsInt(obj1
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 arg3
= wxString_in_helper(obj2
);
2750 if (arg3
== NULL
) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2775 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2778 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2780 return Py_BuildValue((char *)"");
2782 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2783 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2788 static PyObject
*_wrap_ComboBoxNameStr_get() {
2793 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2795 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2802 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxWindow
*arg1
= (wxWindow
*) 0 ;
2805 int arg2
= (int) -1 ;
2806 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2807 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2812 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2813 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2814 long arg7
= (long) 0 ;
2815 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2816 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2817 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2818 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2820 bool temp3
= False
;
2823 bool temp6
= False
;
2824 bool temp9
= False
;
2825 PyObject
* obj0
= 0 ;
2826 PyObject
* obj1
= 0 ;
2827 PyObject
* obj2
= 0 ;
2828 PyObject
* obj3
= 0 ;
2829 PyObject
* obj4
= 0 ;
2830 PyObject
* obj5
= 0 ;
2831 PyObject
* obj6
= 0 ;
2832 PyObject
* obj7
= 0 ;
2833 PyObject
* obj8
= 0 ;
2835 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 arg2
= (int) SWIG_AsInt(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2847 arg3
= wxString_in_helper(obj2
);
2848 if (arg3
== NULL
) SWIG_fail
;
2855 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2861 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2866 if (! PySequence_Check(obj5
)) {
2867 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2870 arg6
= new wxArrayString
;
2872 int i
, len
=PySequence_Length(obj5
);
2873 for (i
=0; i
<len
; i
++) {
2874 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2876 PyObject
* str
= PyObject_Unicode(item
);
2878 PyObject
* str
= PyObject_Str(item
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2881 arg6
->Add(Py2wxString(str
));
2888 arg7
= (long) SWIG_AsLong(obj6
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2892 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2896 PyErr_SetString(PyExc_TypeError
,"null reference");
2902 arg9
= wxString_in_helper(obj8
);
2903 if (arg9
== NULL
) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 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
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2920 if (temp6
) delete arg6
;
2933 if (temp6
) delete arg6
;
2943 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (wxComboBox
*)new wxComboBox();
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2965 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2968 wxWindow
*arg2
= (wxWindow
*) 0 ;
2969 int arg3
= (int) -1 ;
2970 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2971 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2972 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2973 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2974 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2975 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2976 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2977 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2978 long arg8
= (long) 0 ;
2979 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2980 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2981 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2982 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2984 bool temp4
= False
;
2987 bool temp7
= False
;
2988 bool temp10
= False
;
2989 PyObject
* obj0
= 0 ;
2990 PyObject
* obj1
= 0 ;
2991 PyObject
* obj2
= 0 ;
2992 PyObject
* obj3
= 0 ;
2993 PyObject
* obj4
= 0 ;
2994 PyObject
* obj5
= 0 ;
2995 PyObject
* obj6
= 0 ;
2996 PyObject
* obj7
= 0 ;
2997 PyObject
* obj8
= 0 ;
2998 PyObject
* obj9
= 0 ;
3000 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3009 arg3
= (int) SWIG_AsInt(obj2
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3014 arg4
= wxString_in_helper(obj3
);
3015 if (arg4
== NULL
) SWIG_fail
;
3022 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3028 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3033 if (! PySequence_Check(obj6
)) {
3034 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3037 arg7
= new wxArrayString
;
3039 int i
, len
=PySequence_Length(obj6
);
3040 for (i
=0; i
<len
; i
++) {
3041 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3043 PyObject
* str
= PyObject_Unicode(item
);
3045 PyObject
* str
= PyObject_Str(item
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3048 arg7
->Add(Py2wxString(str
));
3055 arg8
= (long) SWIG_AsLong(obj7
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3063 PyErr_SetString(PyExc_TypeError
,"null reference");
3069 arg10
= wxString_in_helper(obj9
);
3070 if (arg10
== NULL
) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 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
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3089 if (temp7
) delete arg7
;
3102 if (temp7
) delete arg7
;
3112 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3116 PyObject
* obj0
= 0 ;
3118 (char *) "self", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 result
= ((wxComboBox
const *)arg1
)->GetValue();
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3144 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3147 wxString
*arg2
= 0 ;
3148 bool temp2
= False
;
3149 PyObject
* obj0
= 0 ;
3150 PyObject
* obj1
= 0 ;
3152 (char *) "self",(char *) "value", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 arg2
= wxString_in_helper(obj1
);
3160 if (arg2
== NULL
) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 (arg1
)->SetValue((wxString
const &)*arg2
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3190 (char *) "self", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3203 Py_INCREF(Py_None
); resultobj
= Py_None
;
3210 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3213 PyObject
* obj0
= 0 ;
3215 (char *) "self", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3228 Py_INCREF(Py_None
); resultobj
= Py_None
;
3235 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3238 PyObject
* obj0
= 0 ;
3240 (char *) "self", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 Py_INCREF(Py_None
); resultobj
= Py_None
;
3260 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3267 (char *) "self",(char *) "pos", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 arg2
= (long) SWIG_AsLong(obj1
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 (arg1
)->SetInsertionPoint(arg2
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 Py_INCREF(Py_None
); resultobj
= Py_None
;
3289 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3293 PyObject
* obj0
= 0 ;
3295 (char *) "self", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 resultobj
= SWIG_FromLong((long)result
);
3315 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 resultobj
= SWIG_FromLong((long)result
);
3341 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3346 wxString
*arg4
= 0 ;
3347 bool temp4
= False
;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3350 PyObject
* obj2
= 0 ;
3351 PyObject
* obj3
= 0 ;
3353 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3359 arg2
= (long) SWIG_AsLong(obj1
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3361 arg3
= (long) SWIG_AsLong(obj2
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 arg4
= wxString_in_helper(obj3
);
3365 if (arg4
== NULL
) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "self",(char *) "n", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3403 arg2
= (int) SWIG_AsInt(obj1
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 (arg1
)->SetSelection(arg2
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 Py_INCREF(Py_None
); resultobj
= Py_None
;
3419 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3426 PyObject
* obj2
= 0 ;
3428 (char *) "self",(char *) "from",(char *) "to", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3434 arg2
= (long) SWIG_AsLong(obj1
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3436 arg3
= (long) SWIG_AsLong(obj2
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 (arg1
)->SetSelection(arg2
,arg3
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3455 wxString
*arg2
= 0 ;
3457 bool temp2
= False
;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "string", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 arg2
= wxString_in_helper(obj1
);
3469 if (arg2
== NULL
) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3496 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3500 wxString
*arg3
= 0 ;
3501 bool temp3
= False
;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3504 PyObject
* obj2
= 0 ;
3506 (char *) "self",(char *) "n",(char *) "string", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3512 arg2
= (int) SWIG_AsInt(obj1
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 arg3
= wxString_in_helper(obj2
);
3516 if (arg3
== NULL
) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3541 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3545 PyObject
* obj0
= 0 ;
3546 PyObject
* obj1
= 0 ;
3548 (char *) "self",(char *) "editable", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3554 arg2
= (bool) SWIG_AsBool(obj1
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 (arg1
)->SetEditable(arg2
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 Py_INCREF(Py_None
); resultobj
= Py_None
;
3570 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3575 (char *) "self", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 (arg1
)->SetInsertionPointEnd();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 Py_INCREF(Py_None
); resultobj
= Py_None
;
3595 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3602 PyObject
* obj2
= 0 ;
3604 (char *) "self",(char *) "from",(char *) "to", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 arg2
= (long) SWIG_AsLong(obj1
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3612 arg3
= (long) SWIG_AsLong(obj2
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->Remove(arg2
,arg3
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3631 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3633 return Py_BuildValue((char *)"");
3635 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3636 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3641 static PyObject
*_wrap_GaugeNameStr_get() {
3646 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3648 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3655 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxWindow
*arg1
= (wxWindow
*) 0 ;
3660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3664 long arg6
= (long) wxGA_HORIZONTAL
;
3665 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3666 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3667 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3668 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3672 bool temp8
= False
;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3675 PyObject
* obj2
= 0 ;
3676 PyObject
* obj3
= 0 ;
3677 PyObject
* obj4
= 0 ;
3678 PyObject
* obj5
= 0 ;
3679 PyObject
* obj6
= 0 ;
3680 PyObject
* obj7
= 0 ;
3682 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 arg2
= (int) SWIG_AsInt(obj1
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3690 arg3
= (int) SWIG_AsInt(obj2
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3695 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3701 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3705 arg6
= (long) SWIG_AsLong(obj5
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3713 PyErr_SetString(PyExc_TypeError
,"null reference");
3719 arg8
= wxString_in_helper(obj7
);
3720 if (arg8
== NULL
) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3746 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 result
= (wxGauge
*)new wxGauge();
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3768 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxGauge
*arg1
= (wxGauge
*) 0 ;
3771 wxWindow
*arg2
= (wxWindow
*) 0 ;
3774 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3776 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3777 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3778 long arg7
= (long) wxGA_HORIZONTAL
;
3779 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3781 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3782 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3786 bool temp9
= False
;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3789 PyObject
* obj2
= 0 ;
3790 PyObject
* obj3
= 0 ;
3791 PyObject
* obj4
= 0 ;
3792 PyObject
* obj5
= 0 ;
3793 PyObject
* obj6
= 0 ;
3794 PyObject
* obj7
= 0 ;
3795 PyObject
* obj8
= 0 ;
3797 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3805 arg3
= (int) SWIG_AsInt(obj2
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3807 arg4
= (int) SWIG_AsInt(obj3
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3822 arg7
= (long) SWIG_AsLong(obj6
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3826 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3830 PyErr_SetString(PyExc_TypeError
,"null reference");
3836 arg9
= wxString_in_helper(obj8
);
3837 if (arg9
== NULL
) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3865 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxGauge
*arg1
= (wxGauge
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3872 (char *) "self",(char *) "range", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 arg2
= (int) SWIG_AsInt(obj1
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 (arg1
)->SetRange(arg2
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3894 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxGauge
*arg1
= (wxGauge
*) 0 ;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "self", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_FromInt((int)result
);
3920 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxGauge
*arg1
= (wxGauge
*) 0 ;
3924 PyObject
* obj0
= 0 ;
3925 PyObject
* obj1
= 0 ;
3927 (char *) "self",(char *) "pos", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg2
= (int) SWIG_AsInt(obj1
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 (arg1
)->SetValue(arg2
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 Py_INCREF(Py_None
); resultobj
= Py_None
;
3949 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxGauge
*arg1
= (wxGauge
*) 0 ;
3953 PyObject
* obj0
= 0 ;
3955 (char *) "self", NULL
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= SWIG_FromInt((int)result
);
3975 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxGauge
*arg1
= (wxGauge
*) 0 ;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "self", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4003 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxGauge
*arg1
= (wxGauge
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4010 (char *) "self",(char *) "w", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 arg2
= (int) SWIG_AsInt(obj1
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 (arg1
)->SetShadowWidth(arg2
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxGauge
*arg1
= (wxGauge
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= SWIG_FromInt((int)result
);
4058 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxGauge
*arg1
= (wxGauge
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4065 (char *) "self",(char *) "w", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 arg2
= (int) SWIG_AsInt(obj1
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 (arg1
)->SetBezelFace(arg2
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxGauge
*arg1
= (wxGauge
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= SWIG_FromInt((int)result
);
4113 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4118 return Py_BuildValue((char *)"");
4120 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4121 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4126 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4131 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4133 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4140 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4141 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4146 static PyObject
*_wrap_StaticBoxNameStr_get() {
4151 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4153 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4160 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4161 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4166 static PyObject
*_wrap_StaticTextNameStr_get() {
4171 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4173 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4180 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxWindow
*arg1
= (wxWindow
*) 0 ;
4184 wxString
*arg3
= 0 ;
4185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4189 long arg6
= (long) 0 ;
4190 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4192 wxStaticBox
*result
;
4193 bool temp3
= False
;
4196 bool temp7
= False
;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4199 PyObject
* obj2
= 0 ;
4200 PyObject
* obj3
= 0 ;
4201 PyObject
* obj4
= 0 ;
4202 PyObject
* obj5
= 0 ;
4203 PyObject
* obj6
= 0 ;
4205 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4211 arg2
= (int) SWIG_AsInt(obj1
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 arg3
= wxString_in_helper(obj2
);
4215 if (arg3
== NULL
) SWIG_fail
;
4221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4231 arg6
= (long) SWIG_AsLong(obj5
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4236 arg7
= wxString_in_helper(obj6
);
4237 if (arg7
== NULL
) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= wxPyMake_wxObject(result
);
4273 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxStaticBox
*result
;
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (wxStaticBox
*)new wxStaticBox();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= wxPyMake_wxObject(result
);
4297 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4300 wxWindow
*arg2
= (wxWindow
*) 0 ;
4302 wxString
*arg4
= 0 ;
4303 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4304 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4305 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4306 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4307 long arg7
= (long) 0 ;
4308 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4309 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4311 bool temp4
= False
;
4314 bool temp8
= False
;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 PyObject
* obj2
= 0 ;
4318 PyObject
* obj3
= 0 ;
4319 PyObject
* obj4
= 0 ;
4320 PyObject
* obj5
= 0 ;
4321 PyObject
* obj6
= 0 ;
4322 PyObject
* obj7
= 0 ;
4324 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4332 arg3
= (int) SWIG_AsInt(obj2
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 arg4
= wxString_in_helper(obj3
);
4336 if (arg4
== NULL
) SWIG_fail
;
4342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4352 arg7
= (long) SWIG_AsLong(obj6
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4357 arg8
= wxString_in_helper(obj7
);
4358 if (arg8
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4397 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4399 return Py_BuildValue((char *)"");
4401 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxWindow
*arg1
= (wxWindow
*) 0 ;
4405 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4406 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4407 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4408 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4409 long arg5
= (long) wxLI_HORIZONTAL
;
4410 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4411 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4412 wxStaticLine
*result
;
4415 bool temp6
= False
;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4418 PyObject
* obj2
= 0 ;
4419 PyObject
* obj3
= 0 ;
4420 PyObject
* obj4
= 0 ;
4421 PyObject
* obj5
= 0 ;
4423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 arg2
= (int) SWIG_AsInt(obj1
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4444 arg5
= (long) SWIG_AsLong(obj4
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4449 arg6
= wxString_in_helper(obj5
);
4450 if (arg6
== NULL
) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4476 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxStaticLine
*result
;
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 result
= (wxStaticLine
*)new wxStaticLine();
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4498 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4501 wxWindow
*arg2
= (wxWindow
*) 0 ;
4503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4507 long arg6
= (long) wxLI_HORIZONTAL
;
4508 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4513 bool temp7
= False
;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4516 PyObject
* obj2
= 0 ;
4517 PyObject
* obj3
= 0 ;
4518 PyObject
* obj4
= 0 ;
4519 PyObject
* obj5
= 0 ;
4520 PyObject
* obj6
= 0 ;
4522 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4530 arg3
= (int) SWIG_AsInt(obj2
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4545 arg6
= (long) SWIG_AsLong(obj5
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4550 arg7
= wxString_in_helper(obj6
);
4551 if (arg7
== NULL
) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4579 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4607 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (int)wxStaticLine::GetDefaultSize();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_FromInt((int)result
);
4629 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4632 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4634 return Py_BuildValue((char *)"");
4636 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxWindow
*arg1
= (wxWindow
*) 0 ;
4640 wxString
*arg3
= 0 ;
4641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4645 long arg6
= (long) 0 ;
4646 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4648 wxStaticText
*result
;
4649 bool temp3
= False
;
4652 bool temp7
= False
;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4655 PyObject
* obj2
= 0 ;
4656 PyObject
* obj3
= 0 ;
4657 PyObject
* obj4
= 0 ;
4658 PyObject
* obj5
= 0 ;
4659 PyObject
* obj6
= 0 ;
4661 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4667 arg2
= (int) SWIG_AsInt(obj1
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 arg3
= wxString_in_helper(obj2
);
4671 if (arg3
== NULL
) SWIG_fail
;
4677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4687 arg6
= (long) SWIG_AsLong(obj5
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4692 arg7
= wxString_in_helper(obj6
);
4693 if (arg7
== NULL
) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4727 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxStaticText
*result
;
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 result
= (wxStaticText
*)new wxStaticText();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4749 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4752 wxWindow
*arg2
= (wxWindow
*) 0 ;
4754 wxString
*arg4
= 0 ;
4755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4757 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4758 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4759 long arg7
= (long) 0 ;
4760 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4763 bool temp4
= False
;
4766 bool temp8
= False
;
4767 PyObject
* obj0
= 0 ;
4768 PyObject
* obj1
= 0 ;
4769 PyObject
* obj2
= 0 ;
4770 PyObject
* obj3
= 0 ;
4771 PyObject
* obj4
= 0 ;
4772 PyObject
* obj5
= 0 ;
4773 PyObject
* obj6
= 0 ;
4774 PyObject
* obj7
= 0 ;
4776 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 arg3
= (int) SWIG_AsInt(obj2
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 arg4
= wxString_in_helper(obj3
);
4788 if (arg4
== NULL
) SWIG_fail
;
4794 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4800 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4804 arg7
= (long) SWIG_AsLong(obj6
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4809 arg8
= wxString_in_helper(obj7
);
4810 if (arg8
== NULL
) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4846 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4849 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4851 return Py_BuildValue((char *)"");
4853 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxWindow
*arg1
= (wxWindow
*) 0 ;
4857 wxBitmap
*arg3
= 0 ;
4858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4862 long arg6
= (long) 0 ;
4863 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4864 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4865 wxStaticBitmap
*result
;
4868 bool temp7
= False
;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 PyObject
* obj2
= 0 ;
4872 PyObject
* obj3
= 0 ;
4873 PyObject
* obj4
= 0 ;
4874 PyObject
* obj5
= 0 ;
4875 PyObject
* obj6
= 0 ;
4877 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 arg2
= (int) SWIG_AsInt(obj1
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4885 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4889 PyErr_SetString(PyExc_TypeError
,"null reference");
4895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4905 arg6
= (long) SWIG_AsLong(obj5
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4910 arg7
= wxString_in_helper(obj6
);
4911 if (arg7
== NULL
) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4937 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxStaticBitmap
*result
;
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4959 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4962 wxWindow
*arg2
= (wxWindow
*) 0 ;
4964 wxBitmap
*arg4
= 0 ;
4965 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4966 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4967 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4968 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4969 long arg7
= (long) 0 ;
4970 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4971 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4975 bool temp8
= False
;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4978 PyObject
* obj2
= 0 ;
4979 PyObject
* obj3
= 0 ;
4980 PyObject
* obj4
= 0 ;
4981 PyObject
* obj5
= 0 ;
4982 PyObject
* obj6
= 0 ;
4983 PyObject
* obj7
= 0 ;
4985 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4993 arg3
= (int) SWIG_AsInt(obj2
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4995 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4999 PyErr_SetString(PyExc_TypeError
,"null reference");
5005 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5011 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5015 arg7
= (long) SWIG_AsLong(obj6
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5020 arg8
= wxString_in_helper(obj7
);
5021 if (arg8
== NULL
) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5055 (char *) "self", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (arg1
)->GetBitmap();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5069 wxBitmap
* resultptr
;
5070 resultptr
= new wxBitmap((wxBitmap
&) result
);
5071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5079 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5082 wxBitmap
*arg2
= 0 ;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5086 (char *) "self",(char *) "bitmap", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5096 PyErr_SetString(PyExc_TypeError
,"null reference");
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 Py_INCREF(Py_None
); resultobj
= Py_None
;
5113 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "self",(char *) "icon", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5130 PyErr_SetString(PyExc_TypeError
,"null reference");
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5147 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5150 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5152 return Py_BuildValue((char *)"");
5154 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5155 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5160 static PyObject
*_wrap_ListBoxNameStr_get() {
5165 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5167 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5174 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxWindow
*arg1
= (wxWindow
*) 0 ;
5178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5182 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5183 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5184 long arg6
= (long) 0 ;
5185 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5186 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5187 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5188 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5192 bool temp5
= False
;
5193 bool temp8
= False
;
5194 PyObject
* obj0
= 0 ;
5195 PyObject
* obj1
= 0 ;
5196 PyObject
* obj2
= 0 ;
5197 PyObject
* obj3
= 0 ;
5198 PyObject
* obj4
= 0 ;
5199 PyObject
* obj5
= 0 ;
5200 PyObject
* obj6
= 0 ;
5201 PyObject
* obj7
= 0 ;
5203 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 arg2
= (int) SWIG_AsInt(obj1
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5225 if (! PySequence_Check(obj4
)) {
5226 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5229 arg5
= new wxArrayString
;
5231 int i
, len
=PySequence_Length(obj4
);
5232 for (i
=0; i
<len
; i
++) {
5233 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5235 PyObject
* str
= PyObject_Unicode(item
);
5237 PyObject
* str
= PyObject_Str(item
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5240 arg5
->Add(Py2wxString(str
));
5247 arg6
= (long) SWIG_AsLong(obj5
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5251 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5255 PyErr_SetString(PyExc_TypeError
,"null reference");
5261 arg8
= wxString_in_helper(obj7
);
5262 if (arg8
== NULL
) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5275 if (temp5
) delete arg5
;
5284 if (temp5
) delete arg5
;
5294 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (wxListBox
*)new wxListBox();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5316 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxListBox
*arg1
= (wxListBox
*) 0 ;
5319 wxWindow
*arg2
= (wxWindow
*) 0 ;
5321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5325 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5326 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5327 long arg7
= (long) 0 ;
5328 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5329 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5330 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5331 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5335 bool temp6
= False
;
5336 bool temp9
= False
;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5339 PyObject
* obj2
= 0 ;
5340 PyObject
* obj3
= 0 ;
5341 PyObject
* obj4
= 0 ;
5342 PyObject
* obj5
= 0 ;
5343 PyObject
* obj6
= 0 ;
5344 PyObject
* obj7
= 0 ;
5345 PyObject
* obj8
= 0 ;
5347 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg3
= (int) SWIG_AsInt(obj2
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5371 if (! PySequence_Check(obj5
)) {
5372 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5375 arg6
= new wxArrayString
;
5377 int i
, len
=PySequence_Length(obj5
);
5378 for (i
=0; i
<len
; i
++) {
5379 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5381 PyObject
* str
= PyObject_Unicode(item
);
5383 PyObject
* str
= PyObject_Str(item
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5386 arg6
->Add(Py2wxString(str
));
5393 arg7
= (long) SWIG_AsLong(obj6
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5397 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5401 PyErr_SetString(PyExc_TypeError
,"null reference");
5407 arg9
= wxString_in_helper(obj8
);
5408 if (arg9
== NULL
) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 if (temp6
) delete arg6
;
5432 if (temp6
) delete arg6
;
5442 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxListBox
*arg1
= (wxListBox
*) 0 ;
5445 wxString
*arg2
= 0 ;
5447 PyObject
*arg4
= (PyObject
*) NULL
;
5448 bool temp2
= False
;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 PyObject
* obj2
= 0 ;
5452 PyObject
* obj3
= 0 ;
5454 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 arg2
= wxString_in_helper(obj1
);
5462 if (arg2
== NULL
) SWIG_fail
;
5465 arg3
= (int) SWIG_AsInt(obj2
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 Py_INCREF(Py_None
); resultobj
= Py_None
;
5492 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5494 wxListBox
*arg1
= (wxListBox
*) 0 ;
5495 wxArrayString
*arg2
= 0 ;
5497 bool temp2
= False
;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5500 PyObject
* obj2
= 0 ;
5502 (char *) "self",(char *) "items",(char *) "pos", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 if (! PySequence_Check(obj1
)) {
5510 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5513 arg2
= new wxArrayString
;
5515 int i
, len
=PySequence_Length(obj1
);
5516 for (i
=0; i
<len
; i
++) {
5517 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5519 PyObject
* str
= PyObject_Unicode(item
);
5521 PyObject
* str
= PyObject_Str(item
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5524 arg2
->Add(Py2wxString(str
));
5529 arg3
= (int) SWIG_AsInt(obj2
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 if (temp2
) delete arg2
;
5545 if (temp2
) delete arg2
;
5551 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxListBox
*arg1
= (wxListBox
*) 0 ;
5554 wxArrayString
*arg2
= 0 ;
5555 bool temp2
= False
;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5559 (char *) "self",(char *) "items", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 if (! PySequence_Check(obj1
)) {
5567 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5570 arg2
= new wxArrayString
;
5572 int i
, len
=PySequence_Length(obj1
);
5573 for (i
=0; i
<len
; i
++) {
5574 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5576 PyObject
* str
= PyObject_Unicode(item
);
5578 PyObject
* str
= PyObject_Str(item
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5581 arg2
->Add(Py2wxString(str
));
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->Set((wxArrayString
const &)*arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 if (temp2
) delete arg2
;
5600 if (temp2
) delete arg2
;
5606 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
;
5608 wxListBox
*arg1
= (wxListBox
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "n", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5620 arg2
= (int) SWIG_AsInt(obj1
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5638 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxListBox
*arg1
= (wxListBox
*) 0 ;
5642 bool arg3
= (bool) True
;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 PyObject
* obj2
= 0 ;
5647 (char *) "self",(char *) "n",(char *) "select", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5653 arg2
= (int) SWIG_AsInt(obj1
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 arg3
= (bool) SWIG_AsBool(obj2
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 (arg1
)->SetSelection(arg2
,arg3
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxListBox
*arg1
= (wxListBox
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5680 (char *) "self",(char *) "n", NULL
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5686 arg2
= (int) SWIG_AsInt(obj1
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 (arg1
)->Select(arg2
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5702 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxListBox
*arg1
= (wxListBox
*) 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5709 (char *) "self",(char *) "n", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5715 arg2
= (int) SWIG_AsInt(obj1
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 (arg1
)->Deselect(arg2
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 Py_INCREF(Py_None
); resultobj
= Py_None
;
5731 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxListBox
*arg1
= (wxListBox
*) 0 ;
5734 int arg2
= (int) -1 ;
5735 PyObject
* obj0
= 0 ;
5736 PyObject
* obj1
= 0 ;
5738 (char *) "self",(char *) "itemToLeaveSelected", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 arg2
= (int) SWIG_AsInt(obj1
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 (arg1
)->DeselectAll(arg2
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 Py_INCREF(Py_None
); resultobj
= Py_None
;
5762 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5764 wxListBox
*arg1
= (wxListBox
*) 0 ;
5765 wxString
*arg2
= 0 ;
5766 bool arg3
= (bool) True
;
5768 bool temp2
= False
;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5771 PyObject
* obj2
= 0 ;
5773 (char *) "self",(char *) "s",(char *) "select", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5780 arg2
= wxString_in_helper(obj1
);
5781 if (arg2
== NULL
) SWIG_fail
;
5785 arg3
= (bool) SWIG_AsBool(obj2
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5812 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxListBox
*arg1
= (wxListBox
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5818 (char *) "self", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5838 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxListBox
*arg1
= (wxListBox
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5845 (char *) "self",(char *) "n", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (int) SWIG_AsInt(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->SetFirstItem(arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5867 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxListBox
*arg1
= (wxListBox
*) 0 ;
5870 wxString
*arg2
= 0 ;
5871 bool temp2
= False
;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5875 (char *) "self",(char *) "s", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5882 arg2
= wxString_in_helper(obj1
);
5883 if (arg2
== NULL
) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5908 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxListBox
*arg1
= (wxListBox
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5915 (char *) "self",(char *) "n", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5921 arg2
= (int) SWIG_AsInt(obj1
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 (arg1
)->EnsureVisible(arg2
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxListBox
*arg1
= (wxListBox
*) 0 ;
5940 wxString
*arg2
= 0 ;
5941 bool temp2
= False
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5945 (char *) "self",(char *) "s", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 arg2
= wxString_in_helper(obj1
);
5953 if (arg2
== NULL
) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxListBox
*arg1
= (wxListBox
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "self", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6006 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxListBox
*arg1
= (wxListBox
*) 0 ;
6010 wxColour
*arg3
= 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 PyObject
* obj2
= 0 ;
6016 (char *) "self",(char *) "item",(char *) "c", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 arg2
= (int) SWIG_AsInt(obj1
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 Py_INCREF(Py_None
); resultobj
= Py_None
;
6042 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxListBox
*arg1
= (wxListBox
*) 0 ;
6046 wxColour
*arg3
= 0 ;
6048 PyObject
* obj0
= 0 ;
6049 PyObject
* obj1
= 0 ;
6050 PyObject
* obj2
= 0 ;
6052 (char *) "self",(char *) "item",(char *) "c", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6058 arg2
= (int) SWIG_AsInt(obj1
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 Py_INCREF(Py_None
); resultobj
= Py_None
;
6078 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxListBox
*arg1
= (wxListBox
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6085 PyObject
* obj2
= 0 ;
6087 (char *) "self",(char *) "item",(char *) "f", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6093 arg2
= (int) SWIG_AsInt(obj1
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6095 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6099 PyErr_SetString(PyExc_TypeError
,"null reference");
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 Py_INCREF(Py_None
); resultobj
= Py_None
;
6116 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6119 wxVisualAttributes result
;
6120 PyObject
* obj0
= 0 ;
6122 (char *) "variant", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6127 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 wxVisualAttributes
* resultptr
;
6139 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6148 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6151 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6153 return Py_BuildValue((char *)"");
6155 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxWindow
*arg1
= (wxWindow
*) 0 ;
6159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6163 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6164 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6165 long arg6
= (long) 0 ;
6166 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6167 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6168 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6170 wxCheckListBox
*result
;
6173 bool temp5
= False
;
6174 bool temp8
= False
;
6175 PyObject
* obj0
= 0 ;
6176 PyObject
* obj1
= 0 ;
6177 PyObject
* obj2
= 0 ;
6178 PyObject
* obj3
= 0 ;
6179 PyObject
* obj4
= 0 ;
6180 PyObject
* obj5
= 0 ;
6181 PyObject
* obj6
= 0 ;
6182 PyObject
* obj7
= 0 ;
6184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6190 arg2
= (int) SWIG_AsInt(obj1
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6201 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6206 if (! PySequence_Check(obj4
)) {
6207 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6210 arg5
= new wxArrayString
;
6212 int i
, len
=PySequence_Length(obj4
);
6213 for (i
=0; i
<len
; i
++) {
6214 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6216 PyObject
* str
= PyObject_Unicode(item
);
6218 PyObject
* str
= PyObject_Str(item
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6221 arg5
->Add(Py2wxString(str
));
6228 arg6
= (long) SWIG_AsLong(obj5
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6232 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6236 PyErr_SetString(PyExc_TypeError
,"null reference");
6242 arg8
= wxString_in_helper(obj7
);
6243 if (arg8
== NULL
) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6256 if (temp5
) delete arg5
;
6265 if (temp5
) delete arg5
;
6275 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxCheckListBox
*result
;
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (wxCheckListBox
*)new wxCheckListBox();
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6297 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6300 wxWindow
*arg2
= (wxWindow
*) 0 ;
6302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6306 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6307 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6308 long arg7
= (long) 0 ;
6309 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6310 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6311 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6312 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6316 bool temp6
= False
;
6317 bool temp9
= False
;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 PyObject
* obj2
= 0 ;
6321 PyObject
* obj3
= 0 ;
6322 PyObject
* obj4
= 0 ;
6323 PyObject
* obj5
= 0 ;
6324 PyObject
* obj6
= 0 ;
6325 PyObject
* obj7
= 0 ;
6326 PyObject
* obj8
= 0 ;
6328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 arg3
= (int) SWIG_AsInt(obj2
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6341 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6347 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6352 if (! PySequence_Check(obj5
)) {
6353 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6356 arg6
= new wxArrayString
;
6358 int i
, len
=PySequence_Length(obj5
);
6359 for (i
=0; i
<len
; i
++) {
6360 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6362 PyObject
* str
= PyObject_Unicode(item
);
6364 PyObject
* str
= PyObject_Str(item
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6367 arg6
->Add(Py2wxString(str
));
6374 arg7
= (long) SWIG_AsLong(obj6
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6378 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6382 PyErr_SetString(PyExc_TypeError
,"null reference");
6388 arg9
= wxString_in_helper(obj8
);
6389 if (arg9
== NULL
) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 if (temp6
) delete arg6
;
6413 if (temp6
) delete arg6
;
6423 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "index", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 arg2
= (int) SWIG_AsInt(obj1
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (bool)(arg1
)->IsChecked(arg2
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6459 int arg3
= (int) True
;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6464 (char *) "self",(char *) "index",(char *) "check", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 arg2
= (int) SWIG_AsInt(obj1
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 arg3
= (int) SWIG_AsInt(obj2
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 (arg1
)->Check(arg2
,arg3
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 Py_INCREF(Py_None
); resultobj
= Py_None
;
6490 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6494 PyObject
* obj0
= 0 ;
6496 (char *) "self", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (int)(arg1
)->GetItemHeight();
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_FromInt((int)result
);
6516 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6518 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6525 (char *) "self",(char *) "pt", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_FromInt((int)result
);
6549 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
;
6551 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6556 PyObject
* obj1
= 0 ;
6557 PyObject
* obj2
= 0 ;
6559 (char *) "self",(char *) "x",(char *) "y", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6565 arg2
= (int) SWIG_AsInt(obj1
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6567 arg3
= (int) SWIG_AsInt(obj2
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_FromInt((int)result
);
6583 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6586 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6588 return Py_BuildValue((char *)"");
6590 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6591 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6596 static PyObject
*_wrap_TextCtrlNameStr_get() {
6601 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6603 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6610 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6611 PyObject
*resultobj
;
6614 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (wxTextAttr
*)new wxTextAttr();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6629 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6630 PyObject
*resultobj
;
6631 wxColour
*arg1
= 0 ;
6632 wxColour
const &arg2_defvalue
= wxNullColour
;
6633 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6634 wxFont
const &arg3_defvalue
= wxNullFont
;
6635 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6636 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 PyObject
* obj2
= 0 ;
6643 PyObject
* obj3
= 0 ;
6645 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6648 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6657 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6661 PyErr_SetString(PyExc_TypeError
,"null reference");
6666 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6683 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6688 argc
= PyObject_Length(args
);
6689 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6690 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6693 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6695 if ((argc
>= 1) && (argc
<= 4)) {
6698 _v
= wxColour_typecheck(argv
[0]);
6702 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6705 _v
= wxColour_typecheck(argv
[1]);
6709 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6713 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6722 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6724 _v
= SWIG_CheckInt(argv
[3]);
6726 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6733 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6738 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6743 (char *) "self", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6768 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6791 wxColour
*arg2
= 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6796 (char *) "self",(char *) "colText", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 Py_INCREF(Py_None
); resultobj
= Py_None
;
6820 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6823 wxColour
*arg2
= 0 ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6828 (char *) "self",(char *) "colBack", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6836 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 Py_INCREF(Py_None
); resultobj
= Py_None
;
6852 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6856 long arg3
= (long) wxTEXT_ATTR_FONT
;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 PyObject
* obj2
= 0 ;
6861 (char *) "self",(char *) "font",(char *) "flags", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6871 PyErr_SetString(PyExc_TypeError
,"null reference");
6875 arg3
= (long) SWIG_AsLong(obj2
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6899 (char *) "self",(char *) "alignment", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6905 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 Py_INCREF(Py_None
); resultobj
= Py_None
;
6921 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6924 wxArrayInt
*arg2
= 0 ;
6925 bool temp2
= False
;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6929 (char *) "self",(char *) "tabs", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6936 if (! PySequence_Check(obj1
)) {
6937 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6940 arg2
= new wxArrayInt
;
6942 int i
, len
=PySequence_Length(obj1
);
6943 for (i
=0; i
<len
; i
++) {
6944 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6945 PyObject
* number
= PyNumber_Int(item
);
6946 arg2
->Add(PyInt_AS_LONG(number
));
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 Py_INCREF(Py_None
); resultobj
= Py_None
;
6960 if (temp2
) delete arg2
;
6965 if (temp2
) delete arg2
;
6971 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6978 (char *) "self",(char *) "indent", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6984 arg2
= (int) SWIG_AsInt(obj1
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 (arg1
)->SetLeftIndent(arg2
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 Py_INCREF(Py_None
); resultobj
= Py_None
;
7000 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7007 (char *) "self",(char *) "indent", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 arg2
= (int) SWIG_AsInt(obj1
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 (arg1
)->SetRightIndent(arg2
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7029 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "flags", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7042 arg2
= (long) SWIG_AsLong(obj1
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->SetFlags(arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 Py_INCREF(Py_None
); resultobj
= Py_None
;
7058 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7086 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "self", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7114 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "self", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7142 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7170 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "self", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7198 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7204 (char *) "self", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7226 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "self", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7254 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7262 (char *) "self",(char *) "flag", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7268 arg2
= (long) SWIG_AsLong(obj1
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7286 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "self", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7302 result
= (wxColour
*) &_result_ref
;
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7315 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "self", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7331 result
= (wxColour
*) &_result_ref
;
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7344 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "self", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7360 result
= (wxFont
*) &_result_ref
;
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7367 wxFont
* resultptr
= new wxFont(*result
);
7368 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7376 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "self", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_FromInt((int)result
);
7402 static PyObject
*_wrap_TextAttr_GetTabs(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_GetTabs",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();
7417 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7418 result
= (wxArrayInt
*) &_result_ref
;
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= PyList_New(0);
7427 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7428 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7429 PyList_Append(resultobj
, val
);
7439 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7443 PyObject
* obj0
= 0 ;
7445 (char *) "self", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_FromLong((long)result
);
7465 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7471 (char *) "self", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= SWIG_FromLong((long)result
);
7491 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7497 (char *) "self", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_FromLong((long)result
);
7517 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7521 PyObject
* obj0
= 0 ;
7523 (char *) "self", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7545 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxTextAttr
*arg1
= 0 ;
7548 wxTextAttr
*arg2
= 0 ;
7549 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7553 PyObject
* obj2
= 0 ;
7555 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7563 PyErr_SetString(PyExc_TypeError
,"null reference");
7566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7570 PyErr_SetString(PyExc_TypeError
,"null reference");
7573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7583 wxTextAttr
* resultptr
;
7584 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7593 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7596 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7598 return Py_BuildValue((char *)"");
7600 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxWindow
*arg1
= (wxWindow
*) 0 ;
7604 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7605 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7610 long arg6
= (long) 0 ;
7611 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7612 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7613 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7614 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7616 bool temp3
= False
;
7619 bool temp8
= False
;
7620 PyObject
* obj0
= 0 ;
7621 PyObject
* obj1
= 0 ;
7622 PyObject
* obj2
= 0 ;
7623 PyObject
* obj3
= 0 ;
7624 PyObject
* obj4
= 0 ;
7625 PyObject
* obj5
= 0 ;
7626 PyObject
* obj6
= 0 ;
7627 PyObject
* obj7
= 0 ;
7629 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7635 arg2
= (int) SWIG_AsInt(obj1
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7639 arg3
= wxString_in_helper(obj2
);
7640 if (arg3
== NULL
) SWIG_fail
;
7647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7657 arg6
= (long) SWIG_AsLong(obj5
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7661 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7665 PyErr_SetString(PyExc_TypeError
,"null reference");
7671 arg8
= wxString_in_helper(obj7
);
7672 if (arg8
== NULL
) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= wxPyMake_wxObject(result
);
7708 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (wxTextCtrl
*)new wxTextCtrl();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= wxPyMake_wxObject(result
);
7732 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7735 wxWindow
*arg2
= (wxWindow
*) 0 ;
7737 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7738 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7739 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7740 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7741 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7742 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7743 long arg7
= (long) 0 ;
7744 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7745 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7746 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7747 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7749 bool temp4
= False
;
7752 bool temp9
= False
;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7755 PyObject
* obj2
= 0 ;
7756 PyObject
* obj3
= 0 ;
7757 PyObject
* obj4
= 0 ;
7758 PyObject
* obj5
= 0 ;
7759 PyObject
* obj6
= 0 ;
7760 PyObject
* obj7
= 0 ;
7761 PyObject
* obj8
= 0 ;
7763 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 arg3
= (int) SWIG_AsInt(obj2
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7775 arg4
= wxString_in_helper(obj3
);
7776 if (arg4
== NULL
) SWIG_fail
;
7783 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7789 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7793 arg7
= (long) SWIG_AsLong(obj6
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7797 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7801 PyErr_SetString(PyExc_TypeError
,"null reference");
7807 arg9
= wxString_in_helper(obj8
);
7808 if (arg9
== NULL
) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7844 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7848 PyObject
* obj0
= 0 ;
7850 (char *) "self", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7876 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7879 wxString
*arg2
= 0 ;
7880 bool temp2
= False
;
7881 PyObject
* obj0
= 0 ;
7882 PyObject
* obj1
= 0 ;
7884 (char *) "self",(char *) "value", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 arg2
= wxString_in_helper(obj1
);
7892 if (arg2
== NULL
) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 (arg1
)->SetValue((wxString
const &)*arg2
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7925 PyObject
* obj2
= 0 ;
7927 (char *) "self",(char *) "from",(char *) "to", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 arg2
= (long) SWIG_AsLong(obj1
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7935 arg3
= (long) SWIG_AsLong(obj2
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7957 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "self",(char *) "lineNo", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7971 arg2
= (long) SWIG_AsLong(obj1
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_FromInt((int)result
);
7987 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7993 PyObject
* obj1
= 0 ;
7995 (char *) "self",(char *) "lineNo", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 arg2
= (long) SWIG_AsLong(obj1
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8023 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8027 PyObject
* obj0
= 0 ;
8029 (char *) "self", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_FromInt((int)result
);
8049 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8077 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "self", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8105 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8133 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8161 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8164 long *arg2
= (long *) 0 ;
8165 long *arg3
= (long *) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8187 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8188 resultobj
= t_output_helper(resultobj
,o
);
8191 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8192 resultobj
= t_output_helper(resultobj
,o
);
8200 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8206 (char *) "self", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8232 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8237 (char *) "self", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 Py_INCREF(Py_None
); resultobj
= Py_None
;
8257 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8262 wxString
*arg4
= 0 ;
8263 bool temp4
= False
;
8264 PyObject
* obj0
= 0 ;
8265 PyObject
* obj1
= 0 ;
8266 PyObject
* obj2
= 0 ;
8267 PyObject
* obj3
= 0 ;
8269 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8275 arg2
= (long) SWIG_AsLong(obj1
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8277 arg3
= (long) SWIG_AsLong(obj2
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 arg4
= wxString_in_helper(obj3
);
8281 if (arg4
== NULL
) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8313 PyObject
* obj2
= 0 ;
8315 (char *) "self",(char *) "from",(char *) "to", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 arg2
= (long) SWIG_AsLong(obj1
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8323 arg3
= (long) SWIG_AsLong(obj2
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 (arg1
)->Remove(arg2
,arg3
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 Py_INCREF(Py_None
); resultobj
= Py_None
;
8339 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8342 wxString
*arg2
= 0 ;
8344 bool temp2
= False
;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 (char *) "self",(char *) "file", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8355 arg2
= wxString_in_helper(obj1
);
8356 if (arg2
== NULL
) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8383 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8386 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8387 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8389 bool temp2
= False
;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "file", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8401 arg2
= wxString_in_helper(obj1
);
8402 if (arg2
== NULL
) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8430 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "self", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->MarkDirty();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",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 (arg1
)->DiscardEdits();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8483 unsigned long arg2
;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8487 (char *) "self",(char *) "len", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8493 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 (arg1
)->SetMaxLength(arg2
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 Py_INCREF(Py_None
); resultobj
= Py_None
;
8509 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8512 wxString
*arg2
= 0 ;
8513 bool temp2
= False
;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8517 (char *) "self",(char *) "text", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 arg2
= wxString_in_helper(obj1
);
8525 if (arg2
== NULL
) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 (arg1
)->WriteText((wxString
const &)*arg2
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 Py_INCREF(Py_None
); resultobj
= Py_None
;
8550 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8553 wxString
*arg2
= 0 ;
8554 bool temp2
= False
;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8558 (char *) "self",(char *) "text", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8565 arg2
= wxString_in_helper(obj1
);
8566 if (arg2
== NULL
) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 (arg1
)->AppendText((wxString
const &)*arg2
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 Py_INCREF(Py_None
); resultobj
= Py_None
;
8591 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8594 wxKeyEvent
*arg2
= 0 ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8599 (char *) "self",(char *) "event", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8609 PyErr_SetString(PyExc_TypeError
,"null reference");
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8628 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8633 wxTextAttr
*arg4
= 0 ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8637 PyObject
* obj2
= 0 ;
8638 PyObject
* obj3
= 0 ;
8640 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 arg2
= (long) SWIG_AsLong(obj1
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8648 arg3
= (long) SWIG_AsLong(obj2
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8650 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8654 PyErr_SetString(PyExc_TypeError
,"null reference");
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8673 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8677 wxTextAttr
*arg3
= 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 PyObject
* obj2
= 0 ;
8683 (char *) "self",(char *) "position",(char *) "style", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8689 arg2
= (long) SWIG_AsLong(obj1
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8691 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8695 PyErr_SetString(PyExc_TypeError
,"null reference");
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8714 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8717 wxTextAttr
*arg2
= 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8722 (char *) "self",(char *) "style", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8732 PyErr_SetString(PyExc_TypeError
,"null reference");
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8751 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8755 PyObject
* obj0
= 0 ;
8757 (char *) "self", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8767 result
= (wxTextAttr
*) &_result_ref
;
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8780 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8788 PyObject
* obj2
= 0 ;
8790 (char *) "self",(char *) "x",(char *) "y", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8796 arg2
= (long) SWIG_AsLong(obj1
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8798 arg3
= (long) SWIG_AsLong(obj2
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= SWIG_FromLong((long)result
);
8814 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8818 long *arg3
= (long *) 0 ;
8819 long *arg4
= (long *) 0 ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8825 (char *) "self",(char *) "pos", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 arg2
= (long) SWIG_AsLong(obj1
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8845 resultobj
= t_output_helper(resultobj
,o
);
8848 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8849 resultobj
= t_output_helper(resultobj
,o
);
8857 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8864 (char *) "self",(char *) "pos", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 arg2
= (long) SWIG_AsLong(obj1
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 (arg1
)->ShowPosition(arg2
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 Py_INCREF(Py_None
); resultobj
= Py_None
;
8886 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8890 long *arg3
= (long *) 0 ;
8891 long *arg4
= (long *) 0 ;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8899 (char *) "self",(char *) "pt", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_FromInt((int)result
);
8920 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8921 resultobj
= t_output_helper(resultobj
,o
);
8924 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8925 resultobj
= t_output_helper(resultobj
,o
);
8933 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 Py_INCREF(Py_None
); resultobj
= Py_None
;
8983 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9014 (char *) "self", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9036 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9064 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9070 (char *) "self", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9092 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9095 PyObject
* obj0
= 0 ;
9097 (char *) "self", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 Py_INCREF(Py_None
); resultobj
= Py_None
;
9117 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 Py_INCREF(Py_None
); resultobj
= Py_None
;
9142 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9148 (char *) "self", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9170 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9198 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9205 (char *) "self",(char *) "pos", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9211 arg2
= (long) SWIG_AsLong(obj1
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->SetInsertionPoint(arg2
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 Py_INCREF(Py_None
); resultobj
= Py_None
;
9227 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
;
9229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9232 (char *) "self", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 (arg1
)->SetInsertionPointEnd();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 Py_INCREF(Py_None
); resultobj
= Py_None
;
9252 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9258 (char *) "self", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_FromLong((long)result
);
9278 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "self", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_FromLong((long)result
);
9304 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9311 PyObject
* obj2
= 0 ;
9313 (char *) "self",(char *) "from",(char *) "to", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9319 arg2
= (long) SWIG_AsLong(obj1
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9321 arg3
= (long) SWIG_AsLong(obj2
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 (arg1
)->SetSelection(arg2
,arg3
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SelectAll();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 Py_INCREF(Py_None
); resultobj
= Py_None
;
9362 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9369 (char *) "self",(char *) "editable", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9375 arg2
= (bool) SWIG_AsBool(obj1
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->SetEditable(arg2
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9394 wxString
*arg2
= 0 ;
9395 bool temp2
= False
;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9399 (char *) "self",(char *) "text", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 arg2
= wxString_in_helper(obj1
);
9407 if (arg2
== NULL
) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 Py_INCREF(Py_None
); resultobj
= Py_None
;
9432 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 PyObject
* obj2
= 0 ;
9442 (char *) "self",(char *) "from",(char *) "to", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 arg2
= (long) SWIG_AsLong(obj1
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9450 arg3
= (long) SWIG_AsLong(obj2
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9472 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9475 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9477 return Py_BuildValue((char *)"");
9479 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9482 wxMouseEvent
*arg2
= 0 ;
9485 wxTextUrlEvent
*result
;
9486 PyObject
* obj0
= 0 ;
9487 PyObject
* obj1
= 0 ;
9488 PyObject
* obj2
= 0 ;
9489 PyObject
* obj3
= 0 ;
9491 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9495 arg1
= (int) SWIG_AsInt(obj0
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9501 PyErr_SetString(PyExc_TypeError
,"null reference");
9504 arg3
= (long) SWIG_AsLong(obj2
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9506 arg4
= (long) SWIG_AsLong(obj3
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9522 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9525 wxMouseEvent
*result
;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9538 result
= (wxMouseEvent
*) &_result_ref
;
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9551 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_FromLong((long)result
);
9577 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_FromLong((long)result
);
9603 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9606 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9608 return Py_BuildValue((char *)"");
9610 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9611 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9616 static PyObject
*_wrap_ScrollBarNameStr_get() {
9621 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9623 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9630 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxWindow
*arg1
= (wxWindow
*) 0 ;
9633 int arg2
= (int) -1 ;
9634 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9635 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9636 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9637 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9638 long arg5
= (long) wxSB_HORIZONTAL
;
9639 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9640 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9641 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9642 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9643 wxScrollBar
*result
;
9646 bool temp7
= False
;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 PyObject
* obj2
= 0 ;
9650 PyObject
* obj3
= 0 ;
9651 PyObject
* obj4
= 0 ;
9652 PyObject
* obj5
= 0 ;
9653 PyObject
* obj6
= 0 ;
9655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9662 arg2
= (int) SWIG_AsInt(obj1
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9668 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9674 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9678 arg5
= (long) SWIG_AsLong(obj4
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9686 PyErr_SetString(PyExc_TypeError
,"null reference");
9692 arg7
= wxString_in_helper(obj6
);
9693 if (arg7
== NULL
) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9719 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxScrollBar
*result
;
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (wxScrollBar
*)new wxScrollBar();
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9741 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9744 wxWindow
*arg2
= (wxWindow
*) 0 ;
9745 int arg3
= (int) -1 ;
9746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9750 long arg6
= (long) wxSB_HORIZONTAL
;
9751 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9752 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9753 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9758 bool temp8
= False
;
9759 PyObject
* obj0
= 0 ;
9760 PyObject
* obj1
= 0 ;
9761 PyObject
* obj2
= 0 ;
9762 PyObject
* obj3
= 0 ;
9763 PyObject
* obj4
= 0 ;
9764 PyObject
* obj5
= 0 ;
9765 PyObject
* obj6
= 0 ;
9766 PyObject
* obj7
= 0 ;
9768 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9777 arg3
= (int) SWIG_AsInt(obj2
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9793 arg6
= (long) SWIG_AsLong(obj5
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9801 PyErr_SetString(PyExc_TypeError
,"null reference");
9807 arg8
= wxString_in_helper(obj7
);
9808 if (arg8
== NULL
) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9836 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9842 (char *) "self", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_FromInt((int)result
);
9862 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "self", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= SWIG_FromInt((int)result
);
9888 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_FromInt((int)result
);
9914 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_FromInt((int)result
);
9940 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9968 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9975 (char *) "self",(char *) "viewStart", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9981 arg2
= (int) SWIG_AsInt(obj1
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 (arg1
)->SetThumbPosition(arg2
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 Py_INCREF(Py_None
); resultobj
= Py_None
;
9997 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10004 bool arg6
= (bool) True
;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 PyObject
* obj2
= 0 ;
10008 PyObject
* obj3
= 0 ;
10009 PyObject
* obj4
= 0 ;
10010 PyObject
* obj5
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 arg2
= (int) SWIG_AsInt(obj1
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10020 arg3
= (int) SWIG_AsInt(obj2
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10022 arg4
= (int) SWIG_AsInt(obj3
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10024 arg5
= (int) SWIG_AsInt(obj4
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 arg6
= (bool) SWIG_AsBool(obj5
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 Py_INCREF(Py_None
); resultobj
= Py_None
;
10044 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10047 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10049 return Py_BuildValue((char *)"");
10051 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10052 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10057 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10062 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10064 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10071 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10072 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10077 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10082 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10084 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10091 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxWindow
*arg1
= (wxWindow
*) 0 ;
10094 int arg2
= (int) -1 ;
10095 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10096 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10097 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10098 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10099 long arg5
= (long) wxSP_HORIZONTAL
;
10100 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10101 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10102 wxSpinButton
*result
;
10105 bool temp6
= False
;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 PyObject
* obj2
= 0 ;
10109 PyObject
* obj3
= 0 ;
10110 PyObject
* obj4
= 0 ;
10111 PyObject
* obj5
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10120 arg2
= (int) SWIG_AsInt(obj1
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10136 arg5
= (long) SWIG_AsLong(obj4
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10141 arg6
= wxString_in_helper(obj5
);
10142 if (arg6
== NULL
) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10168 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxSpinButton
*result
;
10171 char *kwnames
[] = {
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxSpinButton
*)new wxSpinButton();
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10190 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10193 wxWindow
*arg2
= (wxWindow
*) 0 ;
10194 int arg3
= (int) -1 ;
10195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10199 long arg6
= (long) wxSP_HORIZONTAL
;
10200 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10205 bool temp7
= False
;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 PyObject
* obj2
= 0 ;
10209 PyObject
* obj3
= 0 ;
10210 PyObject
* obj4
= 0 ;
10211 PyObject
* obj5
= 0 ;
10212 PyObject
* obj6
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10223 arg3
= (int) SWIG_AsInt(obj2
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10239 arg6
= (long) SWIG_AsLong(obj5
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10244 arg7
= wxString_in_helper(obj6
);
10245 if (arg7
== NULL
) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10273 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_FromInt((int)result
);
10299 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_FromInt((int)result
);
10325 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_FromInt((int)result
);
10351 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "val", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10364 arg2
= (int) SWIG_AsInt(obj1
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetValue(arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 Py_INCREF(Py_None
); resultobj
= Py_None
;
10380 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "minVal", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10393 arg2
= (int) SWIG_AsInt(obj1
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->SetMin(arg2
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 PyObject
* obj1
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self",(char *) "maxVal", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10422 arg2
= (int) SWIG_AsInt(obj1
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 (arg1
)->SetMax(arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 PyObject
* obj2
= 0 ;
10446 char *kwnames
[] = {
10447 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 arg2
= (int) SWIG_AsInt(obj1
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10455 arg3
= (int) SWIG_AsInt(obj2
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 (arg1
)->SetRange(arg2
,arg3
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 Py_INCREF(Py_None
); resultobj
= Py_None
;
10471 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10499 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10502 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10504 return Py_BuildValue((char *)"");
10506 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxWindow
*arg1
= (wxWindow
*) 0 ;
10509 int arg2
= (int) -1 ;
10510 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10511 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10512 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10513 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10514 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10515 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10516 long arg6
= (long) wxSP_ARROW_KEYS
;
10517 int arg7
= (int) 0 ;
10518 int arg8
= (int) 100 ;
10519 int arg9
= (int) 0 ;
10520 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10521 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10522 wxSpinCtrl
*result
;
10523 bool temp3
= False
;
10526 bool temp10
= False
;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 PyObject
* obj2
= 0 ;
10530 PyObject
* obj3
= 0 ;
10531 PyObject
* obj4
= 0 ;
10532 PyObject
* obj5
= 0 ;
10533 PyObject
* obj6
= 0 ;
10534 PyObject
* obj7
= 0 ;
10535 PyObject
* obj8
= 0 ;
10536 PyObject
* obj9
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 arg2
= (int) SWIG_AsInt(obj1
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10550 arg3
= wxString_in_helper(obj2
);
10551 if (arg3
== NULL
) SWIG_fail
;
10558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10568 arg6
= (long) SWIG_AsLong(obj5
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 arg7
= (int) SWIG_AsInt(obj6
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 arg8
= (int) SWIG_AsInt(obj7
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 arg9
= (int) SWIG_AsInt(obj8
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10585 arg10
= wxString_in_helper(obj9
);
10586 if (arg10
== NULL
) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10620 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxSpinCtrl
*result
;
10623 char *kwnames
[] = {
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10642 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10645 wxWindow
*arg2
= (wxWindow
*) 0 ;
10646 int arg3
= (int) -1 ;
10647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10653 long arg7
= (long) wxSP_ARROW_KEYS
;
10654 int arg8
= (int) 0 ;
10655 int arg9
= (int) 100 ;
10656 int arg10
= (int) 0 ;
10657 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10658 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10660 bool temp4
= False
;
10663 bool temp11
= False
;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 PyObject
* obj2
= 0 ;
10667 PyObject
* obj3
= 0 ;
10668 PyObject
* obj4
= 0 ;
10669 PyObject
* obj5
= 0 ;
10670 PyObject
* obj6
= 0 ;
10671 PyObject
* obj7
= 0 ;
10672 PyObject
* obj8
= 0 ;
10673 PyObject
* obj9
= 0 ;
10674 PyObject
* obj10
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10685 arg3
= (int) SWIG_AsInt(obj2
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10690 arg4
= wxString_in_helper(obj3
);
10691 if (arg4
== NULL
) SWIG_fail
;
10698 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10704 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10708 arg7
= (long) SWIG_AsLong(obj6
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10712 arg8
= (int) SWIG_AsInt(obj7
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 arg9
= (int) SWIG_AsInt(obj8
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10720 arg10
= (int) SWIG_AsInt(obj9
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10725 arg11
= wxString_in_helper(obj10
);
10726 if (arg11
== NULL
) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10762 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_FromInt((int)result
);
10788 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "value", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10801 arg2
= (int) SWIG_AsInt(obj1
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 (arg1
)->SetValue(arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10820 wxString
*arg2
= 0 ;
10821 bool temp2
= False
;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "text", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 arg2
= wxString_in_helper(obj1
);
10833 if (arg2
== NULL
) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetValue((wxString
const &)*arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 PyObject
* obj2
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10873 arg2
= (int) SWIG_AsInt(obj1
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10875 arg3
= (int) SWIG_AsInt(obj2
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->SetRange(arg2
,arg3
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_FromInt((int)result
);
10917 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10921 PyObject
* obj0
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= SWIG_FromInt((int)result
);
10943 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 PyObject
* obj2
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self",(char *) "from",(char *) "to", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10958 arg2
= (long) SWIG_AsLong(obj1
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10960 arg3
= (long) SWIG_AsLong(obj2
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 (arg1
)->SetSelection(arg2
,arg3
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 Py_INCREF(Py_None
); resultobj
= Py_None
;
10976 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10979 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10981 return Py_BuildValue((char *)"");
10983 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10986 int arg2
= (int) 0 ;
10987 wxSpinEvent
*result
;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "commandType",(char *) "winid", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10996 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 arg2
= (int) SWIG_AsInt(obj1
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11017 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= SWIG_FromInt((int)result
);
11043 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self",(char *) "pos", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 arg2
= (int) SWIG_AsInt(obj1
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 (arg1
)->SetPosition(arg2
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11065 Py_INCREF(Py_None
); resultobj
= Py_None
;
11072 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11075 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11077 return Py_BuildValue((char *)"");
11079 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11080 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11085 static PyObject
*_wrap_RadioBoxNameStr_get() {
11090 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11092 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11099 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11100 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11105 static PyObject
*_wrap_RadioButtonNameStr_get() {
11110 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11112 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11119 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxWindow
*arg1
= (wxWindow
*) 0 ;
11123 wxString
*arg3
= 0 ;
11124 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11125 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11126 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11127 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11128 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11129 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11130 int arg7
= (int) 0 ;
11131 long arg8
= (long) wxRA_HORIZONTAL
;
11132 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11133 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11134 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11135 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11136 wxRadioBox
*result
;
11137 bool temp3
= False
;
11140 bool temp6
= False
;
11141 bool temp10
= False
;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 PyObject
* obj2
= 0 ;
11145 PyObject
* obj3
= 0 ;
11146 PyObject
* obj4
= 0 ;
11147 PyObject
* obj5
= 0 ;
11148 PyObject
* obj6
= 0 ;
11149 PyObject
* obj7
= 0 ;
11150 PyObject
* obj8
= 0 ;
11151 PyObject
* obj9
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 arg2
= (int) SWIG_AsInt(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 arg3
= wxString_in_helper(obj2
);
11163 if (arg3
== NULL
) SWIG_fail
;
11169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11180 if (! PySequence_Check(obj5
)) {
11181 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11184 arg6
= new wxArrayString
;
11186 int i
, len
=PySequence_Length(obj5
);
11187 for (i
=0; i
<len
; i
++) {
11188 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11190 PyObject
* str
= PyObject_Unicode(item
);
11192 PyObject
* str
= PyObject_Str(item
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11195 arg6
->Add(Py2wxString(str
));
11202 arg7
= (int) SWIG_AsInt(obj6
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 arg8
= (long) SWIG_AsLong(obj7
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11210 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11213 if (arg9
== NULL
) {
11214 PyErr_SetString(PyExc_TypeError
,"null reference");
11220 arg10
= wxString_in_helper(obj9
);
11221 if (arg10
== NULL
) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 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
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11238 if (temp6
) delete arg6
;
11251 if (temp6
) delete arg6
;
11261 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxRadioBox
*result
;
11264 char *kwnames
[] = {
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (wxRadioBox
*)new wxRadioBox();
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11283 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11286 wxWindow
*arg2
= (wxWindow
*) 0 ;
11288 wxString
*arg4
= 0 ;
11289 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11290 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11291 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11292 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11293 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11294 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11295 int arg8
= (int) 0 ;
11296 long arg9
= (long) wxRA_HORIZONTAL
;
11297 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11298 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11299 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11300 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11302 bool temp4
= False
;
11305 bool temp7
= False
;
11306 bool temp11
= False
;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 PyObject
* obj2
= 0 ;
11310 PyObject
* obj3
= 0 ;
11311 PyObject
* obj4
= 0 ;
11312 PyObject
* obj5
= 0 ;
11313 PyObject
* obj6
= 0 ;
11314 PyObject
* obj7
= 0 ;
11315 PyObject
* obj8
= 0 ;
11316 PyObject
* obj9
= 0 ;
11317 PyObject
* obj10
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 arg3
= (int) SWIG_AsInt(obj2
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 arg4
= wxString_in_helper(obj3
);
11331 if (arg4
== NULL
) SWIG_fail
;
11337 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11343 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11348 if (! PySequence_Check(obj6
)) {
11349 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11352 arg7
= new wxArrayString
;
11354 int i
, len
=PySequence_Length(obj6
);
11355 for (i
=0; i
<len
; i
++) {
11356 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11358 PyObject
* str
= PyObject_Unicode(item
);
11360 PyObject
* str
= PyObject_Str(item
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11363 arg7
->Add(Py2wxString(str
));
11370 arg8
= (int) SWIG_AsInt(obj7
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 arg9
= (long) SWIG_AsLong(obj8
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11381 if (arg10
== NULL
) {
11382 PyErr_SetString(PyExc_TypeError
,"null reference");
11388 arg11
= wxString_in_helper(obj10
);
11389 if (arg11
== NULL
) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 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
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11408 if (temp7
) delete arg7
;
11421 if (temp7
) delete arg7
;
11431 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self",(char *) "n", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11444 arg2
= (int) SWIG_AsInt(obj1
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 (arg1
)->SetSelection(arg2
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 Py_INCREF(Py_None
); resultobj
= Py_None
;
11460 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11464 PyObject
* obj0
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_FromInt((int)result
);
11486 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11518 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11521 wxString
*arg2
= 0 ;
11523 bool temp2
= False
;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "s", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 arg2
= wxString_in_helper(obj1
);
11535 if (arg2
== NULL
) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11562 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11566 PyObject
* obj0
= 0 ;
11567 char *kwnames
[] = {
11568 (char *) "self", NULL
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= SWIG_FromInt((int)result
);
11588 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11591 wxString
*arg2
= 0 ;
11593 bool temp2
= False
;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "s", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11604 arg2
= wxString_in_helper(obj1
);
11605 if (arg2
== NULL
) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_FromInt((int)result
);
11630 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj1
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self",(char *) "n", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11644 arg2
= (int) SWIG_AsInt(obj1
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11666 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11670 wxString
*arg3
= 0 ;
11671 bool temp3
= False
;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 PyObject
* obj2
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self",(char *) "n",(char *) "label", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11682 arg2
= (int) SWIG_AsInt(obj1
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 arg3
= wxString_in_helper(obj2
);
11686 if (arg3
== NULL
) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 Py_INCREF(Py_None
); resultobj
= Py_None
;
11711 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11715 bool arg3
= (bool) True
;
11716 PyObject
* obj0
= 0 ;
11717 PyObject
* obj1
= 0 ;
11718 PyObject
* obj2
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self",(char *) "n",(char *) "enable", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11726 arg2
= (int) SWIG_AsInt(obj1
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 arg3
= (bool) SWIG_AsBool(obj2
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 (arg1
)->Enable(arg2
,arg3
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 Py_INCREF(Py_None
); resultobj
= Py_None
;
11746 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11750 bool arg3
= (bool) True
;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 PyObject
* obj2
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "n",(char *) "show", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 arg2
= (int) SWIG_AsInt(obj1
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 arg3
= (bool) SWIG_AsBool(obj2
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 (arg1
)->Show(arg2
,arg3
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 Py_INCREF(Py_None
); resultobj
= Py_None
;
11781 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "self", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_FromInt((int)result
);
11807 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11811 PyObject
* obj0
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_FromInt((int)result
);
11833 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 PyObject
* obj2
= 0 ;
11843 PyObject
* obj3
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11851 arg2
= (int) SWIG_AsInt(obj1
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11853 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11855 arg4
= (long) SWIG_AsLong(obj3
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_FromInt((int)result
);
11871 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11874 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11876 return Py_BuildValue((char *)"");
11878 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxWindow
*arg1
= (wxWindow
*) 0 ;
11882 wxString
*arg3
= 0 ;
11883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11887 long arg6
= (long) 0 ;
11888 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11889 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11890 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11891 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11892 wxRadioButton
*result
;
11893 bool temp3
= False
;
11896 bool temp8
= False
;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 PyObject
* obj2
= 0 ;
11900 PyObject
* obj3
= 0 ;
11901 PyObject
* obj4
= 0 ;
11902 PyObject
* obj5
= 0 ;
11903 PyObject
* obj6
= 0 ;
11904 PyObject
* obj7
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11912 arg2
= (int) SWIG_AsInt(obj1
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 arg3
= wxString_in_helper(obj2
);
11916 if (arg3
== NULL
) SWIG_fail
;
11922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11932 arg6
= (long) SWIG_AsLong(obj5
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11936 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11939 if (arg7
== NULL
) {
11940 PyErr_SetString(PyExc_TypeError
,"null reference");
11946 arg8
= wxString_in_helper(obj7
);
11947 if (arg8
== NULL
) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11981 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxRadioButton
*result
;
11984 char *kwnames
[] = {
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (wxRadioButton
*)new wxRadioButton();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12003 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12006 wxWindow
*arg2
= (wxWindow
*) 0 ;
12008 wxString
*arg4
= 0 ;
12009 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12010 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12011 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12012 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12013 long arg7
= (long) 0 ;
12014 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12015 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12016 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12017 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12019 bool temp4
= False
;
12022 bool temp9
= False
;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 PyObject
* obj2
= 0 ;
12026 PyObject
* obj3
= 0 ;
12027 PyObject
* obj4
= 0 ;
12028 PyObject
* obj5
= 0 ;
12029 PyObject
* obj6
= 0 ;
12030 PyObject
* obj7
= 0 ;
12031 PyObject
* obj8
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 arg3
= (int) SWIG_AsInt(obj2
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 arg4
= wxString_in_helper(obj3
);
12045 if (arg4
== NULL
) SWIG_fail
;
12051 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12057 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12061 arg7
= (long) SWIG_AsLong(obj6
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12065 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12068 if (arg8
== NULL
) {
12069 PyErr_SetString(PyExc_TypeError
,"null reference");
12075 arg9
= wxString_in_helper(obj8
);
12076 if (arg9
== NULL
) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12112 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (bool)(arg1
)->GetValue();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12140 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self",(char *) "value", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12153 arg2
= (bool) SWIG_AsBool(obj1
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetValue(arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12169 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12172 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12174 return Py_BuildValue((char *)"");
12176 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12177 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12182 static PyObject
*_wrap_SliderNameStr_get() {
12187 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12189 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12196 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxWindow
*arg1
= (wxWindow
*) 0 ;
12203 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12204 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12205 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12206 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12207 long arg8
= (long) wxSL_HORIZONTAL
;
12208 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12209 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12210 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12211 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12215 bool temp10
= False
;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 PyObject
* obj2
= 0 ;
12219 PyObject
* obj3
= 0 ;
12220 PyObject
* obj4
= 0 ;
12221 PyObject
* obj5
= 0 ;
12222 PyObject
* obj6
= 0 ;
12223 PyObject
* obj7
= 0 ;
12224 PyObject
* obj8
= 0 ;
12225 PyObject
* obj9
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 arg2
= (int) SWIG_AsInt(obj1
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12235 arg3
= (int) SWIG_AsInt(obj2
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12237 arg4
= (int) SWIG_AsInt(obj3
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12239 arg5
= (int) SWIG_AsInt(obj4
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12244 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12250 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12254 arg8
= (long) SWIG_AsLong(obj7
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12261 if (arg9
== NULL
) {
12262 PyErr_SetString(PyExc_TypeError
,"null reference");
12268 arg10
= wxString_in_helper(obj9
);
12269 if (arg10
== NULL
) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12295 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12298 char *kwnames
[] = {
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (wxSlider
*)new wxSlider();
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12317 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxSlider
*arg1
= (wxSlider
*) 0 ;
12320 wxWindow
*arg2
= (wxWindow
*) 0 ;
12325 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12326 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12327 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12328 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12329 long arg9
= (long) wxSL_HORIZONTAL
;
12330 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12331 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12332 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12333 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12337 bool temp11
= False
;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 PyObject
* obj2
= 0 ;
12341 PyObject
* obj3
= 0 ;
12342 PyObject
* obj4
= 0 ;
12343 PyObject
* obj5
= 0 ;
12344 PyObject
* obj6
= 0 ;
12345 PyObject
* obj7
= 0 ;
12346 PyObject
* obj8
= 0 ;
12347 PyObject
* obj9
= 0 ;
12348 PyObject
* obj10
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 arg3
= (int) SWIG_AsInt(obj2
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12360 arg4
= (int) SWIG_AsInt(obj3
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12362 arg5
= (int) SWIG_AsInt(obj4
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12364 arg6
= (int) SWIG_AsInt(obj5
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12369 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12375 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12379 arg9
= (long) SWIG_AsLong(obj8
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12386 if (arg10
== NULL
) {
12387 PyErr_SetString(PyExc_TypeError
,"null reference");
12393 arg11
= wxString_in_helper(obj10
);
12394 if (arg11
== NULL
) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12422 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxSlider
*arg1
= (wxSlider
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_FromInt((int)result
);
12448 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxSlider
*arg1
= (wxSlider
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "value", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 arg2
= (int) SWIG_AsInt(obj1
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetValue(arg2
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 Py_INCREF(Py_None
); resultobj
= Py_None
;
12477 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxSlider
*arg1
= (wxSlider
*) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 PyObject
* obj2
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 arg2
= (int) SWIG_AsInt(obj1
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12494 arg3
= (int) SWIG_AsInt(obj2
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->SetRange(arg2
,arg3
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxSlider
*arg1
= (wxSlider
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_FromInt((int)result
);
12536 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxSlider
*arg1
= (wxSlider
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= SWIG_FromInt((int)result
);
12562 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxSlider
*arg1
= (wxSlider
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self",(char *) "minValue", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 arg2
= (int) SWIG_AsInt(obj1
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetMin(arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxSlider
*arg1
= (wxSlider
*) 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "maxValue", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 arg2
= (int) SWIG_AsInt(obj1
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetMax(arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxSlider
*arg1
= (wxSlider
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self",(char *) "lineSize", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 arg2
= (int) SWIG_AsInt(obj1
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 (arg1
)->SetLineSize(arg2
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 Py_INCREF(Py_None
); resultobj
= Py_None
;
12649 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
;
12651 wxSlider
*arg1
= (wxSlider
*) 0 ;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self",(char *) "pageSize", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12662 arg2
= (int) SWIG_AsInt(obj1
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 (arg1
)->SetPageSize(arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 Py_INCREF(Py_None
); resultobj
= Py_None
;
12678 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxSlider
*arg1
= (wxSlider
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= SWIG_FromInt((int)result
);
12704 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxSlider
*arg1
= (wxSlider
*) 0 ;
12708 PyObject
* obj0
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_FromInt((int)result
);
12730 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxSlider
*arg1
= (wxSlider
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self",(char *) "lenPixels", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12743 arg2
= (int) SWIG_AsInt(obj1
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->SetThumbLength(arg2
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 Py_INCREF(Py_None
); resultobj
= Py_None
;
12759 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxSlider
*arg1
= (wxSlider
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_FromInt((int)result
);
12785 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxSlider
*arg1
= (wxSlider
*) 0 ;
12789 int arg3
= (int) 1 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 PyObject
* obj2
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self",(char *) "n",(char *) "pos", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 arg2
= (int) SWIG_AsInt(obj1
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 arg3
= (int) SWIG_AsInt(obj2
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 (arg1
)->SetTickFreq(arg2
,arg3
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 Py_INCREF(Py_None
); resultobj
= Py_None
;
12820 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
;
12822 wxSlider
*arg1
= (wxSlider
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "self", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_FromInt((int)result
);
12846 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxSlider
*arg1
= (wxSlider
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "self", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->ClearTicks();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxSlider
*arg1
= (wxSlider
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self",(char *) "tickPos", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12884 arg2
= (int) SWIG_AsInt(obj1
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->SetTick(arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxSlider
*arg1
= (wxSlider
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 (arg1
)->ClearSel();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 Py_INCREF(Py_None
); resultobj
= Py_None
;
12925 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxSlider
*arg1
= (wxSlider
*) 0 ;
12929 PyObject
* obj0
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_FromInt((int)result
);
12951 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxSlider
*arg1
= (wxSlider
*) 0 ;
12955 PyObject
* obj0
= 0 ;
12956 char *kwnames
[] = {
12957 (char *) "self", NULL
12960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_FromInt((int)result
);
12977 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxSlider
*arg1
= (wxSlider
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 PyObject
* obj2
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "self",(char *) "min",(char *) "max", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12992 arg2
= (int) SWIG_AsInt(obj1
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12994 arg3
= (int) SWIG_AsInt(obj2
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 (arg1
)->SetSelection(arg2
,arg3
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 Py_INCREF(Py_None
); resultobj
= Py_None
;
13010 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13013 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13015 return Py_BuildValue((char *)"");
13017 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13018 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13023 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13028 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13030 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13037 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxWindow
*arg1
= (wxWindow
*) 0 ;
13041 wxString
*arg3
= 0 ;
13042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13046 long arg6
= (long) 0 ;
13047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13049 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13051 wxToggleButton
*result
;
13052 bool temp3
= False
;
13055 bool temp8
= False
;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 PyObject
* obj2
= 0 ;
13059 PyObject
* obj3
= 0 ;
13060 PyObject
* obj4
= 0 ;
13061 PyObject
* obj5
= 0 ;
13062 PyObject
* obj6
= 0 ;
13063 PyObject
* obj7
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13071 arg2
= (int) SWIG_AsInt(obj1
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 arg3
= wxString_in_helper(obj2
);
13075 if (arg3
== NULL
) SWIG_fail
;
13081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13091 arg6
= (long) SWIG_AsLong(obj5
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13098 if (arg7
== NULL
) {
13099 PyErr_SetString(PyExc_TypeError
,"null reference");
13105 arg8
= wxString_in_helper(obj7
);
13106 if (arg8
== NULL
) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13140 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxToggleButton
*result
;
13143 char *kwnames
[] = {
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (wxToggleButton
*)new wxToggleButton();
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13162 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13165 wxWindow
*arg2
= (wxWindow
*) 0 ;
13167 wxString
*arg4
= 0 ;
13168 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13169 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13170 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13171 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13172 long arg7
= (long) 0 ;
13173 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13174 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13175 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13176 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13178 bool temp4
= False
;
13181 bool temp9
= False
;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 PyObject
* obj2
= 0 ;
13185 PyObject
* obj3
= 0 ;
13186 PyObject
* obj4
= 0 ;
13187 PyObject
* obj5
= 0 ;
13188 PyObject
* obj6
= 0 ;
13189 PyObject
* obj7
= 0 ;
13190 PyObject
* obj8
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 arg3
= (int) SWIG_AsInt(obj2
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 arg4
= wxString_in_helper(obj3
);
13204 if (arg4
== NULL
) SWIG_fail
;
13210 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13216 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13220 arg7
= (long) SWIG_AsLong(obj6
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13227 if (arg8
== NULL
) {
13228 PyErr_SetString(PyExc_TypeError
,"null reference");
13234 arg9
= wxString_in_helper(obj8
);
13235 if (arg9
== NULL
) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13271 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
;
13273 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "value", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13284 arg2
= (bool) SWIG_AsBool(obj1
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->SetValue(arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13328 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13331 wxString
*arg2
= 0 ;
13332 bool temp2
= False
;
13333 PyObject
* obj0
= 0 ;
13334 PyObject
* obj1
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "label", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 arg2
= wxString_in_helper(obj1
);
13344 if (arg2
== NULL
) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 (arg1
)->SetLabel((wxString
const &)*arg2
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 Py_INCREF(Py_None
); resultobj
= Py_None
;
13369 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13372 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13374 return Py_BuildValue((char *)"");
13376 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13377 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13382 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13387 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13389 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13396 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13422 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self",(char *) "n", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= wxPyMake_wxObject(result
);
13454 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_FromInt((int)result
);
13480 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13484 wxString
*arg3
= 0 ;
13486 bool temp3
= False
;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 PyObject
* obj2
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "n",(char *) "strText", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 arg3
= wxString_in_helper(obj2
);
13501 if (arg3
== NULL
) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13528 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self",(char *) "n", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13542 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13564 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13567 wxImageList
*arg2
= (wxImageList
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "imageList", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 (arg1
)->SetImageList(arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 Py_INCREF(Py_None
); resultobj
= Py_None
;
13593 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13596 wxImageList
*arg2
= (wxImageList
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self",(char *) "imageList", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13607 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 (arg1
)->AssignImageList(arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 Py_INCREF(Py_None
); resultobj
= Py_None
;
13622 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13625 wxImageList
*result
;
13626 PyObject
* obj0
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= wxPyMake_wxObject(result
);
13650 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 PyObject
* obj1
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self",(char *) "n", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_FromInt((int)result
);
13680 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 PyObject
* obj2
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self",(char *) "n",(char *) "imageId", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13698 arg3
= (int) SWIG_AsInt(obj2
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13716 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
;
13718 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13721 PyObject
* obj0
= 0 ;
13722 PyObject
* obj1
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self",(char *) "size", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13732 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13748 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "sizePage", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 wxSize
* resultptr
;
13776 resultptr
= new wxSize((wxSize
&) result
);
13777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13785 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "n", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (bool)(arg1
)->DeletePage(arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13817 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 PyObject
* obj1
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self",(char *) "n", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13831 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (bool)(arg1
)->RemovePage(arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13849 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (bool)(arg1
)->DeleteAllPages();
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13877 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13880 wxWindow
*arg2
= (wxWindow
*) 0 ;
13881 wxString
*arg3
= 0 ;
13882 bool arg4
= (bool) False
;
13883 int arg5
= (int) -1 ;
13885 bool temp3
= False
;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 PyObject
* obj2
= 0 ;
13889 PyObject
* obj3
= 0 ;
13890 PyObject
* obj4
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13901 arg3
= wxString_in_helper(obj2
);
13902 if (arg3
== NULL
) SWIG_fail
;
13906 arg4
= (bool) SWIG_AsBool(obj3
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 arg5
= (int) SWIG_AsInt(obj4
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13937 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13941 wxWindow
*arg3
= (wxWindow
*) 0 ;
13942 wxString
*arg4
= 0 ;
13943 bool arg5
= (bool) False
;
13944 int arg6
= (int) -1 ;
13946 bool temp4
= False
;
13947 PyObject
* obj0
= 0 ;
13948 PyObject
* obj1
= 0 ;
13949 PyObject
* obj2
= 0 ;
13950 PyObject
* obj3
= 0 ;
13951 PyObject
* obj4
= 0 ;
13952 PyObject
* obj5
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13962 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13965 arg4
= wxString_in_helper(obj3
);
13966 if (arg4
== NULL
) SWIG_fail
;
13970 arg5
= (bool) SWIG_AsBool(obj4
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13974 arg6
= (int) SWIG_AsInt(obj5
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14001 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "n", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (int)(arg1
)->SetSelection(arg2
);
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= SWIG_FromInt((int)result
);
14031 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14034 bool arg2
= (bool) True
;
14035 PyObject
* obj0
= 0 ;
14036 PyObject
* obj1
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self",(char *) "forward", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14045 arg2
= (bool) SWIG_AsBool(obj1
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 (arg1
)->AdvanceSelection(arg2
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 Py_INCREF(Py_None
); resultobj
= Py_None
;
14062 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14065 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14067 return Py_BuildValue((char *)"");
14069 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14072 int arg2
= (int) 0 ;
14073 int arg3
= (int) -1 ;
14074 int arg4
= (int) -1 ;
14075 wxBookCtrlEvent
*result
;
14076 PyObject
* obj0
= 0 ;
14077 PyObject
* obj1
= 0 ;
14078 PyObject
* obj2
= 0 ;
14079 PyObject
* obj3
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14086 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 arg2
= (int) SWIG_AsInt(obj1
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14094 arg3
= (int) SWIG_AsInt(obj2
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14098 arg4
= (int) SWIG_AsInt(obj3
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14115 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= SWIG_FromInt((int)result
);
14141 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
;
14143 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self",(char *) "nSel", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14154 arg2
= (int) SWIG_AsInt(obj1
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->SetSelection(arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14174 PyObject
* obj0
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_FromInt((int)result
);
14196 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 char *kwnames
[] = {
14203 (char *) "self",(char *) "nOldSel", NULL
14206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14209 arg2
= (int) SWIG_AsInt(obj1
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 (arg1
)->SetOldSelection(arg2
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 Py_INCREF(Py_None
); resultobj
= Py_None
;
14225 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14228 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14230 return Py_BuildValue((char *)"");
14232 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxWindow
*arg1
= (wxWindow
*) 0 ;
14235 int arg2
= (int) -1 ;
14236 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14237 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14238 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14239 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14240 long arg5
= (long) 0 ;
14241 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14242 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14243 wxNotebook
*result
;
14246 bool temp6
= False
;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 PyObject
* obj3
= 0 ;
14251 PyObject
* obj4
= 0 ;
14252 PyObject
* obj5
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 arg2
= (int) SWIG_AsInt(obj1
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14273 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14277 arg5
= (long) SWIG_AsLong(obj4
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14282 arg6
= wxString_in_helper(obj5
);
14283 if (arg6
== NULL
) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= wxPyMake_wxObject(result
);
14311 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxNotebook
*result
;
14314 char *kwnames
[] = {
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (wxNotebook
*)new wxNotebook();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= wxPyMake_wxObject(result
);
14335 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14338 wxWindow
*arg2
= (wxWindow
*) 0 ;
14340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14344 long arg6
= (long) 0 ;
14345 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14346 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14350 bool temp7
= False
;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 PyObject
* obj2
= 0 ;
14354 PyObject
* obj3
= 0 ;
14355 PyObject
* obj4
= 0 ;
14356 PyObject
* obj5
= 0 ;
14357 PyObject
* obj6
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14367 arg3
= (int) SWIG_AsInt(obj2
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14382 arg6
= (long) SWIG_AsLong(obj5
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14387 arg7
= wxString_in_helper(obj6
);
14388 if (arg7
== NULL
) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_FromInt((int)result
);
14442 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14447 PyObject
* obj0
= 0 ;
14448 PyObject
* obj1
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self",(char *) "padding", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14458 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 Py_INCREF(Py_None
); resultobj
= Py_None
;
14474 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "sz", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 Py_INCREF(Py_None
); resultobj
= Py_None
;
14506 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14509 wxPoint
*arg2
= 0 ;
14510 long *arg3
= (long *) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "pt", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= SWIG_FromInt((int)result
);
14537 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14538 resultobj
= t_output_helper(resultobj
,o
);
14546 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self",(char *) "sizePage", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 wxSize
* resultptr
;
14574 resultptr
= new wxSize((wxSize
&) result
);
14575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14583 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14586 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14588 return Py_BuildValue((char *)"");
14590 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14593 int arg2
= (int) 0 ;
14594 int arg3
= (int) -1 ;
14595 int arg4
= (int) -1 ;
14596 wxNotebookEvent
*result
;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 PyObject
* obj2
= 0 ;
14600 PyObject
* obj3
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14607 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 arg2
= (int) SWIG_AsInt(obj1
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 arg3
= (int) SWIG_AsInt(obj2
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14619 arg4
= (int) SWIG_AsInt(obj3
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14636 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14639 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14641 return Py_BuildValue((char *)"");
14643 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxWindow
*arg1
= (wxWindow
*) 0 ;
14646 int arg2
= (int) -1 ;
14647 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14648 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14649 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14650 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14651 long arg5
= (long) 0 ;
14652 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14653 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14654 wxListbook
*result
;
14657 bool temp6
= False
;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 PyObject
* obj2
= 0 ;
14661 PyObject
* obj3
= 0 ;
14662 PyObject
* obj4
= 0 ;
14663 PyObject
* obj5
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 arg2
= (int) SWIG_AsInt(obj1
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14684 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14688 arg5
= (long) SWIG_AsLong(obj4
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14693 arg6
= wxString_in_helper(obj5
);
14694 if (arg6
== NULL
) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14720 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxListbook
*result
;
14723 char *kwnames
[] = {
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (wxListbook
*)new wxListbook();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14742 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxListbook
*arg1
= (wxListbook
*) 0 ;
14745 wxWindow
*arg2
= (wxWindow
*) 0 ;
14747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14751 long arg6
= (long) 0 ;
14752 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14757 bool temp7
= False
;
14758 PyObject
* obj0
= 0 ;
14759 PyObject
* obj1
= 0 ;
14760 PyObject
* obj2
= 0 ;
14761 PyObject
* obj3
= 0 ;
14762 PyObject
* obj4
= 0 ;
14763 PyObject
* obj5
= 0 ;
14764 PyObject
* obj6
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14774 arg3
= (int) SWIG_AsInt(obj2
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14789 arg6
= (long) SWIG_AsLong(obj5
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14794 arg7
= wxString_in_helper(obj6
);
14795 if (arg7
== NULL
) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14823 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxListbook
*arg1
= (wxListbook
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14851 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14854 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14856 return Py_BuildValue((char *)"");
14858 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14861 int arg2
= (int) 0 ;
14862 int arg3
= (int) -1 ;
14863 int arg4
= (int) -1 ;
14864 wxListbookEvent
*result
;
14865 PyObject
* obj0
= 0 ;
14866 PyObject
* obj1
= 0 ;
14867 PyObject
* obj2
= 0 ;
14868 PyObject
* obj3
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14875 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14879 arg2
= (int) SWIG_AsInt(obj1
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14883 arg3
= (int) SWIG_AsInt(obj2
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14887 arg4
= (int) SWIG_AsInt(obj3
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14904 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14907 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14909 return Py_BuildValue((char *)"");
14911 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14914 wxBookCtrlSizer
*result
;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "nb", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14937 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->RecalcSizes();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (arg1
)->CalcMin();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 wxSize
* resultptr
;
14983 resultptr
= new wxSize((wxSize
&) result
);
14984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14992 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14995 wxBookCtrl
*result
;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15018 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15021 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15023 return Py_BuildValue((char *)"");
15025 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15028 wxNotebookSizer
*result
;
15029 PyObject
* obj0
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "nb", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15051 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 (arg1
)->RecalcSizes();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 Py_INCREF(Py_None
); resultobj
= Py_None
;
15076 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (arg1
)->CalcMin();
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15096 wxSize
* resultptr
;
15097 resultptr
= new wxSize((wxSize
&) result
);
15098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15106 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15109 wxNotebook
*result
;
15110 PyObject
* obj0
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= wxPyMake_wxObject(result
);
15134 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15137 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15139 return Py_BuildValue((char *)"");
15141 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (int)(arg1
)->GetId();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_FromInt((int)result
);
15167 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (wxControl
*)(arg1
)->GetControl();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= wxPyMake_wxObject(result
);
15195 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15198 wxToolBarBase
*result
;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= wxPyMake_wxObject(result
);
15223 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (int)(arg1
)->IsButton();
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_FromInt((int)result
);
15249 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (int)(arg1
)->IsControl();
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_FromInt((int)result
);
15275 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (int)(arg1
)->IsSeparator();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= SWIG_FromInt((int)result
);
15301 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (int)(arg1
)->GetStyle();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_FromInt((int)result
);
15327 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (int)(arg1
)->GetKind();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_FromInt((int)result
);
15353 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (bool)(arg1
)->IsEnabled();
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15381 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (bool)(arg1
)->IsToggled();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15409 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (bool)(arg1
)->CanBeToggled();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15437 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15453 result
= (wxBitmap
*) &_result_ref
;
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 wxBitmap
* resultptr
= new wxBitmap(*result
);
15461 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15469 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15485 result
= (wxBitmap
*) &_result_ref
;
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15492 wxBitmap
* resultptr
= new wxBitmap(*result
);
15493 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15501 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (arg1
)->GetBitmap();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 wxBitmap
* resultptr
;
15522 resultptr
= new wxBitmap((wxBitmap
&) result
);
15523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15531 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (arg1
)->GetLabel();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15563 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (arg1
)->GetShortHelp();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15595 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (arg1
)->GetLongHelp();
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15627 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "enable", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15641 arg2
= (bool) SWIG_AsBool(obj1
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (bool)(arg1
)->Enable(arg2
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15659 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self",(char *) "toggle", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 arg2
= (bool) SWIG_AsBool(obj1
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (bool)(arg1
)->SetToggle(arg2
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15716 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15719 wxString
*arg2
= 0 ;
15721 bool temp2
= False
;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "help", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 arg2
= wxString_in_helper(obj1
);
15733 if (arg2
== NULL
) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15760 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15763 wxString
*arg2
= 0 ;
15765 bool temp2
= False
;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self",(char *) "help", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15776 arg2
= wxString_in_helper(obj1
);
15777 if (arg2
== NULL
) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15804 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15807 wxBitmap
*arg2
= 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "bmp", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15820 if (arg2
== NULL
) {
15821 PyErr_SetString(PyExc_TypeError
,"null reference");
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 Py_INCREF(Py_None
); resultobj
= Py_None
;
15838 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15841 wxBitmap
*arg2
= 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self",(char *) "bmp", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15854 if (arg2
== NULL
) {
15855 PyErr_SetString(PyExc_TypeError
,"null reference");
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 Py_INCREF(Py_None
); resultobj
= Py_None
;
15872 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15875 wxString
*arg2
= 0 ;
15876 bool temp2
= False
;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "label", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 arg2
= wxString_in_helper(obj1
);
15888 if (arg2
== NULL
) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 (arg1
)->SetLabel((wxString
const &)*arg2
);
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 Py_INCREF(Py_None
); resultobj
= Py_None
;
15913 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15941 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "tbar", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->Attach(arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= result
;
15993 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15996 PyObject
*arg2
= (PyObject
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "clientData", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 Py_INCREF(Py_None
); resultobj
= Py_None
;
16021 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16024 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16026 return Py_BuildValue((char *)"");
16028 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16032 wxString
*arg3
= 0 ;
16033 wxBitmap
*arg4
= 0 ;
16034 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16035 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16036 int arg6
= (int) wxITEM_NORMAL
;
16037 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16038 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16039 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16040 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16041 PyObject
*arg9
= (PyObject
*) NULL
;
16042 wxToolBarToolBase
*result
;
16043 bool temp3
= False
;
16044 bool temp7
= False
;
16045 bool temp8
= False
;
16046 PyObject
* obj0
= 0 ;
16047 PyObject
* obj1
= 0 ;
16048 PyObject
* obj2
= 0 ;
16049 PyObject
* obj3
= 0 ;
16050 PyObject
* obj4
= 0 ;
16051 PyObject
* obj5
= 0 ;
16052 PyObject
* obj6
= 0 ;
16053 PyObject
* obj7
= 0 ;
16054 PyObject
* obj8
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 arg2
= (int) SWIG_AsInt(obj1
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 arg3
= wxString_in_helper(obj2
);
16066 if (arg3
== NULL
) SWIG_fail
;
16069 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16072 if (arg4
== NULL
) {
16073 PyErr_SetString(PyExc_TypeError
,"null reference");
16077 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16080 if (arg5
== NULL
) {
16081 PyErr_SetString(PyExc_TypeError
,"null reference");
16086 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16091 arg7
= wxString_in_helper(obj6
);
16092 if (arg7
== NULL
) SWIG_fail
;
16098 arg8
= wxString_in_helper(obj7
);
16099 if (arg8
== NULL
) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= wxPyMake_wxObject(result
);
16146 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16151 wxString
*arg4
= 0 ;
16152 wxBitmap
*arg5
= 0 ;
16153 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16154 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16155 int arg7
= (int) wxITEM_NORMAL
;
16156 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16158 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16159 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16160 PyObject
*arg10
= (PyObject
*) NULL
;
16161 wxToolBarToolBase
*result
;
16162 bool temp4
= False
;
16163 bool temp8
= False
;
16164 bool temp9
= False
;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 PyObject
* obj2
= 0 ;
16168 PyObject
* obj3
= 0 ;
16169 PyObject
* obj4
= 0 ;
16170 PyObject
* obj5
= 0 ;
16171 PyObject
* obj6
= 0 ;
16172 PyObject
* obj7
= 0 ;
16173 PyObject
* obj8
= 0 ;
16174 PyObject
* obj9
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16184 arg3
= (int) SWIG_AsInt(obj2
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 arg4
= wxString_in_helper(obj3
);
16188 if (arg4
== NULL
) SWIG_fail
;
16191 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16194 if (arg5
== NULL
) {
16195 PyErr_SetString(PyExc_TypeError
,"null reference");
16199 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16202 if (arg6
== NULL
) {
16203 PyErr_SetString(PyExc_TypeError
,"null reference");
16208 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16213 arg8
= wxString_in_helper(obj7
);
16214 if (arg8
== NULL
) SWIG_fail
;
16220 arg9
= wxString_in_helper(obj8
);
16221 if (arg9
== NULL
) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 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
);
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= wxPyMake_wxObject(result
);
16268 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16271 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16272 wxToolBarToolBase
*result
;
16273 PyObject
* obj0
= 0 ;
16274 PyObject
* obj1
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self",(char *) "tool", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= wxPyMake_wxObject(result
);
16300 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16304 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16305 wxToolBarToolBase
*result
;
16306 PyObject
* obj0
= 0 ;
16307 PyObject
* obj1
= 0 ;
16308 PyObject
* obj2
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "pos",(char *) "tool", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16316 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16318 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= wxPyMake_wxObject(result
);
16336 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16339 wxControl
*arg2
= (wxControl
*) 0 ;
16340 wxToolBarToolBase
*result
;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self",(char *) "control", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= wxPyMake_wxObject(result
);
16368 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16372 wxControl
*arg3
= (wxControl
*) 0 ;
16373 wxToolBarToolBase
*result
;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 PyObject
* obj2
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self",(char *) "pos",(char *) "control", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16384 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16386 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= wxPyMake_wxObject(result
);
16404 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "id", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 arg2
= (int) SWIG_AsInt(obj1
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= wxPyMake_wxObject(result
);
16436 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16439 wxToolBarToolBase
*result
;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= wxPyMake_wxObject(result
);
16464 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16468 wxToolBarToolBase
*result
;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self",(char *) "pos", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16478 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= wxPyMake_wxObject(result
);
16496 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16500 wxToolBarToolBase
*result
;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "id", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 arg2
= (int) SWIG_AsInt(obj1
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= wxPyMake_wxObject(result
);
16528 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "pos", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16542 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16560 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 PyObject
* obj1
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self",(char *) "id", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16574 arg2
= (int) SWIG_AsInt(obj1
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (bool)(arg1
)->DeleteTool(arg2
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16592 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "self", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 (arg1
)->ClearTools();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 Py_INCREF(Py_None
); resultobj
= Py_None
;
16617 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= (bool)(arg1
)->Realize();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16645 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 PyObject
* obj2
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self",(char *) "id",(char *) "enable", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 arg2
= (int) SWIG_AsInt(obj1
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16662 arg3
= (bool) SWIG_AsBool(obj2
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->EnableTool(arg2
,arg3
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16678 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 PyObject
* obj2
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "id",(char *) "toggle", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 arg2
= (int) SWIG_AsInt(obj1
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16695 arg3
= (bool) SWIG_AsBool(obj2
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 (arg1
)->ToggleTool(arg2
,arg3
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 Py_INCREF(Py_None
); resultobj
= Py_None
;
16711 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16716 PyObject
* obj0
= 0 ;
16717 PyObject
* obj1
= 0 ;
16718 PyObject
* obj2
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self",(char *) "id",(char *) "toggle", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 arg2
= (int) SWIG_AsInt(obj1
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16728 arg3
= (bool) SWIG_AsBool(obj2
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 (arg1
)->SetToggle(arg2
,arg3
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 Py_INCREF(Py_None
); resultobj
= Py_None
;
16744 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 PyObject
* obj1
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self",(char *) "id", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 arg2
= (int) SWIG_AsInt(obj1
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= result
;
16774 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16776 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16778 PyObject
*arg3
= (PyObject
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 PyObject
* obj1
= 0 ;
16781 PyObject
* obj2
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self",(char *) "id",(char *) "clientData", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16789 arg2
= (int) SWIG_AsInt(obj1
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self",(char *) "id", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16820 arg2
= (int) SWIG_AsInt(obj1
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= SWIG_FromInt((int)result
);
16836 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "self",(char *) "id", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16850 arg2
= (int) SWIG_AsInt(obj1
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (bool)(arg1
)->GetToolState(arg2
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16868 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 PyObject
* obj1
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self",(char *) "id", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16882 arg2
= (int) SWIG_AsInt(obj1
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16900 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16904 wxString
*arg3
= 0 ;
16905 bool temp3
= False
;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 PyObject
* obj2
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self",(char *) "id",(char *) "helpString", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16916 arg2
= (int) SWIG_AsInt(obj1
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 arg3
= wxString_in_helper(obj2
);
16920 if (arg3
== NULL
) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 Py_INCREF(Py_None
); resultobj
= Py_None
;
16945 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self",(char *) "id", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16959 arg2
= (int) SWIG_AsInt(obj1
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (arg1
)->GetToolShortHelp(arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16981 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16985 wxString
*arg3
= 0 ;
16986 bool temp3
= False
;
16987 PyObject
* obj0
= 0 ;
16988 PyObject
* obj1
= 0 ;
16989 PyObject
* obj2
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self",(char *) "id",(char *) "helpString", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16997 arg2
= (int) SWIG_AsInt(obj1
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 arg3
= wxString_in_helper(obj2
);
17001 if (arg3
== NULL
) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 PyObject
* obj1
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self",(char *) "id", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 arg2
= (int) SWIG_AsInt(obj1
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (arg1
)->GetToolLongHelp(arg2
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17062 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17067 PyObject
* obj0
= 0 ;
17068 PyObject
* obj1
= 0 ;
17069 PyObject
* obj2
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "x",(char *) "y", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 arg2
= (int) SWIG_AsInt(obj1
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17079 arg3
= (int) SWIG_AsInt(obj2
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->SetMargins(arg2
,arg3
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 Py_INCREF(Py_None
); resultobj
= Py_None
;
17095 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self",(char *) "size", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17111 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 Py_INCREF(Py_None
); resultobj
= Py_None
;
17127 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self",(char *) "packing", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17140 arg2
= (int) SWIG_AsInt(obj1
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->SetToolPacking(arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self",(char *) "separation", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17169 arg2
= (int) SWIG_AsInt(obj1
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->SetToolSeparation(arg2
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 Py_INCREF(Py_None
); resultobj
= Py_None
;
17185 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (arg1
)->GetToolMargins();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 wxSize
* resultptr
;
17206 resultptr
= new wxSize((wxSize
&) result
);
17207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17215 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (arg1
)->GetMargins();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 wxSize
* resultptr
;
17236 resultptr
= new wxSize((wxSize
&) result
);
17237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17245 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= (int)(arg1
)->GetToolPacking();
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= SWIG_FromInt((int)result
);
17271 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17275 PyObject
* obj0
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 result
= (int)(arg1
)->GetToolSeparation();
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_FromInt((int)result
);
17297 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self",(char *) "nRows", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 arg2
= (int) SWIG_AsInt(obj1
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->SetRows(arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 Py_INCREF(Py_None
); resultobj
= Py_None
;
17326 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 PyObject
* obj2
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "rows",(char *) "cols", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 arg2
= (int) SWIG_AsInt(obj1
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17343 arg3
= (int) SWIG_AsInt(obj2
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17359 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (int)(arg1
)->GetMaxRows();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_FromInt((int)result
);
17385 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (int)(arg1
)->GetMaxCols();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_FromInt((int)result
);
17411 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "size", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 Py_INCREF(Py_None
); resultobj
= Py_None
;
17443 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (arg1
)->GetToolBitmapSize();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 wxSize
* resultptr
;
17464 resultptr
= new wxSize((wxSize
&) result
);
17465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17473 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (arg1
)->GetToolSize();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 wxSize
* resultptr
;
17494 resultptr
= new wxSize((wxSize
&) result
);
17495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17503 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17508 wxToolBarToolBase
*result
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 PyObject
* obj2
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self",(char *) "x",(char *) "y", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 arg2
= (int) SWIG_AsInt(obj1
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17521 arg3
= (int) SWIG_AsInt(obj2
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= wxPyMake_wxObject(result
);
17539 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17543 wxToolBarToolBase
*result
;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "toolid", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 arg2
= (int) SWIG_AsInt(obj1
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= wxPyMake_wxObject(result
);
17571 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= (bool)(arg1
)->IsVertical();
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17599 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17602 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17604 return Py_BuildValue((char *)"");
17606 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxWindow
*arg1
= (wxWindow
*) 0 ;
17610 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17611 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17612 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17613 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17614 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17615 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17616 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17620 bool temp6
= False
;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 PyObject
* obj2
= 0 ;
17624 PyObject
* obj3
= 0 ;
17625 PyObject
* obj4
= 0 ;
17626 PyObject
* obj5
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 arg2
= (int) SWIG_AsInt(obj1
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17639 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17645 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17649 arg5
= (long) SWIG_AsLong(obj4
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17654 arg6
= wxString_in_helper(obj5
);
17655 if (arg6
== NULL
) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= wxPyMake_wxObject(result
);
17683 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17686 char *kwnames
[] = {
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (wxToolBar
*)new wxToolBar();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= wxPyMake_wxObject(result
);
17707 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17710 wxWindow
*arg2
= (wxWindow
*) 0 ;
17712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17716 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17717 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17718 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17722 bool temp7
= False
;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 PyObject
* obj2
= 0 ;
17726 PyObject
* obj3
= 0 ;
17727 PyObject
* obj4
= 0 ;
17728 PyObject
* obj5
= 0 ;
17729 PyObject
* obj6
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 arg3
= (int) SWIG_AsInt(obj2
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17754 arg6
= (long) SWIG_AsLong(obj5
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17759 arg7
= wxString_in_helper(obj6
);
17760 if (arg7
== NULL
) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17793 wxToolBarToolBase
*result
;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "x",(char *) "y", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 arg2
= (int) SWIG_AsInt(obj1
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17806 arg3
= (int) SWIG_AsInt(obj2
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= wxPyMake_wxObject(result
);
17824 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17827 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17829 return Py_BuildValue((char *)"");
17831 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17832 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17837 static PyObject
*_wrap_ListCtrlNameStr_get() {
17842 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17844 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17851 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxColour
const &arg1_defvalue
= wxNullColour
;
17854 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17855 wxColour
const &arg2_defvalue
= wxNullColour
;
17856 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17857 wxFont
const &arg3_defvalue
= wxNullFont
;
17858 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17859 wxListItemAttr
*result
;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 PyObject
* obj2
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17873 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17883 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17886 if (arg3
== NULL
) {
17887 PyErr_SetString(PyExc_TypeError
,"null reference");
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17905 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17908 wxColour
*arg2
= 0 ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "colText", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17940 wxColour
*arg2
= 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "colBack", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 Py_INCREF(Py_None
); resultobj
= Py_None
;
17969 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "font", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17985 if (arg2
== NULL
) {
17986 PyErr_SetString(PyExc_TypeError
,"null reference");
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 (arg1
)->SetFont((wxFont
const &)*arg2
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 Py_INCREF(Py_None
); resultobj
= Py_None
;
18003 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (bool)(arg1
)->HasTextColour();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18031 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (bool)(arg1
)->HasBackgroundColour();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18059 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (bool)(arg1
)->HasFont();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18087 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (arg1
)->GetTextColour();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 wxColour
* resultptr
;
18108 resultptr
= new wxColour((wxColour
&) result
);
18109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18117 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (arg1
)->GetBackgroundColour();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 wxColour
* resultptr
;
18138 resultptr
= new wxColour((wxColour
&) result
);
18139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18147 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (arg1
)->GetFont();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 wxFont
* resultptr
;
18168 resultptr
= new wxFont((wxFont
&) result
);
18169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18177 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 wxListItemAttr_Destroy(arg1
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 Py_INCREF(Py_None
); resultobj
= Py_None
;
18202 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18205 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18207 return Py_BuildValue((char *)"");
18209 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxListItem
*result
;
18212 char *kwnames
[] = {
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 result
= (wxListItem
*)new wxListItem();
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= wxPyMake_wxObject(result
);
18233 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxListItem
*arg1
= (wxListItem
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxListItem
*arg1
= (wxListItem
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 Py_INCREF(Py_None
); resultobj
= Py_None
;
18283 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxListItem
*arg1
= (wxListItem
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->ClearAttributes();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxListItem
*arg1
= (wxListItem
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self",(char *) "mask", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 arg2
= (long) SWIG_AsLong(obj1
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 (arg1
)->SetMask(arg2
);
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 Py_INCREF(Py_None
); resultobj
= Py_None
;
18337 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxListItem
*arg1
= (wxListItem
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self",(char *) "id", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18350 arg2
= (long) SWIG_AsLong(obj1
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 (arg1
)->SetId(arg2
);
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 Py_INCREF(Py_None
); resultobj
= Py_None
;
18366 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxListItem
*arg1
= (wxListItem
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self",(char *) "col", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18379 arg2
= (int) SWIG_AsInt(obj1
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->SetColumn(arg2
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 Py_INCREF(Py_None
); resultobj
= Py_None
;
18395 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxListItem
*arg1
= (wxListItem
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self",(char *) "state", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18408 arg2
= (long) SWIG_AsLong(obj1
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 (arg1
)->SetState(arg2
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 Py_INCREF(Py_None
); resultobj
= Py_None
;
18424 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxListItem
*arg1
= (wxListItem
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "stateMask", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 arg2
= (long) SWIG_AsLong(obj1
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->SetStateMask(arg2
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxListItem
*arg1
= (wxListItem
*) 0 ;
18456 wxString
*arg2
= 0 ;
18457 bool temp2
= False
;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "text", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 arg2
= wxString_in_helper(obj1
);
18469 if (arg2
== NULL
) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 (arg1
)->SetText((wxString
const &)*arg2
);
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 Py_INCREF(Py_None
); resultobj
= Py_None
;
18494 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxListItem
*arg1
= (wxListItem
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "image", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18507 arg2
= (int) SWIG_AsInt(obj1
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 (arg1
)->SetImage(arg2
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 Py_INCREF(Py_None
); resultobj
= Py_None
;
18523 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxListItem
*arg1
= (wxListItem
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self",(char *) "data", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18536 arg2
= (long) SWIG_AsLong(obj1
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->SetData(arg2
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxListItem
*arg1
= (wxListItem
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "width", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18565 arg2
= (int) SWIG_AsInt(obj1
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->SetWidth(arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 Py_INCREF(Py_None
); resultobj
= Py_None
;
18581 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxListItem
*arg1
= (wxListItem
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "align", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 Py_INCREF(Py_None
); resultobj
= Py_None
;
18610 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxListItem
*arg1
= (wxListItem
*) 0 ;
18613 wxColour
*arg2
= 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "colText", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18626 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 Py_INCREF(Py_None
); resultobj
= Py_None
;
18642 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxListItem
*arg1
= (wxListItem
*) 0 ;
18645 wxColour
*arg2
= 0 ;
18647 PyObject
* obj0
= 0 ;
18648 PyObject
* obj1
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self",(char *) "colBack", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxListItem
*arg1
= (wxListItem
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self",(char *) "font", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18690 if (arg2
== NULL
) {
18691 PyErr_SetString(PyExc_TypeError
,"null reference");
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetFont((wxFont
const &)*arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxListItem
*arg1
= (wxListItem
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (long)(arg1
)->GetMask();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= SWIG_FromLong((long)result
);
18734 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxListItem
*arg1
= (wxListItem
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (long)(arg1
)->GetId();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_FromLong((long)result
);
18760 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxListItem
*arg1
= (wxListItem
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (int)(arg1
)->GetColumn();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= SWIG_FromInt((int)result
);
18786 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxListItem
*arg1
= (wxListItem
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (long)(arg1
)->GetState();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_FromLong((long)result
);
18812 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxListItem
*arg1
= (wxListItem
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 wxString
const &_result_ref
= (arg1
)->GetText();
18828 result
= (wxString
*) &_result_ref
;
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18838 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18847 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxListItem
*arg1
= (wxListItem
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (int)(arg1
)->GetImage();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_FromInt((int)result
);
18873 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxListItem
*arg1
= (wxListItem
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (long)(arg1
)->GetData();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= SWIG_FromLong((long)result
);
18899 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxListItem
*arg1
= (wxListItem
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (int)(arg1
)->GetWidth();
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= SWIG_FromInt((int)result
);
18925 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxListItem
*arg1
= (wxListItem
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (int)(arg1
)->GetAlign();
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_FromInt((int)result
);
18951 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxListItem
*arg1
= (wxListItem
*) 0 ;
18954 wxListItemAttr
*result
;
18955 PyObject
* obj0
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18977 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxListItem
*arg1
= (wxListItem
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= (bool)(arg1
)->HasAttributes();
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19005 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxListItem
*arg1
= (wxListItem
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19025 wxColour
* resultptr
;
19026 resultptr
= new wxColour((wxColour
&) result
);
19027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19035 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxListItem
*arg1
= (wxListItem
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "self", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19055 wxColour
* resultptr
;
19056 resultptr
= new wxColour((wxColour
&) result
);
19057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19065 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxListItem
*arg1
= (wxListItem
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= ((wxListItem
const *)arg1
)->GetFont();
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19085 wxFont
* resultptr
;
19086 resultptr
= new wxFont((wxFont
&) result
);
19087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19095 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxListItem
*arg1
= (wxListItem
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "m_mask", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= (long) SWIG_AsLong(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19110 if (arg1
) (arg1
)->m_mask
= arg2
;
19112 Py_INCREF(Py_None
); resultobj
= Py_None
;
19119 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxListItem
*arg1
= (wxListItem
*) 0 ;
19123 PyObject
* obj0
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19131 result
= (long) ((arg1
)->m_mask
);
19133 resultobj
= SWIG_FromLong((long)result
);
19140 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxListItem
*arg1
= (wxListItem
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "m_itemId", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 arg2
= (long) SWIG_AsLong(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19155 if (arg1
) (arg1
)->m_itemId
= arg2
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxListItem
*arg1
= (wxListItem
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 result
= (long) ((arg1
)->m_itemId
);
19178 resultobj
= SWIG_FromLong((long)result
);
19185 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxListItem
*arg1
= (wxListItem
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "m_col", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= (int) SWIG_AsInt(obj1
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19200 if (arg1
) (arg1
)->m_col
= arg2
;
19202 Py_INCREF(Py_None
); resultobj
= Py_None
;
19209 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxListItem
*arg1
= (wxListItem
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 result
= (int) ((arg1
)->m_col
);
19223 resultobj
= SWIG_FromInt((int)result
);
19230 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxListItem
*arg1
= (wxListItem
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 PyObject
* obj1
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self",(char *) "m_state", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= (long) SWIG_AsLong(obj1
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19245 if (arg1
) (arg1
)->m_state
= arg2
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxListItem
*arg1
= (wxListItem
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 result
= (long) ((arg1
)->m_state
);
19268 resultobj
= SWIG_FromLong((long)result
);
19275 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxListItem
*arg1
= (wxListItem
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "m_stateMask", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 arg2
= (long) SWIG_AsLong(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19290 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19292 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxListItem
*arg1
= (wxListItem
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 result
= (long) ((arg1
)->m_stateMask
);
19313 resultobj
= SWIG_FromLong((long)result
);
19320 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxListItem
*arg1
= (wxListItem
*) 0 ;
19323 wxString
*arg2
= (wxString
*) 0 ;
19324 bool temp2
= False
;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "m_text", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= wxString_in_helper(obj1
);
19336 if (arg2
== NULL
) SWIG_fail
;
19339 if (arg1
) (arg1
)->m_text
= *arg2
;
19341 Py_INCREF(Py_None
); resultobj
= Py_None
;
19356 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxListItem
*arg1
= (wxListItem
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self", NULL
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 result
= (wxString
*)& ((arg1
)->m_text
);
19372 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19374 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19383 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxListItem
*arg1
= (wxListItem
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self",(char *) "m_image", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 arg2
= (int) SWIG_AsInt(obj1
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19398 if (arg1
) (arg1
)->m_image
= arg2
;
19400 Py_INCREF(Py_None
); resultobj
= Py_None
;
19407 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxListItem
*arg1
= (wxListItem
*) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 result
= (int) ((arg1
)->m_image
);
19421 resultobj
= SWIG_FromInt((int)result
);
19428 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxListItem
*arg1
= (wxListItem
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self",(char *) "m_data", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= (long) SWIG_AsLong(obj1
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19443 if (arg1
) (arg1
)->m_data
= arg2
;
19445 Py_INCREF(Py_None
); resultobj
= Py_None
;
19452 static PyObject
*_wrap_ListItem_m_data_get(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_m_data_get",kwnames
,&obj0
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19464 result
= (long) ((arg1
)->m_data
);
19466 resultobj
= SWIG_FromLong((long)result
);
19473 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxListItem
*arg1
= (wxListItem
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "m_format", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 arg2
= (int) SWIG_AsInt(obj1
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19488 if (arg1
) (arg1
)->m_format
= arg2
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19497 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxListItem
*arg1
= (wxListItem
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 result
= (int) ((arg1
)->m_format
);
19511 resultobj
= SWIG_FromInt((int)result
);
19518 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxListItem
*arg1
= (wxListItem
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self",(char *) "m_width", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19531 arg2
= (int) SWIG_AsInt(obj1
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19533 if (arg1
) (arg1
)->m_width
= arg2
;
19535 Py_INCREF(Py_None
); resultobj
= Py_None
;
19542 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxListItem
*arg1
= (wxListItem
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 result
= (int) ((arg1
)->m_width
);
19556 resultobj
= SWIG_FromInt((int)result
);
19563 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19566 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19568 return Py_BuildValue((char *)"");
19570 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19573 int arg2
= (int) 0 ;
19574 wxListEvent
*result
;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "commandType",(char *) "id", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19583 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 arg2
= (int) SWIG_AsInt(obj1
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19604 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self",(char *) "m_code", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 arg2
= (int) SWIG_AsInt(obj1
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19619 if (arg1
) (arg1
)->m_code
= arg2
;
19621 Py_INCREF(Py_None
); resultobj
= Py_None
;
19628 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 result
= (int) ((arg1
)->m_code
);
19642 resultobj
= SWIG_FromInt((int)result
);
19649 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "m_oldItemIndex", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 arg2
= (long) SWIG_AsLong(obj1
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19664 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19666 Py_INCREF(Py_None
); resultobj
= Py_None
;
19673 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 result
= (long) ((arg1
)->m_oldItemIndex
);
19687 resultobj
= SWIG_FromLong((long)result
);
19694 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self",(char *) "m_itemIndex", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 arg2
= (long) SWIG_AsLong(obj1
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19709 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19711 Py_INCREF(Py_None
); resultobj
= Py_None
;
19718 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 result
= (long) ((arg1
)->m_itemIndex
);
19732 resultobj
= SWIG_FromLong((long)result
);
19739 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self",(char *) "m_col", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19752 arg2
= (int) SWIG_AsInt(obj1
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19754 if (arg1
) (arg1
)->m_col
= arg2
;
19756 Py_INCREF(Py_None
); resultobj
= Py_None
;
19763 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 result
= (int) ((arg1
)->m_col
);
19777 resultobj
= SWIG_FromInt((int)result
);
19784 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19787 wxPoint
*arg2
= (wxPoint
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self",(char *) "m_pointDrag", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19799 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19801 Py_INCREF(Py_None
); resultobj
= Py_None
;
19808 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19829 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19832 wxListItem
*result
;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 result
= (wxListItem
*)& ((arg1
)->m_item
);
19844 resultobj
= wxPyMake_wxObject(result
);
19852 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
;
19854 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (int)(arg1
)->GetKeyCode();
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_FromInt((int)result
);
19878 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (long)(arg1
)->GetIndex();
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= SWIG_FromLong((long)result
);
19904 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (int)(arg1
)->GetColumn();
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_FromInt((int)result
);
19930 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= (arg1
)->GetPoint();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 wxPoint
* resultptr
;
19951 resultptr
= new wxPoint((wxPoint
&) result
);
19952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19960 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 wxString
const &_result_ref
= (arg1
)->GetLabel();
19976 result
= (wxString
*) &_result_ref
;
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19995 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 char *kwnames
[] = {
20001 (char *) "self", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 wxString
const &_result_ref
= (arg1
)->GetText();
20011 result
= (wxString
*) &_result_ref
;
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20030 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (int)(arg1
)->GetImage();
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= SWIG_FromInt((int)result
);
20056 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (long)(arg1
)->GetData();
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= SWIG_FromLong((long)result
);
20082 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (long)(arg1
)->GetMask();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_FromLong((long)result
);
20108 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20111 wxListItem
*result
;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20124 result
= (wxListItem
*) &_result_ref
;
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20137 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (long)(arg1
)->GetCacheFrom();
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_FromLong((long)result
);
20163 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (long)(arg1
)->GetCacheTo();
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= SWIG_FromLong((long)result
);
20189 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20193 PyObject
* obj0
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20217 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "editCancelled", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 arg2
= (bool) SWIG_AsBool(obj1
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 (arg1
)->SetEditCanceled(arg2
);
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 Py_INCREF(Py_None
); resultobj
= Py_None
;
20246 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20249 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20251 return Py_BuildValue((char *)"");
20253 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxWindow
*arg1
= (wxWindow
*) 0 ;
20256 int arg2
= (int) -1 ;
20257 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20258 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20259 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20260 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20261 long arg5
= (long) wxLC_ICON
;
20262 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20263 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20264 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20265 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20266 wxPyListCtrl
*result
;
20269 bool temp7
= False
;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 PyObject
* obj2
= 0 ;
20273 PyObject
* obj3
= 0 ;
20274 PyObject
* obj4
= 0 ;
20275 PyObject
* obj5
= 0 ;
20276 PyObject
* obj6
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20285 arg2
= (int) SWIG_AsInt(obj1
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20301 arg5
= (long) SWIG_AsLong(obj4
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20305 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20308 if (arg6
== NULL
) {
20309 PyErr_SetString(PyExc_TypeError
,"null reference");
20315 arg7
= wxString_in_helper(obj6
);
20316 if (arg7
== NULL
) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20342 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPyListCtrl
*result
;
20345 char *kwnames
[] = {
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20364 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20367 wxWindow
*arg2
= (wxWindow
*) 0 ;
20368 int arg3
= (int) -1 ;
20369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20373 long arg6
= (long) wxLC_ICON
;
20374 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20375 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20376 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20377 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20381 bool temp8
= False
;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 PyObject
* obj2
= 0 ;
20385 PyObject
* obj3
= 0 ;
20386 PyObject
* obj4
= 0 ;
20387 PyObject
* obj5
= 0 ;
20388 PyObject
* obj6
= 0 ;
20389 PyObject
* obj7
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 arg3
= (int) SWIG_AsInt(obj2
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20406 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20412 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20416 arg6
= (long) SWIG_AsLong(obj5
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20423 if (arg7
== NULL
) {
20424 PyErr_SetString(PyExc_TypeError
,"null reference");
20430 arg8
= wxString_in_helper(obj7
);
20431 if (arg8
== NULL
) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20459 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20462 PyObject
*arg2
= (PyObject
*) 0 ;
20463 PyObject
*arg3
= (PyObject
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 PyObject
* obj2
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "self",(char *) "_class", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20490 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20493 wxColour
*arg2
= 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "self",(char *) "col", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20525 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20528 wxColour
*arg2
= 0 ;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self",(char *) "col", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20542 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20560 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20564 wxListItem
*result
;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self",(char *) "col", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 arg2
= (int) SWIG_AsInt(obj1
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= wxPyMake_wxObject(result
);
20592 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20596 wxListItem
*arg3
= 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 PyObject
* obj2
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self",(char *) "col",(char *) "item", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 arg2
= (int) SWIG_AsInt(obj1
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20610 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20613 if (arg3
== NULL
) {
20614 PyErr_SetString(PyExc_TypeError
,"null reference");
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self",(char *) "col", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20647 arg2
= (int) SWIG_AsInt(obj1
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_FromInt((int)result
);
20663 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 PyObject
* obj2
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "col",(char *) "width", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 arg2
= (int) SWIG_AsInt(obj1
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20681 arg3
= (int) SWIG_AsInt(obj2
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20699 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_FromInt((int)result
);
20725 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 wxRect
* resultptr
;
20746 resultptr
= new wxRect((wxRect
&) result
);
20747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20755 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20759 int arg3
= (int) 0 ;
20760 wxListItem
*result
;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 PyObject
* obj2
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self",(char *) "itemId",(char *) "col", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 arg2
= (long) SWIG_AsLong(obj1
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 arg3
= (int) SWIG_AsInt(obj2
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20785 resultobj
= wxPyMake_wxObject(result
);
20793 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20794 PyObject
*resultobj
;
20795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20796 wxListItem
*arg2
= 0 ;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self",(char *) "info", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20810 if (arg2
== NULL
) {
20811 PyErr_SetString(PyExc_TypeError
,"null reference");
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (bool)(arg1
)->SetItem(*arg2
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20830 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20835 wxString
*arg4
= 0 ;
20836 int arg5
= (int) -1 ;
20838 bool temp4
= False
;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 PyObject
* obj2
= 0 ;
20842 PyObject
* obj3
= 0 ;
20843 PyObject
* obj4
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 arg2
= (long) SWIG_AsLong(obj1
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20853 arg3
= (int) SWIG_AsInt(obj2
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 arg4
= wxString_in_helper(obj3
);
20857 if (arg4
== NULL
) SWIG_fail
;
20861 arg5
= (int) SWIG_AsInt(obj4
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= SWIG_FromLong((long)result
);
20886 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20894 PyObject
* obj2
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20902 arg2
= (long) SWIG_AsLong(obj1
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20904 arg3
= (long) SWIG_AsLong(obj2
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_FromInt((int)result
);
20920 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 PyObject
* obj2
= 0 ;
20930 PyObject
* obj3
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20938 arg2
= (long) SWIG_AsLong(obj1
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20940 arg3
= (long) SWIG_AsLong(obj2
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20942 arg4
= (long) SWIG_AsLong(obj3
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20960 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 PyObject
* obj2
= 0 ;
20970 PyObject
* obj3
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20978 arg2
= (long) SWIG_AsLong(obj1
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20980 arg3
= (int) SWIG_AsInt(obj2
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20982 arg4
= (int) SWIG_AsInt(obj3
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21000 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self",(char *) "item", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21014 arg2
= (long) SWIG_AsLong(obj1
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21036 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21040 wxString
*arg3
= 0 ;
21041 bool temp3
= False
;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 PyObject
* obj2
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "item",(char *) "str", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 arg2
= (long) SWIG_AsLong(obj1
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 arg3
= wxString_in_helper(obj2
);
21056 if (arg3
== NULL
) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "item", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 arg2
= (long) SWIG_AsLong(obj1
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_FromLong((long)result
);
21111 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 PyObject
* obj2
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self",(char *) "item",(char *) "data", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21127 arg2
= (long) SWIG_AsLong(obj1
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21129 arg3
= (long) SWIG_AsLong(obj2
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21147 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 PyObject
* obj1
= 0 ;
21154 char *kwnames
[] = {
21155 (char *) "self",(char *) "item", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 arg2
= (long) SWIG_AsLong(obj1
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21171 wxPoint
* resultptr
;
21172 resultptr
= new wxPoint((wxPoint
&) result
);
21173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21181 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21185 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 PyObject
* obj2
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self",(char *) "item",(char *) "code", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21197 arg2
= (long) SWIG_AsLong(obj1
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 arg3
= (int) SWIG_AsInt(obj2
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21211 wxRect
* resultptr
;
21212 resultptr
= new wxRect((wxRect
&) result
);
21213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21221 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21225 wxPoint
*arg3
= 0 ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 PyObject
* obj2
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self",(char *) "item",(char *) "pos", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21238 arg2
= (long) SWIG_AsLong(obj1
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21260 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21264 PyObject
* obj0
= 0 ;
21265 char *kwnames
[] = {
21266 (char *) "self", NULL
21269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_FromInt((int)result
);
21286 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21290 PyObject
* obj0
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_FromInt((int)result
);
21312 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 wxSize
* resultptr
;
21333 resultptr
= new wxSize((wxSize
&) result
);
21334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21342 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21346 bool arg3
= (bool) False
;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21349 PyObject
* obj2
= 0 ;
21350 char *kwnames
[] = {
21351 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21357 arg2
= (int) SWIG_AsInt(obj1
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 arg3
= (bool) SWIG_AsBool(obj2
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 (arg1
)->SetItemSpacing(arg2
,arg3
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 Py_INCREF(Py_None
); resultobj
= Py_None
;
21377 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21381 PyObject
* obj0
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "self", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_FromInt((int)result
);
21403 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21423 wxColour
* resultptr
;
21424 resultptr
= new wxColour((wxColour
&) result
);
21425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21433 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21436 wxColour
*arg2
= 0 ;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "col", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 resultobj
= SWIG_FromLong((long)result
);
21491 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21492 PyObject
*resultobj
;
21493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21495 bool arg3
= (bool) True
;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 PyObject
* obj2
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "style",(char *) "add", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21506 arg2
= (long) SWIG_AsLong(obj1
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 arg3
= (bool) SWIG_AsBool(obj2
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 (arg1
)->SetSingleStyle(arg2
,arg3
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 Py_INCREF(Py_None
); resultobj
= Py_None
;
21526 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self",(char *) "style", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 arg2
= (long) SWIG_AsLong(obj1
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 (arg1
)->SetWindowStyleFlag(arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 Py_INCREF(Py_None
); resultobj
= Py_None
;
21555 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21559 int arg3
= (int) wxLIST_NEXT_ALL
;
21560 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 PyObject
* obj2
= 0 ;
21565 PyObject
* obj3
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21573 arg2
= (long) SWIG_AsLong(obj1
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 arg3
= (int) SWIG_AsInt(obj2
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 arg4
= (int) SWIG_AsInt(obj3
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_FromLong((long)result
);
21597 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21601 wxImageList
*result
;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "which", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21611 arg2
= (int) SWIG_AsInt(obj1
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= wxPyMake_wxObject(result
);
21629 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21632 wxImageList
*arg2
= (wxImageList
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 PyObject
* obj2
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self",(char *) "imageList",(char *) "which", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21646 arg3
= (int) SWIG_AsInt(obj2
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 (arg1
)->SetImageList(arg2
,arg3
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 Py_INCREF(Py_None
); resultobj
= Py_None
;
21662 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21665 wxImageList
*arg2
= (wxImageList
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 PyObject
* obj2
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "imageList",(char *) "which", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21678 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21679 arg3
= (int) SWIG_AsInt(obj2
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 (arg1
)->AssignImageList(arg2
,arg3
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 Py_INCREF(Py_None
); resultobj
= Py_None
;
21695 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21723 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21727 PyObject
* obj0
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21751 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "item", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21764 arg2
= (long) SWIG_AsLong(obj1
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 (arg1
)->RefreshItem(arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 Py_INCREF(Py_None
); resultobj
= Py_None
;
21780 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
;
21782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 PyObject
* obj2
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21795 arg2
= (long) SWIG_AsLong(obj1
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21797 arg3
= (long) SWIG_AsLong(obj2
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 (arg1
)->RefreshItems(arg2
,arg3
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 Py_INCREF(Py_None
); resultobj
= Py_None
;
21813 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21816 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "flag", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21828 arg2
= (int) SWIG_AsInt(obj1
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (bool)(arg1
)->Arrange(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21847 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "item", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 arg2
= (long) SWIG_AsLong(obj1
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= (bool)(arg1
)->DeleteItem(arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21879 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (bool)(arg1
)->DeleteAllItems();
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21907 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
;
21909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "col", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 arg2
= (int) SWIG_AsInt(obj1
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21939 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21940 PyObject
*resultobj
;
21941 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (bool)(arg1
)->DeleteAllColumns();
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21967 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 (arg1
)->ClearAll();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 Py_INCREF(Py_None
); resultobj
= Py_None
;
21992 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "item", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 arg2
= (long) SWIG_AsLong(obj1
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->EditLabel(arg2
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "item", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 arg2
= (long) SWIG_AsLong(obj1
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22057 wxString
*arg3
= 0 ;
22058 bool arg4
= (bool) False
;
22060 bool temp3
= False
;
22061 PyObject
* obj0
= 0 ;
22062 PyObject
* obj1
= 0 ;
22063 PyObject
* obj2
= 0 ;
22064 PyObject
* obj3
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 arg2
= (long) SWIG_AsLong(obj1
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 arg3
= wxString_in_helper(obj2
);
22076 if (arg3
== NULL
) SWIG_fail
;
22080 arg4
= (bool) SWIG_AsBool(obj3
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_FromLong((long)result
);
22105 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 PyObject
* obj2
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self",(char *) "start",(char *) "data", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22121 arg2
= (long) SWIG_AsLong(obj1
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22123 arg3
= (long) SWIG_AsLong(obj2
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_FromLong((long)result
);
22139 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22143 wxPoint
*arg3
= 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 PyObject
* obj2
= 0 ;
22150 PyObject
* obj3
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 arg2
= (long) SWIG_AsLong(obj1
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22164 arg4
= (int) SWIG_AsInt(obj3
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_FromLong((long)result
);
22180 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22183 wxPoint
*arg2
= 0 ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self",(char *) "point", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_FromLong((long)result
);
22211 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22212 resultobj
= t_output_helper(resultobj
,o
);
22220 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22223 wxListItem
*arg2
= 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self",(char *) "info", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22237 if (arg2
== NULL
) {
22238 PyErr_SetString(PyExc_TypeError
,"null reference");
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (long)(arg1
)->InsertItem(*arg2
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_FromLong((long)result
);
22255 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22259 wxString
*arg3
= 0 ;
22261 bool temp3
= False
;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 PyObject
* obj2
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "index",(char *) "label", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22272 arg2
= (long) SWIG_AsLong(obj1
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 arg3
= wxString_in_helper(obj2
);
22276 if (arg3
== NULL
) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 resultobj
= SWIG_FromLong((long)result
);
22301 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 PyObject
* obj2
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",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 arg2
= (long) SWIG_AsLong(obj1
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22319 arg3
= (int) SWIG_AsInt(obj2
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= SWIG_FromLong((long)result
);
22335 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22339 wxString
*arg3
= 0 ;
22342 bool temp3
= False
;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 PyObject
* obj2
= 0 ;
22346 PyObject
* obj3
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22354 arg2
= (long) SWIG_AsLong(obj1
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 arg3
= wxString_in_helper(obj2
);
22358 if (arg3
== NULL
) SWIG_fail
;
22361 arg4
= (int) SWIG_AsInt(obj3
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= SWIG_FromLong((long)result
);
22385 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22389 wxListItem
*arg3
= 0 ;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 PyObject
* obj2
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self",(char *) "col",(char *) "info", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22401 arg2
= (long) SWIG_AsLong(obj1
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22406 if (arg3
== NULL
) {
22407 PyErr_SetString(PyExc_TypeError
,"null reference");
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_FromLong((long)result
);
22424 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22428 wxString
*arg3
= 0 ;
22429 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22430 int arg5
= (int) -1 ;
22432 bool temp3
= False
;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 PyObject
* obj2
= 0 ;
22436 PyObject
* obj3
= 0 ;
22437 PyObject
* obj4
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22445 arg2
= (long) SWIG_AsLong(obj1
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 arg3
= wxString_in_helper(obj2
);
22449 if (arg3
== NULL
) SWIG_fail
;
22453 arg4
= (int) SWIG_AsInt(obj3
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22457 arg5
= (int) SWIG_AsInt(obj4
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_FromLong((long)result
);
22482 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "count", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 arg2
= (long) SWIG_AsLong(obj1
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 (arg1
)->SetItemCount(arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 Py_INCREF(Py_None
); resultobj
= Py_None
;
22511 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 PyObject
* obj2
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self",(char *) "dx",(char *) "dy", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22527 arg2
= (int) SWIG_AsInt(obj1
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22529 arg3
= (int) SWIG_AsInt(obj2
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22547 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22551 wxColour
*arg3
= 0 ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 PyObject
* obj2
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self",(char *) "item",(char *) "col", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 arg2
= (long) SWIG_AsLong(obj1
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22567 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 Py_INCREF(Py_None
); resultobj
= Py_None
;
22583 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "item", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22597 arg2
= (long) SWIG_AsLong(obj1
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 wxColour
* resultptr
;
22608 resultptr
= new wxColour((wxColour
&) result
);
22609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22617 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22621 wxColour
*arg3
= 0 ;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 PyObject
* obj2
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self",(char *) "item",(char *) "col", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 arg2
= (long) SWIG_AsLong(obj1
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22637 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 Py_INCREF(Py_None
); resultobj
= Py_None
;
22653 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 char *kwnames
[] = {
22661 (char *) "self",(char *) "item", NULL
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 arg2
= (long) SWIG_AsLong(obj1
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22677 wxColour
* resultptr
;
22678 resultptr
= new wxColour((wxColour
&) result
);
22679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22687 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22690 PyObject
*arg2
= (PyObject
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "func", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22718 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= wxPyMake_wxObject(result
);
22746 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
;
22748 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22749 wxVisualAttributes result
;
22750 PyObject
* obj0
= 0 ;
22751 char *kwnames
[] = {
22752 (char *) "variant", NULL
22755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22757 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22768 wxVisualAttributes
* resultptr
;
22769 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22778 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22781 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22783 return Py_BuildValue((char *)"");
22785 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxWindow
*arg1
= (wxWindow
*) 0 ;
22788 int arg2
= (int) -1 ;
22789 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22790 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22791 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22792 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22793 long arg5
= (long) wxLC_REPORT
;
22794 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22795 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22796 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22797 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22798 wxListView
*result
;
22801 bool temp7
= False
;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 PyObject
* obj2
= 0 ;
22805 PyObject
* obj3
= 0 ;
22806 PyObject
* obj4
= 0 ;
22807 PyObject
* obj5
= 0 ;
22808 PyObject
* obj6
= 0 ;
22809 char *kwnames
[] = {
22810 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22817 arg2
= (int) SWIG_AsInt(obj1
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22833 arg5
= (long) SWIG_AsLong(obj4
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22840 if (arg6
== NULL
) {
22841 PyErr_SetString(PyExc_TypeError
,"null reference");
22847 arg7
= wxString_in_helper(obj6
);
22848 if (arg7
== NULL
) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22874 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxListView
*result
;
22877 char *kwnames
[] = {
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (wxListView
*)new wxListView();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22896 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxListView
*arg1
= (wxListView
*) 0 ;
22899 wxWindow
*arg2
= (wxWindow
*) 0 ;
22900 int arg3
= (int) -1 ;
22901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22905 long arg6
= (long) wxLC_REPORT
;
22906 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22907 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22908 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22909 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22913 bool temp8
= False
;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 PyObject
* obj2
= 0 ;
22917 PyObject
* obj3
= 0 ;
22918 PyObject
* obj4
= 0 ;
22919 PyObject
* obj5
= 0 ;
22920 PyObject
* obj6
= 0 ;
22921 PyObject
* obj7
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 arg3
= (int) SWIG_AsInt(obj2
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22948 arg6
= (long) SWIG_AsLong(obj5
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22955 if (arg7
== NULL
) {
22956 PyErr_SetString(PyExc_TypeError
,"null reference");
22962 arg8
= wxString_in_helper(obj7
);
22963 if (arg8
== NULL
) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22991 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxListView
*arg1
= (wxListView
*) 0 ;
22995 bool arg3
= (bool) True
;
22996 PyObject
* obj0
= 0 ;
22997 PyObject
* obj1
= 0 ;
22998 PyObject
* obj2
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self",(char *) "n",(char *) "on", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23006 arg2
= (long) SWIG_AsLong(obj1
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 arg3
= (bool) SWIG_AsBool(obj2
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 (arg1
)->Select(arg2
,arg3
);
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 Py_INCREF(Py_None
); resultobj
= Py_None
;
23026 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 wxListView
*arg1
= (wxListView
*) 0 ;
23030 PyObject
* obj0
= 0 ;
23031 PyObject
* obj1
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self",(char *) "index", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23039 arg2
= (long) SWIG_AsLong(obj1
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 (arg1
)->Focus(arg2
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 Py_INCREF(Py_None
); resultobj
= Py_None
;
23055 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxListView
*arg1
= (wxListView
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_FromLong((long)result
);
23081 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxListView
*arg1
= (wxListView
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 PyObject
* obj1
= 0 ;
23088 char *kwnames
[] = {
23089 (char *) "self",(char *) "item", NULL
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23095 arg2
= (long) SWIG_AsLong(obj1
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= SWIG_FromLong((long)result
);
23111 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxListView
*arg1
= (wxListView
*) 0 ;
23115 PyObject
* obj0
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_FromLong((long)result
);
23137 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxListView
*arg1
= (wxListView
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self",(char *) "index", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23151 arg2
= (long) SWIG_AsLong(obj1
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (bool)(arg1
)->IsSelected(arg2
);
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23169 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxListView
*arg1
= (wxListView
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 PyObject
* obj2
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self",(char *) "col",(char *) "image", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 arg2
= (int) SWIG_AsInt(obj1
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23186 arg3
= (int) SWIG_AsInt(obj2
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 (arg1
)->SetColumnImage(arg2
,arg3
);
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 Py_INCREF(Py_None
); resultobj
= Py_None
;
23202 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxListView
*arg1
= (wxListView
*) 0 ;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "col", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23215 arg2
= (int) SWIG_AsInt(obj1
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 (arg1
)->ClearColumnImage(arg2
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 Py_INCREF(Py_None
); resultobj
= Py_None
;
23231 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23234 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23236 return Py_BuildValue((char *)"");
23238 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23239 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23244 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23249 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23251 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23258 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxTreeItemId
*result
;
23261 char *kwnames
[] = {
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (wxTreeItemId
*)new wxTreeItemId();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23280 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 Py_INCREF(Py_None
); resultobj
= Py_None
;
23305 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23333 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23336 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self",(char *) "other", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23365 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23368 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self",(char *) "other", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23397 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23400 void *arg2
= (void *) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self",(char *) "m_pItem", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23411 if (arg1
) (arg1
)->m_pItem
= arg2
;
23413 Py_INCREF(Py_None
); resultobj
= Py_None
;
23420 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23432 result
= (void *) ((arg1
)->m_pItem
);
23434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23441 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23444 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23446 return Py_BuildValue((char *)"");
23448 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 PyObject
*arg1
= (PyObject
*) NULL
;
23451 wxPyTreeItemData
*result
;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "obj", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23475 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23479 PyObject
* obj0
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (PyObject
*)(arg1
)->GetData();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
;
23501 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23504 PyObject
*arg2
= (PyObject
*) 0 ;
23505 PyObject
* obj0
= 0 ;
23506 PyObject
* obj1
= 0 ;
23507 char *kwnames
[] = {
23508 (char *) "self",(char *) "obj", NULL
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 (arg1
)->SetData(arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 Py_INCREF(Py_None
); resultobj
= Py_None
;
23529 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23532 wxTreeItemId
*result
;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23545 result
= (wxTreeItemId
*) &_result_ref
;
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23558 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23561 wxTreeItemId
*arg2
= 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self",(char *) "id", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23574 if (arg2
== NULL
) {
23575 PyErr_SetString(PyExc_TypeError
,"null reference");
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 Py_INCREF(Py_None
); resultobj
= Py_None
;
23592 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 wxPyTreeItemData_Destroy(arg1
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 Py_INCREF(Py_None
); resultobj
= Py_None
;
23617 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23620 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23622 return Py_BuildValue((char *)"");
23624 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23627 int arg2
= (int) 0 ;
23628 wxTreeEvent
*result
;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "commandType",(char *) "id", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23637 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 arg2
= (int) SWIG_AsInt(obj1
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23658 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23661 wxTreeItemId result
;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 wxTreeItemId
* resultptr
;
23679 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23688 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23691 wxTreeItemId
*arg2
= 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "item", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23704 if (arg2
== NULL
) {
23705 PyErr_SetString(PyExc_TypeError
,"null reference");
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 Py_INCREF(Py_None
); resultobj
= Py_None
;
23722 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23725 wxTreeItemId result
;
23726 PyObject
* obj0
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 wxTreeItemId
* resultptr
;
23743 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23752 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23755 wxTreeItemId
*arg2
= 0 ;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "item", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23768 if (arg2
== NULL
) {
23769 PyErr_SetString(PyExc_TypeError
,"null reference");
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 Py_INCREF(Py_None
); resultobj
= Py_None
;
23786 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 wxPoint
* resultptr
;
23807 resultptr
= new wxPoint((wxPoint
&) result
);
23808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23816 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23819 wxPoint
*arg2
= 0 ;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self",(char *) "pt", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 Py_INCREF(Py_None
); resultobj
= Py_None
;
23848 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23850 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23851 wxKeyEvent
*result
;
23852 PyObject
* obj0
= 0 ;
23853 char *kwnames
[] = {
23854 (char *) "self", NULL
23857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23864 result
= (wxKeyEvent
*) &_result_ref
;
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23877 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= SWIG_FromInt((int)result
);
23903 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23906 wxKeyEvent
*arg2
= 0 ;
23907 PyObject
* obj0
= 0 ;
23908 PyObject
* obj1
= 0 ;
23909 char *kwnames
[] = {
23910 (char *) "self",(char *) "evt", NULL
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23919 if (arg2
== NULL
) {
23920 PyErr_SetString(PyExc_TypeError
,"null reference");
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 Py_INCREF(Py_None
); resultobj
= Py_None
;
23937 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23953 result
= (wxString
*) &_result_ref
;
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23972 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23975 wxString
*arg2
= 0 ;
23976 bool temp2
= False
;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "label", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23987 arg2
= wxString_in_helper(obj1
);
23988 if (arg2
== NULL
) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 (arg1
)->SetLabel((wxString
const &)*arg2
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 Py_INCREF(Py_None
); resultobj
= Py_None
;
24013 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24017 PyObject
* obj0
= 0 ;
24018 char *kwnames
[] = {
24019 (char *) "self", NULL
24022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24041 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self",(char *) "editCancelled", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 arg2
= (bool) SWIG_AsBool(obj1
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->SetEditCanceled(arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 Py_INCREF(Py_None
); resultobj
= Py_None
;
24070 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24073 wxString
*arg2
= 0 ;
24074 bool temp2
= False
;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "toolTip", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 arg2
= wxString_in_helper(obj1
);
24086 if (arg2
== NULL
) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 Py_INCREF(Py_None
); resultobj
= Py_None
;
24111 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24114 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24116 return Py_BuildValue((char *)"");
24118 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxWindow
*arg1
= (wxWindow
*) 0 ;
24121 int arg2
= (int) -1 ;
24122 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24123 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24124 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24125 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24126 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24127 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24128 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24129 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24130 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24131 wxPyTreeCtrl
*result
;
24134 bool temp7
= False
;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24137 PyObject
* obj2
= 0 ;
24138 PyObject
* obj3
= 0 ;
24139 PyObject
* obj4
= 0 ;
24140 PyObject
* obj5
= 0 ;
24141 PyObject
* obj6
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24150 arg2
= (int) SWIG_AsInt(obj1
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24156 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24162 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24166 arg5
= (long) SWIG_AsLong(obj4
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24170 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24173 if (arg6
== NULL
) {
24174 PyErr_SetString(PyExc_TypeError
,"null reference");
24180 arg7
= wxString_in_helper(obj6
);
24181 if (arg7
== NULL
) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= wxPyMake_wxObject(result
);
24209 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxPyTreeCtrl
*result
;
24212 char *kwnames
[] = {
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= wxPyMake_wxObject(result
);
24233 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24236 wxWindow
*arg2
= (wxWindow
*) 0 ;
24237 int arg3
= (int) -1 ;
24238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24242 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24243 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24244 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24245 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24246 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24250 bool temp8
= False
;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 PyObject
* obj2
= 0 ;
24254 PyObject
* obj3
= 0 ;
24255 PyObject
* obj4
= 0 ;
24256 PyObject
* obj5
= 0 ;
24257 PyObject
* obj6
= 0 ;
24258 PyObject
* obj7
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 arg3
= (int) SWIG_AsInt(obj2
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24275 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24281 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24285 arg6
= (long) SWIG_AsLong(obj5
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24289 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24292 if (arg7
== NULL
) {
24293 PyErr_SetString(PyExc_TypeError
,"null reference");
24299 arg8
= wxString_in_helper(obj7
);
24300 if (arg8
== NULL
) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24328 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24331 PyObject
*arg2
= (PyObject
*) 0 ;
24332 PyObject
*arg3
= (PyObject
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 PyObject
* obj2
= 0 ;
24336 char *kwnames
[] = {
24337 (char *) "self",(char *) "self",(char *) "_class", NULL
24340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 Py_INCREF(Py_None
); resultobj
= Py_None
;
24359 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
;
24361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24363 PyObject
* obj0
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24385 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24388 unsigned int result
;
24389 PyObject
* obj0
= 0 ;
24390 char *kwnames
[] = {
24391 (char *) "self", NULL
24394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24411 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
;
24413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24414 unsigned int arg2
;
24415 PyObject
* obj0
= 0 ;
24416 PyObject
* obj1
= 0 ;
24417 char *kwnames
[] = {
24418 (char *) "self",(char *) "indent", NULL
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24424 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 (arg1
)->SetIndent(arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 Py_INCREF(Py_None
); resultobj
= Py_None
;
24440 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24441 PyObject
*resultobj
;
24442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24443 unsigned int result
;
24444 PyObject
* obj0
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24466 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24469 unsigned int arg2
;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 char *kwnames
[] = {
24473 (char *) "self",(char *) "spacing", NULL
24476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24479 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 (arg1
)->SetSpacing(arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24498 wxImageList
*result
;
24499 PyObject
* obj0
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= wxPyMake_wxObject(result
);
24523 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24526 wxImageList
*result
;
24527 PyObject
* obj0
= 0 ;
24528 char *kwnames
[] = {
24529 (char *) "self", NULL
24532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= wxPyMake_wxObject(result
);
24551 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24554 wxImageList
*arg2
= (wxImageList
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self",(char *) "imageList", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 (arg1
)->SetImageList(arg2
);
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 Py_INCREF(Py_None
); resultobj
= Py_None
;
24580 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24583 wxImageList
*arg2
= (wxImageList
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self",(char *) "imageList", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetStateImageList(arg2
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24612 wxImageList
*arg2
= (wxImageList
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "imageList", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24623 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->AssignImageList(arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24641 wxImageList
*arg2
= (wxImageList
*) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self",(char *) "imageList", NULL
24648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24652 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->AssignStateImageList(arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 Py_INCREF(Py_None
); resultobj
= Py_None
;
24667 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24670 wxTreeItemId
*arg2
= 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self",(char *) "item", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24684 if (arg2
== NULL
) {
24685 PyErr_SetString(PyExc_TypeError
,"null reference");
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24708 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24711 wxTreeItemId
*arg2
= 0 ;
24712 int arg3
= (int) wxTreeItemIcon_Normal
;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 PyObject
* obj2
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "item",(char *) "which", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24727 if (arg2
== NULL
) {
24728 PyErr_SetString(PyExc_TypeError
,"null reference");
24732 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= SWIG_FromInt((int)result
);
24749 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24752 wxTreeItemId
*arg2
= 0 ;
24753 wxPyTreeItemData
*result
;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self",(char *) "item", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24766 if (arg2
== NULL
) {
24767 PyErr_SetString(PyExc_TypeError
,"null reference");
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24784 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24787 wxTreeItemId
*arg2
= 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self",(char *) "item", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24801 if (arg2
== NULL
) {
24802 PyErr_SetString(PyExc_TypeError
,"null reference");
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= result
;
24819 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24822 wxTreeItemId
*arg2
= 0 ;
24824 PyObject
* obj0
= 0 ;
24825 PyObject
* obj1
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self",(char *) "item", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24836 if (arg2
== NULL
) {
24837 PyErr_SetString(PyExc_TypeError
,"null reference");
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24848 wxColour
* resultptr
;
24849 resultptr
= new wxColour((wxColour
&) result
);
24850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24858 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24861 wxTreeItemId
*arg2
= 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self",(char *) "item", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24875 if (arg2
== NULL
) {
24876 PyErr_SetString(PyExc_TypeError
,"null reference");
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 wxColour
* resultptr
;
24888 resultptr
= new wxColour((wxColour
&) result
);
24889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24897 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24900 wxTreeItemId
*arg2
= 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "item", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24914 if (arg2
== NULL
) {
24915 PyErr_SetString(PyExc_TypeError
,"null reference");
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24926 wxFont
* resultptr
;
24927 resultptr
= new wxFont((wxFont
&) result
);
24928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24936 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24939 wxTreeItemId
*arg2
= 0 ;
24940 wxString
*arg3
= 0 ;
24941 bool temp3
= False
;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 PyObject
* obj2
= 0 ;
24945 char *kwnames
[] = {
24946 (char *) "self",(char *) "item",(char *) "text", NULL
24949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24955 if (arg2
== NULL
) {
24956 PyErr_SetString(PyExc_TypeError
,"null reference");
24960 arg3
= wxString_in_helper(obj2
);
24961 if (arg3
== NULL
) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 Py_INCREF(Py_None
); resultobj
= Py_None
;
24986 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24989 wxTreeItemId
*arg2
= 0 ;
24991 int arg4
= (int) wxTreeItemIcon_Normal
;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 PyObject
* obj3
= 0 ;
24996 char *kwnames
[] = {
24997 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25006 if (arg2
== NULL
) {
25007 PyErr_SetString(PyExc_TypeError
,"null reference");
25010 arg3
= (int) SWIG_AsInt(obj2
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25030 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25033 wxTreeItemId
*arg2
= 0 ;
25034 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 PyObject
* obj2
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self",(char *) "item",(char *) "data", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25048 if (arg2
== NULL
) {
25049 PyErr_SetString(PyExc_TypeError
,"null reference");
25052 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 Py_INCREF(Py_None
); resultobj
= Py_None
;
25068 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25071 wxTreeItemId
*arg2
= 0 ;
25072 PyObject
*arg3
= (PyObject
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 PyObject
* obj1
= 0 ;
25075 PyObject
* obj2
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self",(char *) "item",(char *) "obj", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25086 if (arg2
== NULL
) {
25087 PyErr_SetString(PyExc_TypeError
,"null reference");
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 Py_INCREF(Py_None
); resultobj
= Py_None
;
25105 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25108 wxTreeItemId
*arg2
= 0 ;
25109 bool arg3
= (bool) True
;
25110 PyObject
* obj0
= 0 ;
25111 PyObject
* obj1
= 0 ;
25112 PyObject
* obj2
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "item",(char *) "has", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25123 if (arg2
== NULL
) {
25124 PyErr_SetString(PyExc_TypeError
,"null reference");
25128 arg3
= (bool) SWIG_AsBool(obj2
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 Py_INCREF(Py_None
); resultobj
= Py_None
;
25145 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25148 wxTreeItemId
*arg2
= 0 ;
25149 bool arg3
= (bool) True
;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 PyObject
* obj2
= 0 ;
25153 char *kwnames
[] = {
25154 (char *) "self",(char *) "item",(char *) "bold", NULL
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25163 if (arg2
== NULL
) {
25164 PyErr_SetString(PyExc_TypeError
,"null reference");
25168 arg3
= (bool) SWIG_AsBool(obj2
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25188 wxTreeItemId
*arg2
= 0 ;
25189 wxColour
*arg3
= 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 PyObject
* obj2
= 0 ;
25194 char *kwnames
[] = {
25195 (char *) "self",(char *) "item",(char *) "col", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25204 if (arg2
== NULL
) {
25205 PyErr_SetString(PyExc_TypeError
,"null reference");
25210 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 Py_INCREF(Py_None
); resultobj
= Py_None
;
25226 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25229 wxTreeItemId
*arg2
= 0 ;
25230 wxColour
*arg3
= 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 PyObject
* obj2
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "item",(char *) "col", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25245 if (arg2
== NULL
) {
25246 PyErr_SetString(PyExc_TypeError
,"null reference");
25251 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 Py_INCREF(Py_None
); resultobj
= Py_None
;
25267 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25270 wxTreeItemId
*arg2
= 0 ;
25272 PyObject
* obj0
= 0 ;
25273 PyObject
* obj1
= 0 ;
25274 PyObject
* obj2
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self",(char *) "item",(char *) "font", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25285 if (arg2
== NULL
) {
25286 PyErr_SetString(PyExc_TypeError
,"null reference");
25289 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25292 if (arg3
== NULL
) {
25293 PyErr_SetString(PyExc_TypeError
,"null reference");
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 Py_INCREF(Py_None
); resultobj
= Py_None
;
25310 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25313 wxTreeItemId
*arg2
= 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self",(char *) "item", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25327 if (arg2
== NULL
) {
25328 PyErr_SetString(PyExc_TypeError
,"null reference");
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25347 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25350 wxTreeItemId
*arg2
= 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "item", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25364 if (arg2
== NULL
) {
25365 PyErr_SetString(PyExc_TypeError
,"null reference");
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25384 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25387 wxTreeItemId
*arg2
= 0 ;
25389 PyObject
* obj0
= 0 ;
25390 PyObject
* obj1
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self",(char *) "item", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25401 if (arg2
== NULL
) {
25402 PyErr_SetString(PyExc_TypeError
,"null reference");
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25421 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25424 wxTreeItemId
*arg2
= 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "item", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25438 if (arg2
== NULL
) {
25439 PyErr_SetString(PyExc_TypeError
,"null reference");
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25458 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25461 wxTreeItemId
*arg2
= 0 ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "self",(char *) "item", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25475 if (arg2
== NULL
) {
25476 PyErr_SetString(PyExc_TypeError
,"null reference");
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25495 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25498 wxTreeItemId
*arg2
= 0 ;
25499 bool arg3
= (bool) True
;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 PyObject
* obj2
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self",(char *) "item",(char *) "recursively", NULL
25508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25514 if (arg2
== NULL
) {
25515 PyErr_SetString(PyExc_TypeError
,"null reference");
25519 arg3
= (bool) SWIG_AsBool(obj2
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25536 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25539 wxTreeItemId result
;
25540 PyObject
* obj0
= 0 ;
25541 char *kwnames
[] = {
25542 (char *) "self", NULL
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25556 wxTreeItemId
* resultptr
;
25557 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25566 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25569 wxTreeItemId result
;
25570 PyObject
* obj0
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 wxTreeItemId
* resultptr
;
25587 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25596 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= result
;
25622 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25625 wxTreeItemId
*arg2
= 0 ;
25626 wxTreeItemId result
;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self",(char *) "item", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25639 if (arg2
== NULL
) {
25640 PyErr_SetString(PyExc_TypeError
,"null reference");
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25651 wxTreeItemId
* resultptr
;
25652 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25661 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25664 wxTreeItemId
*arg2
= 0 ;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self",(char *) "item", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25678 if (arg2
== NULL
) {
25679 PyErr_SetString(PyExc_TypeError
,"null reference");
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= result
;
25696 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25699 wxTreeItemId
*arg2
= 0 ;
25700 void *arg3
= (void *) 0 ;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 PyObject
* obj2
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self",(char *) "item",(char *) "cookie", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25715 if (arg2
== NULL
) {
25716 PyErr_SetString(PyExc_TypeError
,"null reference");
25719 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25727 resultobj
= result
;
25734 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25735 PyObject
*resultobj
;
25736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25737 wxTreeItemId
*arg2
= 0 ;
25738 wxTreeItemId result
;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self",(char *) "item", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25751 if (arg2
== NULL
) {
25752 PyErr_SetString(PyExc_TypeError
,"null reference");
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 wxTreeItemId
* resultptr
;
25764 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25773 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25776 wxTreeItemId
*arg2
= 0 ;
25777 wxTreeItemId result
;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self",(char *) "item", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25790 if (arg2
== NULL
) {
25791 PyErr_SetString(PyExc_TypeError
,"null reference");
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 wxTreeItemId
* resultptr
;
25803 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25812 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25815 wxTreeItemId
*arg2
= 0 ;
25816 wxTreeItemId result
;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "item", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25829 if (arg2
== NULL
) {
25830 PyErr_SetString(PyExc_TypeError
,"null reference");
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 wxTreeItemId
* resultptr
;
25842 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25851 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25854 wxTreeItemId result
;
25855 PyObject
* obj0
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25871 wxTreeItemId
* resultptr
;
25872 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25881 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25884 wxTreeItemId
*arg2
= 0 ;
25885 wxTreeItemId result
;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "item", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25898 if (arg2
== NULL
) {
25899 PyErr_SetString(PyExc_TypeError
,"null reference");
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 wxTreeItemId
* resultptr
;
25911 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25920 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25923 wxTreeItemId
*arg2
= 0 ;
25924 wxTreeItemId result
;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "item", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25937 if (arg2
== NULL
) {
25938 PyErr_SetString(PyExc_TypeError
,"null reference");
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25949 wxTreeItemId
* resultptr
;
25950 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25959 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25962 wxString
*arg2
= 0 ;
25963 int arg3
= (int) -1 ;
25964 int arg4
= (int) -1 ;
25965 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25966 wxTreeItemId result
;
25967 bool temp2
= False
;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 PyObject
* obj2
= 0 ;
25971 PyObject
* obj3
= 0 ;
25972 PyObject
* obj4
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25981 arg2
= wxString_in_helper(obj1
);
25982 if (arg2
== NULL
) SWIG_fail
;
25986 arg3
= (int) SWIG_AsInt(obj2
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 arg4
= (int) SWIG_AsInt(obj3
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25994 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26005 wxTreeItemId
* resultptr
;
26006 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26023 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26026 wxTreeItemId
*arg2
= 0 ;
26027 wxString
*arg3
= 0 ;
26028 int arg4
= (int) -1 ;
26029 int arg5
= (int) -1 ;
26030 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26031 wxTreeItemId result
;
26032 bool temp3
= False
;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 PyObject
* obj2
= 0 ;
26036 PyObject
* obj3
= 0 ;
26037 PyObject
* obj4
= 0 ;
26038 PyObject
* obj5
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26049 if (arg2
== NULL
) {
26050 PyErr_SetString(PyExc_TypeError
,"null reference");
26054 arg3
= wxString_in_helper(obj2
);
26055 if (arg3
== NULL
) SWIG_fail
;
26059 arg4
= (int) SWIG_AsInt(obj3
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26063 arg5
= (int) SWIG_AsInt(obj4
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26067 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 wxTreeItemId
* resultptr
;
26079 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26096 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26099 wxTreeItemId
*arg2
= 0 ;
26100 wxTreeItemId
*arg3
= 0 ;
26101 wxString
*arg4
= 0 ;
26102 int arg5
= (int) -1 ;
26103 int arg6
= (int) -1 ;
26104 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26105 wxTreeItemId result
;
26106 bool temp4
= False
;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 PyObject
* obj2
= 0 ;
26110 PyObject
* obj3
= 0 ;
26111 PyObject
* obj4
= 0 ;
26112 PyObject
* obj5
= 0 ;
26113 PyObject
* obj6
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26124 if (arg2
== NULL
) {
26125 PyErr_SetString(PyExc_TypeError
,"null reference");
26128 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26131 if (arg3
== NULL
) {
26132 PyErr_SetString(PyExc_TypeError
,"null reference");
26136 arg4
= wxString_in_helper(obj3
);
26137 if (arg4
== NULL
) SWIG_fail
;
26141 arg5
= (int) SWIG_AsInt(obj4
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 arg6
= (int) SWIG_AsInt(obj5
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26149 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26160 wxTreeItemId
* resultptr
;
26161 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26178 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26181 wxTreeItemId
*arg2
= 0 ;
26183 wxString
*arg4
= 0 ;
26184 int arg5
= (int) -1 ;
26185 int arg6
= (int) -1 ;
26186 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26187 wxTreeItemId result
;
26188 bool temp4
= False
;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 PyObject
* obj2
= 0 ;
26192 PyObject
* obj3
= 0 ;
26193 PyObject
* obj4
= 0 ;
26194 PyObject
* obj5
= 0 ;
26195 PyObject
* obj6
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26206 if (arg2
== NULL
) {
26207 PyErr_SetString(PyExc_TypeError
,"null reference");
26210 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 arg4
= wxString_in_helper(obj3
);
26214 if (arg4
== NULL
) SWIG_fail
;
26218 arg5
= (int) SWIG_AsInt(obj4
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26222 arg6
= (int) SWIG_AsInt(obj5
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 wxTreeItemId
* resultptr
;
26238 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26255 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26258 wxTreeItemId
*arg2
= 0 ;
26259 wxString
*arg3
= 0 ;
26260 int arg4
= (int) -1 ;
26261 int arg5
= (int) -1 ;
26262 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26263 wxTreeItemId result
;
26264 bool temp3
= False
;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 PyObject
* obj2
= 0 ;
26268 PyObject
* obj3
= 0 ;
26269 PyObject
* obj4
= 0 ;
26270 PyObject
* obj5
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26281 if (arg2
== NULL
) {
26282 PyErr_SetString(PyExc_TypeError
,"null reference");
26286 arg3
= wxString_in_helper(obj2
);
26287 if (arg3
== NULL
) SWIG_fail
;
26291 arg4
= (int) SWIG_AsInt(obj3
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26295 arg5
= (int) SWIG_AsInt(obj4
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26310 wxTreeItemId
* resultptr
;
26311 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26328 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26331 wxTreeItemId
*arg2
= 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "item", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26344 if (arg2
== NULL
) {
26345 PyErr_SetString(PyExc_TypeError
,"null reference");
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 Py_INCREF(Py_None
); resultobj
= Py_None
;
26362 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
;
26364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26365 wxTreeItemId
*arg2
= 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self",(char *) "item", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26378 if (arg2
== NULL
) {
26379 PyErr_SetString(PyExc_TypeError
,"null reference");
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26396 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 (arg1
)->DeleteAllItems();
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 Py_INCREF(Py_None
); resultobj
= Py_None
;
26421 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26424 wxTreeItemId
*arg2
= 0 ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self",(char *) "item", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26437 if (arg2
== NULL
) {
26438 PyErr_SetString(PyExc_TypeError
,"null reference");
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26458 wxTreeItemId
*arg2
= 0 ;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "item", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26471 if (arg2
== NULL
) {
26472 PyErr_SetString(PyExc_TypeError
,"null reference");
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 Py_INCREF(Py_None
); resultobj
= Py_None
;
26489 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26492 wxTreeItemId
*arg2
= 0 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self",(char *) "item", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26505 if (arg2
== NULL
) {
26506 PyErr_SetString(PyExc_TypeError
,"null reference");
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 Py_INCREF(Py_None
); resultobj
= Py_None
;
26523 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26526 wxTreeItemId
*arg2
= 0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "self",(char *) "item", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26539 if (arg2
== NULL
) {
26540 PyErr_SetString(PyExc_TypeError
,"null reference");
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 Py_INCREF(Py_None
); resultobj
= Py_None
;
26557 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 (arg1
)->Unselect();
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 Py_INCREF(Py_None
); resultobj
= Py_None
;
26582 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26585 wxTreeItemId
*arg2
= 0 ;
26586 PyObject
* obj0
= 0 ;
26587 PyObject
* obj1
= 0 ;
26588 char *kwnames
[] = {
26589 (char *) "self",(char *) "item", NULL
26592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26598 if (arg2
== NULL
) {
26599 PyErr_SetString(PyExc_TypeError
,"null reference");
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 Py_INCREF(Py_None
); resultobj
= Py_None
;
26616 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "self", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 (arg1
)->UnselectAll();
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 Py_INCREF(Py_None
); resultobj
= Py_None
;
26641 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26644 wxTreeItemId
*arg2
= 0 ;
26645 bool arg3
= (bool) True
;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 PyObject
* obj2
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self",(char *) "item",(char *) "select", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26659 if (arg2
== NULL
) {
26660 PyErr_SetString(PyExc_TypeError
,"null reference");
26664 arg3
= (bool) SWIG_AsBool(obj2
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 Py_INCREF(Py_None
); resultobj
= Py_None
;
26681 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
;
26683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26684 wxTreeItemId
*arg2
= 0 ;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self",(char *) "item", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26697 if (arg2
== NULL
) {
26698 PyErr_SetString(PyExc_TypeError
,"null reference");
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 Py_INCREF(Py_None
); resultobj
= Py_None
;
26715 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26718 wxTreeItemId
*arg2
= 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self",(char *) "item", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26731 if (arg2
== NULL
) {
26732 PyErr_SetString(PyExc_TypeError
,"null reference");
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 Py_INCREF(Py_None
); resultobj
= Py_None
;
26749 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
;
26751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26752 wxTreeItemId
*arg2
= 0 ;
26753 PyObject
* obj0
= 0 ;
26754 PyObject
* obj1
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self",(char *) "item", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26765 if (arg2
== NULL
) {
26766 PyErr_SetString(PyExc_TypeError
,"null reference");
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 Py_INCREF(Py_None
); resultobj
= Py_None
;
26783 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26784 PyObject
*resultobj
;
26785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26786 wxTreeItemId
*arg2
= 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self",(char *) "item", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26799 if (arg2
== NULL
) {
26800 PyErr_SetString(PyExc_TypeError
,"null reference");
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 Py_INCREF(Py_None
); resultobj
= Py_None
;
26817 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26820 wxTextCtrl
*result
;
26821 PyObject
* obj0
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= wxPyMake_wxObject(result
);
26845 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26848 wxTreeItemId
*arg2
= 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "item", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26861 if (arg2
== NULL
) {
26862 PyErr_SetString(PyExc_TypeError
,"null reference");
26866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26867 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 Py_INCREF(Py_None
); resultobj
= Py_None
;
26879 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
;
26881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26882 wxPoint
*arg2
= 0 ;
26884 wxTreeItemId result
;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self",(char *) "point", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 wxTreeItemId
* resultptr
;
26910 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26914 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26915 resultobj
= t_output_helper(resultobj
,o
);
26923 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26926 wxTreeItemId
*arg2
= 0 ;
26927 bool arg3
= (bool) False
;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 PyObject
* obj2
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26942 if (arg2
== NULL
) {
26943 PyErr_SetString(PyExc_TypeError
,"null reference");
26947 arg3
= (bool) SWIG_AsBool(obj2
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= result
;
26964 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
;
26966 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26967 wxVisualAttributes result
;
26968 PyObject
* obj0
= 0 ;
26969 char *kwnames
[] = {
26970 (char *) "variant", NULL
26973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26975 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26986 wxVisualAttributes
* resultptr
;
26987 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26996 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26999 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27001 return Py_BuildValue((char *)"");
27003 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27004 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27009 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27014 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27016 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27023 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxWindow
*arg1
= (wxWindow
*) 0 ;
27026 int arg2
= (int) (int)-1 ;
27027 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27028 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27033 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27034 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27035 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27036 int arg8
= (int) 0 ;
27037 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27038 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27039 wxGenericDirCtrl
*result
;
27040 bool temp3
= False
;
27043 bool temp7
= False
;
27044 bool temp9
= False
;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 PyObject
* obj2
= 0 ;
27048 PyObject
* obj3
= 0 ;
27049 PyObject
* obj4
= 0 ;
27050 PyObject
* obj5
= 0 ;
27051 PyObject
* obj6
= 0 ;
27052 PyObject
* obj7
= 0 ;
27053 PyObject
* obj8
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27062 arg2
= (int const) SWIG_AsInt(obj1
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27067 arg3
= wxString_in_helper(obj2
);
27068 if (arg3
== NULL
) SWIG_fail
;
27075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27085 arg6
= (long) SWIG_AsLong(obj5
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27090 arg7
= wxString_in_helper(obj6
);
27091 if (arg7
== NULL
) SWIG_fail
;
27096 arg8
= (int) SWIG_AsInt(obj7
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27101 arg9
= wxString_in_helper(obj8
);
27102 if (arg9
== NULL
) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27144 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 wxGenericDirCtrl
*result
;
27147 char *kwnames
[] = {
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27166 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27169 wxWindow
*arg2
= (wxWindow
*) 0 ;
27170 int arg3
= (int) (int)-1 ;
27171 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27175 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27176 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27177 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27178 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27179 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27180 int arg9
= (int) 0 ;
27181 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27182 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27184 bool temp4
= False
;
27187 bool temp8
= False
;
27188 bool temp10
= False
;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 PyObject
* obj2
= 0 ;
27192 PyObject
* obj3
= 0 ;
27193 PyObject
* obj4
= 0 ;
27194 PyObject
* obj5
= 0 ;
27195 PyObject
* obj6
= 0 ;
27196 PyObject
* obj7
= 0 ;
27197 PyObject
* obj8
= 0 ;
27198 PyObject
* obj9
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27209 arg3
= (int const) SWIG_AsInt(obj2
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27214 arg4
= wxString_in_helper(obj3
);
27215 if (arg4
== NULL
) SWIG_fail
;
27222 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27228 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27232 arg7
= (long) SWIG_AsLong(obj6
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27237 arg8
= wxString_in_helper(obj7
);
27238 if (arg8
== NULL
) SWIG_fail
;
27243 arg9
= (int) SWIG_AsInt(obj8
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27248 arg10
= wxString_in_helper(obj9
);
27249 if (arg10
== NULL
) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27293 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
;
27295 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27296 wxString
*arg2
= 0 ;
27298 bool temp2
= False
;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "path", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27309 arg2
= wxString_in_helper(obj1
);
27310 if (arg2
== NULL
) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27337 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 char *kwnames
[] = {
27343 (char *) "self", NULL
27346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27369 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27372 wxString
*arg2
= 0 ;
27373 bool temp2
= False
;
27374 PyObject
* obj0
= 0 ;
27375 PyObject
* obj1
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self",(char *) "path", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27384 arg2
= wxString_in_helper(obj1
);
27385 if (arg2
== NULL
) SWIG_fail
;
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 Py_INCREF(Py_None
); resultobj
= Py_None
;
27410 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27414 PyObject
* obj0
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27442 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27474 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27477 wxString
*arg2
= 0 ;
27478 bool temp2
= False
;
27479 PyObject
* obj0
= 0 ;
27480 PyObject
* obj1
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self",(char *) "path", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27489 arg2
= wxString_in_helper(obj1
);
27490 if (arg2
== NULL
) SWIG_fail
;
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 (arg1
)->SetPath((wxString
const &)*arg2
);
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27500 Py_INCREF(Py_None
); resultobj
= Py_None
;
27515 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
;
27517 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 PyObject
* obj1
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self",(char *) "show", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 arg2
= (bool) SWIG_AsBool(obj1
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 (arg1
)->ShowHidden(arg2
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 Py_INCREF(Py_None
); resultobj
= Py_None
;
27544 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
;
27546 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27548 PyObject
* obj0
= 0 ;
27549 char *kwnames
[] = {
27550 (char *) "self", NULL
27553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 result
= (bool)(arg1
)->GetShowHidden();
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27572 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27604 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27607 wxString
*arg2
= 0 ;
27608 bool temp2
= False
;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 char *kwnames
[] = {
27612 (char *) "self",(char *) "filter", NULL
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27619 arg2
= wxString_in_helper(obj1
);
27620 if (arg2
== NULL
) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 (arg1
)->SetFilter((wxString
const &)*arg2
);
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 Py_INCREF(Py_None
); resultobj
= Py_None
;
27645 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27649 PyObject
* obj0
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_FromInt((int)result
);
27671 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 PyObject
* obj1
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "self",(char *) "n", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27684 arg2
= (int) SWIG_AsInt(obj1
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 (arg1
)->SetFilterIndex(arg2
);
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 Py_INCREF(Py_None
); resultobj
= Py_None
;
27700 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27703 wxTreeItemId result
;
27704 PyObject
* obj0
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 result
= (arg1
)->GetRootId();
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 wxTreeItemId
* resultptr
;
27721 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27730 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27733 wxPyTreeCtrl
*result
;
27734 PyObject
* obj0
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= wxPyMake_wxObject(result
);
27758 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27761 wxDirFilterListCtrl
*result
;
27762 PyObject
* obj0
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27784 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27787 wxTreeItemId arg2
;
27788 wxString
*arg3
= 0 ;
27790 wxTreeItemId result
;
27791 wxTreeItemId
*argp2
;
27792 bool temp3
= False
;
27794 PyObject
* obj0
= 0 ;
27795 PyObject
* obj1
= 0 ;
27796 PyObject
* obj2
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self",(char *) "parentId",(char *) "path", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27805 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27806 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27809 arg3
= wxString_in_helper(obj2
);
27810 if (arg3
== NULL
) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27821 wxTreeItemId
* resultptr
;
27822 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27826 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27827 resultobj
= t_output_helper(resultobj
,o
);
27843 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 (arg1
)->DoResize();
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 Py_INCREF(Py_None
); resultobj
= Py_None
;
27868 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 (arg1
)->ReCreateTree();
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 Py_INCREF(Py_None
); resultobj
= Py_None
;
27893 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27896 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27898 return Py_BuildValue((char *)"");
27900 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27903 int arg2
= (int) (int)-1 ;
27904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27908 long arg5
= (long) 0 ;
27909 wxDirFilterListCtrl
*result
;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 PyObject
* obj2
= 0 ;
27915 PyObject
* obj3
= 0 ;
27916 PyObject
* obj4
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27925 arg2
= (int const) SWIG_AsInt(obj1
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27941 arg5
= (long) SWIG_AsLong(obj4
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27958 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
;
27960 wxDirFilterListCtrl
*result
;
27961 char *kwnames
[] = {
27965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27980 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27983 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27984 int arg3
= (int) (int)-1 ;
27985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27989 long arg6
= (long) 0 ;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 PyObject
* obj2
= 0 ;
27996 PyObject
* obj3
= 0 ;
27997 PyObject
* obj4
= 0 ;
27998 PyObject
* obj5
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 arg3
= (int const) SWIG_AsInt(obj2
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28025 arg6
= (long) SWIG_AsLong(obj5
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28044 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28047 wxString
*arg2
= 0 ;
28049 bool temp2
= False
;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 PyObject
* obj2
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28061 arg2
= wxString_in_helper(obj1
);
28062 if (arg2
== NULL
) SWIG_fail
;
28065 arg3
= (int) SWIG_AsInt(obj2
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 Py_INCREF(Py_None
); resultobj
= Py_None
;
28089 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28092 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28094 return Py_BuildValue((char *)"");
28096 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
;
28098 wxWindow
*arg1
= (wxWindow
*) 0 ;
28100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28104 long arg5
= (long) 0 ;
28105 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28106 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28107 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28109 wxPyControl
*result
;
28112 bool temp7
= False
;
28113 PyObject
* obj0
= 0 ;
28114 PyObject
* obj1
= 0 ;
28115 PyObject
* obj2
= 0 ;
28116 PyObject
* obj3
= 0 ;
28117 PyObject
* obj4
= 0 ;
28118 PyObject
* obj5
= 0 ;
28119 PyObject
* obj6
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 arg2
= (int const) SWIG_AsInt(obj1
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28138 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28142 arg5
= (long) SWIG_AsLong(obj4
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28146 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28149 if (arg6
== NULL
) {
28150 PyErr_SetString(PyExc_TypeError
,"null reference");
28156 arg7
= wxString_in_helper(obj6
);
28157 if (arg7
== NULL
) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28183 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxPyControl
*result
;
28186 char *kwnames
[] = {
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 result
= (wxPyControl
*)new wxPyControl();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28205 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28206 PyObject
*resultobj
;
28207 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28208 PyObject
*arg2
= (PyObject
*) 0 ;
28209 PyObject
*arg3
= (PyObject
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 PyObject
* obj2
= 0 ;
28213 char *kwnames
[] = {
28214 (char *) "self",(char *) "self",(char *) "_class", NULL
28217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 Py_INCREF(Py_None
); resultobj
= Py_None
;
28236 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 PyObject
* obj2
= 0 ;
28246 PyObject
* obj3
= 0 ;
28247 PyObject
* obj4
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28255 arg2
= (int) SWIG_AsInt(obj1
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28257 arg3
= (int) SWIG_AsInt(obj2
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28259 arg4
= (int) SWIG_AsInt(obj3
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28261 arg5
= (int) SWIG_AsInt(obj4
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 Py_INCREF(Py_None
); resultobj
= Py_None
;
28277 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28284 int arg6
= (int) wxSIZE_AUTO
;
28285 PyObject
* obj0
= 0 ;
28286 PyObject
* obj1
= 0 ;
28287 PyObject
* obj2
= 0 ;
28288 PyObject
* obj3
= 0 ;
28289 PyObject
* obj4
= 0 ;
28290 PyObject
* obj5
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 arg2
= (int) SWIG_AsInt(obj1
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28300 arg3
= (int) SWIG_AsInt(obj2
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28302 arg4
= (int) SWIG_AsInt(obj3
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28304 arg5
= (int) SWIG_AsInt(obj4
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 arg6
= (int) SWIG_AsInt(obj5
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 Py_INCREF(Py_None
); resultobj
= Py_None
;
28324 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 PyObject
* obj2
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "width",(char *) "height", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28339 arg2
= (int) SWIG_AsInt(obj1
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28341 arg3
= (int) SWIG_AsInt(obj2
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 Py_INCREF(Py_None
); resultobj
= Py_None
;
28357 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 PyObject
* obj2
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self",(char *) "x",(char *) "y", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28372 arg2
= (int) SWIG_AsInt(obj1
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28374 arg3
= (int) SWIG_AsInt(obj2
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 Py_INCREF(Py_None
); resultobj
= Py_None
;
28390 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28393 int *arg2
= (int *) 0 ;
28394 int *arg3
= (int *) 0 ;
28397 PyObject
* obj0
= 0 ;
28398 char *kwnames
[] = {
28399 (char *) "self", NULL
28404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28414 Py_INCREF(Py_None
); resultobj
= Py_None
;
28416 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28417 resultobj
= t_output_helper(resultobj
,o
);
28420 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28421 resultobj
= t_output_helper(resultobj
,o
);
28429 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28432 int *arg2
= (int *) 0 ;
28433 int *arg3
= (int *) 0 ;
28436 PyObject
* obj0
= 0 ;
28437 char *kwnames
[] = {
28438 (char *) "self", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28455 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28456 resultobj
= t_output_helper(resultobj
,o
);
28459 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28460 resultobj
= t_output_helper(resultobj
,o
);
28468 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28471 int *arg2
= (int *) 0 ;
28472 int *arg3
= (int *) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 Py_INCREF(Py_None
); resultobj
= Py_None
;
28494 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28495 resultobj
= t_output_helper(resultobj
,o
);
28498 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28499 resultobj
= t_output_helper(resultobj
,o
);
28507 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28511 PyObject
* obj0
= 0 ;
28512 char *kwnames
[] = {
28513 (char *) "self", NULL
28516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28527 wxSize
* resultptr
;
28528 resultptr
= new wxSize((wxSize
&) result
);
28529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28537 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28541 PyObject
* obj0
= 0 ;
28542 char *kwnames
[] = {
28543 (char *) "self", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28557 wxSize
* resultptr
;
28558 resultptr
= new wxSize((wxSize
&) result
);
28559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28567 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
;
28569 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28570 PyObject
* obj0
= 0 ;
28571 char *kwnames
[] = {
28572 (char *) "self", NULL
28575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 (arg1
)->base_InitDialog();
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 Py_INCREF(Py_None
); resultobj
= Py_None
;
28592 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
;
28594 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28596 PyObject
* obj0
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "self", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 result
= (bool)(arg1
)->base_TransferDataToWindow();
28608 wxPyEndAllowThreads(__tstate
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28620 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28624 PyObject
* obj0
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28648 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= (bool)(arg1
)->base_Validate();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28676 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
;
28678 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28680 PyObject
* obj0
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28704 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28708 PyObject
* obj0
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28732 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
;
28734 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28752 wxSize
* resultptr
;
28753 resultptr
= new wxSize((wxSize
&) result
);
28754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28762 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
;
28764 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28765 wxWindow
*arg2
= (wxWindow
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 PyObject
* obj1
= 0 ;
28768 char *kwnames
[] = {
28769 (char *) "self",(char *) "child", NULL
28772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 (arg1
)->base_AddChild(arg2
);
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28784 Py_INCREF(Py_None
); resultobj
= Py_None
;
28791 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28794 wxWindow
*arg2
= (wxWindow
*) 0 ;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "child", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 (arg1
)->base_RemoveChild(arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 Py_INCREF(Py_None
); resultobj
= Py_None
;
28820 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28824 PyObject
* obj0
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (bool)(arg1
)->base_ShouldInheritColours();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28848 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
;
28850 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28851 wxColour
*arg2
= 0 ;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 char *kwnames
[] = {
28856 (char *) "self",(char *) "c", NULL
28859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28864 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 Py_INCREF(Py_None
); resultobj
= Py_None
;
28880 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28883 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28885 return Py_BuildValue((char *)"");
28887 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28890 int arg2
= (int) 0 ;
28891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28893 wxHelpEvent
*result
;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 PyObject
* obj2
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "type",(char *) "winid",(char *) "pt", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28904 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28908 arg2
= (int) SWIG_AsInt(obj1
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28931 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28951 wxPoint
* resultptr
;
28952 resultptr
= new wxPoint((wxPoint
&) result
);
28953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28961 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28964 wxPoint
*arg2
= 0 ;
28966 PyObject
* obj0
= 0 ;
28967 PyObject
* obj1
= 0 ;
28968 char *kwnames
[] = {
28969 (char *) "self",(char *) "pos", NULL
28972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 Py_INCREF(Py_None
); resultobj
= Py_None
;
28993 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28997 PyObject
* obj0
= 0 ;
28998 char *kwnames
[] = {
28999 (char *) "self", NULL
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29009 result
= (wxString
*) &_result_ref
;
29012 wxPyEndAllowThreads(__tstate
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29019 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29028 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29031 wxString
*arg2
= 0 ;
29032 bool temp2
= False
;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "link", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29043 arg2
= wxString_in_helper(obj1
);
29044 if (arg2
== NULL
) SWIG_fail
;
29048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29049 (arg1
)->SetLink((wxString
const &)*arg2
);
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 Py_INCREF(Py_None
); resultobj
= Py_None
;
29069 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29073 PyObject
* obj0
= 0 ;
29074 char *kwnames
[] = {
29075 (char *) "self", NULL
29078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29085 result
= (wxString
*) &_result_ref
;
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29093 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29095 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29104 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29107 wxString
*arg2
= 0 ;
29108 bool temp2
= False
;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 char *kwnames
[] = {
29112 (char *) "self",(char *) "target", NULL
29115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29119 arg2
= wxString_in_helper(obj1
);
29120 if (arg2
== NULL
) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 (arg1
)->SetTarget((wxString
const &)*arg2
);
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 Py_INCREF(Py_None
); resultobj
= Py_None
;
29145 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29148 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29150 return Py_BuildValue((char *)"");
29152 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
;
29154 wxWindow
*arg1
= (wxWindow
*) NULL
;
29155 bool arg2
= (bool) True
;
29156 wxContextHelp
*result
;
29157 PyObject
* obj0
= 0 ;
29158 PyObject
* obj1
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "window",(char *) "doNow", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29169 arg2
= (bool) SWIG_AsBool(obj1
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29186 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29188 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29189 PyObject
* obj0
= 0 ;
29190 char *kwnames
[] = {
29191 (char *) "self", NULL
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 Py_INCREF(Py_None
); resultobj
= Py_None
;
29211 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29214 wxWindow
*arg2
= (wxWindow
*) NULL
;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 char *kwnames
[] = {
29219 (char *) "self",(char *) "window", NULL
29222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29233 wxPyEndAllowThreads(__tstate
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29245 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
;
29247 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29249 PyObject
* obj0
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (bool)(arg1
)->EndContextHelp();
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29273 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29276 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29278 return Py_BuildValue((char *)"");
29280 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29281 PyObject
*resultobj
;
29282 wxWindow
*arg1
= (wxWindow
*) 0 ;
29283 int arg2
= (int) wxID_CONTEXT_HELP
;
29284 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29285 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29286 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29287 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29288 long arg5
= (long) wxBU_AUTODRAW
;
29289 wxContextHelpButton
*result
;
29292 PyObject
* obj0
= 0 ;
29293 PyObject
* obj1
= 0 ;
29294 PyObject
* obj2
= 0 ;
29295 PyObject
* obj3
= 0 ;
29296 PyObject
* obj4
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29305 arg2
= (int) SWIG_AsInt(obj1
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29311 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29317 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29321 arg5
= (long) SWIG_AsLong(obj4
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29338 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29341 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29343 return Py_BuildValue((char *)"");
29345 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29348 wxHelpProvider
*result
;
29349 PyObject
* obj0
= 0 ;
29350 char *kwnames
[] = {
29351 (char *) "helpProvider", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29371 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
;
29373 wxHelpProvider
*result
;
29374 char *kwnames
[] = {
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29393 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
;
29395 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29396 wxWindow
*arg2
= (wxWindow
*) 0 ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "self",(char *) "window", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29429 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29432 wxWindow
*arg2
= (wxWindow
*) 0 ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 char *kwnames
[] = {
29437 (char *) "self",(char *) "window", NULL
29440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 result
= (bool)(arg1
)->ShowHelp(arg2
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29461 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29464 wxWindow
*arg2
= (wxWindow
*) 0 ;
29465 wxString
*arg3
= 0 ;
29466 bool temp3
= False
;
29467 PyObject
* obj0
= 0 ;
29468 PyObject
* obj1
= 0 ;
29469 PyObject
* obj2
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self",(char *) "window",(char *) "text", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29480 arg3
= wxString_in_helper(obj2
);
29481 if (arg3
== NULL
) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 Py_INCREF(Py_None
); resultobj
= Py_None
;
29506 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29510 wxString
*arg3
= 0 ;
29511 bool temp3
= False
;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 PyObject
* obj2
= 0 ;
29515 char *kwnames
[] = {
29516 (char *) "self",(char *) "id",(char *) "text", NULL
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29522 arg2
= (int) SWIG_AsInt(obj1
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 arg3
= wxString_in_helper(obj2
);
29526 if (arg3
== NULL
) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 Py_INCREF(Py_None
); resultobj
= Py_None
;
29551 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29554 wxWindow
*arg2
= (wxWindow
*) 0 ;
29555 PyObject
* obj0
= 0 ;
29556 PyObject
* obj1
= 0 ;
29557 char *kwnames
[] = {
29558 (char *) "self",(char *) "window", NULL
29561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 (arg1
)->RemoveHelp(arg2
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 Py_INCREF(Py_None
); resultobj
= Py_None
;
29580 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 wxHelpProvider_Destroy(arg1
);
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29598 Py_INCREF(Py_None
); resultobj
= Py_None
;
29605 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29608 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29610 return Py_BuildValue((char *)"");
29612 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxSimpleHelpProvider
*result
;
29615 char *kwnames
[] = {
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29634 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29637 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29639 return Py_BuildValue((char *)"");
29641 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
;
29643 wxBitmap
*arg1
= 0 ;
29644 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29645 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29646 wxGenericDragImage
*result
;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 char *kwnames
[] = {
29650 (char *) "image",(char *) "cursor", NULL
29653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29657 if (arg1
== NULL
) {
29658 PyErr_SetString(PyExc_TypeError
,"null reference");
29662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29665 if (arg2
== NULL
) {
29666 PyErr_SetString(PyExc_TypeError
,"null reference");
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29684 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
;
29687 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29688 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29689 wxGenericDragImage
*result
;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "image",(char *) "cursor", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29700 if (arg1
== NULL
) {
29701 PyErr_SetString(PyExc_TypeError
,"null reference");
29705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29708 if (arg2
== NULL
) {
29709 PyErr_SetString(PyExc_TypeError
,"null reference");
29714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29715 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29727 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29728 PyObject
*resultobj
;
29729 wxString
*arg1
= 0 ;
29730 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29731 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29732 wxGenericDragImage
*result
;
29733 bool temp1
= False
;
29734 PyObject
* obj0
= 0 ;
29735 PyObject
* obj1
= 0 ;
29736 char *kwnames
[] = {
29737 (char *) "str",(char *) "cursor", NULL
29740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29742 arg1
= wxString_in_helper(obj0
);
29743 if (arg1
== NULL
) SWIG_fail
;
29747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29750 if (arg2
== NULL
) {
29751 PyErr_SetString(PyExc_TypeError
,"null reference");
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29777 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxPyTreeCtrl
*arg1
= 0 ;
29780 wxTreeItemId
*arg2
= 0 ;
29781 wxGenericDragImage
*result
;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "treeCtrl",(char *) "id", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29792 if (arg1
== NULL
) {
29793 PyErr_SetString(PyExc_TypeError
,"null reference");
29796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29799 if (arg2
== NULL
) {
29800 PyErr_SetString(PyExc_TypeError
,"null reference");
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29817 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxPyListCtrl
*arg1
= 0 ;
29821 wxGenericDragImage
*result
;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char *kwnames
[] = {
29825 (char *) "listCtrl",(char *) "id", NULL
29828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29832 if (arg1
== NULL
) {
29833 PyErr_SetString(PyExc_TypeError
,"null reference");
29836 arg2
= (long) SWIG_AsLong(obj1
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29852 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
;
29854 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 char *kwnames
[] = {
29857 (char *) "self", NULL
29860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 Py_INCREF(Py_None
); resultobj
= Py_None
;
29877 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
;
29879 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29880 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29881 PyObject
* obj0
= 0 ;
29882 PyObject
* obj1
= 0 ;
29883 char *kwnames
[] = {
29884 (char *) "self",(char *) "bitmap", NULL
29887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 (arg1
)->SetBackingBitmap(arg2
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29899 Py_INCREF(Py_None
); resultobj
= Py_None
;
29906 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29909 wxPoint
*arg2
= 0 ;
29910 wxWindow
*arg3
= (wxWindow
*) 0 ;
29911 bool arg4
= (bool) False
;
29912 wxRect
*arg5
= (wxRect
*) NULL
;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 PyObject
* obj2
= 0 ;
29918 PyObject
* obj3
= 0 ;
29919 PyObject
* obj4
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29931 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29934 arg4
= (bool) SWIG_AsBool(obj3
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29938 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29957 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
;
29959 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29960 wxPoint
*arg2
= 0 ;
29961 wxWindow
*arg3
= (wxWindow
*) 0 ;
29962 wxWindow
*arg4
= (wxWindow
*) 0 ;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 PyObject
* obj2
= 0 ;
29968 PyObject
* obj3
= 0 ;
29969 char *kwnames
[] = {
29970 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29980 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29982 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30000 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
;
30002 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30004 PyObject
* obj0
= 0 ;
30005 char *kwnames
[] = {
30006 (char *) "self", NULL
30009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (bool)(arg1
)->EndDrag();
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30028 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30031 wxPoint
*arg2
= 0 ;
30034 PyObject
* obj0
= 0 ;
30035 PyObject
* obj1
= 0 ;
30036 char *kwnames
[] = {
30037 (char *) "self",(char *) "pt", NULL
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30063 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 result
= (bool)(arg1
)->Show();
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30091 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
;
30093 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30095 PyObject
* obj0
= 0 ;
30096 char *kwnames
[] = {
30097 (char *) "self", NULL
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 result
= (bool)(arg1
)->Hide();
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30119 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30122 wxPoint
*arg2
= 0 ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "pos", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30136 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30146 wxRect
* resultptr
;
30147 resultptr
= new wxRect((wxRect
&) result
);
30148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30156 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30157 PyObject
*resultobj
;
30158 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30160 wxPoint
*arg3
= 0 ;
30163 PyObject
* obj0
= 0 ;
30164 PyObject
* obj1
= 0 ;
30165 PyObject
* obj2
= 0 ;
30166 char *kwnames
[] = {
30167 (char *) "self",(char *) "dc",(char *) "pos", NULL
30170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30176 if (arg2
== NULL
) {
30177 PyErr_SetString(PyExc_TypeError
,"null reference");
30182 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30200 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30204 wxMemoryDC
*arg3
= 0 ;
30210 PyObject
* obj0
= 0 ;
30211 PyObject
* obj1
= 0 ;
30212 PyObject
* obj2
= 0 ;
30213 PyObject
* obj3
= 0 ;
30214 PyObject
* obj4
= 0 ;
30215 char *kwnames
[] = {
30216 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30225 if (arg2
== NULL
) {
30226 PyErr_SetString(PyExc_TypeError
,"null reference");
30229 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30232 if (arg3
== NULL
) {
30233 PyErr_SetString(PyExc_TypeError
,"null reference");
30238 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30242 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30260 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
;
30262 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30263 wxPoint
*arg2
= 0 ;
30264 wxPoint
*arg3
= 0 ;
30270 PyObject
* obj0
= 0 ;
30271 PyObject
* obj1
= 0 ;
30272 PyObject
* obj2
= 0 ;
30273 PyObject
* obj3
= 0 ;
30274 PyObject
* obj4
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30288 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30290 arg4
= (bool) SWIG_AsBool(obj3
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30292 arg5
= (bool) SWIG_AsBool(obj4
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30310 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30313 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30315 return Py_BuildValue((char *)"");
30317 static PyMethodDef SwigMethods
[] = {
30318 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30324 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30339 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30350 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30357 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30377 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30390 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30394 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30400 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30404 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30411 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30434 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30443 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30444 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30473 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30527 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30532 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30543 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30555 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30566 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30570 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30587 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30593 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30618 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30625 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30645 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30651 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30660 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30662 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30667 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30669 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30674 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30679 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30709 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30754 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30759 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30771 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30823 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30850 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30921 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30927 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30933 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30941 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30948 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30964 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31039 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31061 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31066 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31090 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31098 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31103 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31105 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31114 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31116 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31138 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31140 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31141 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31143 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31144 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31146 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31147 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31149 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31150 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31152 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31153 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31155 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31156 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31158 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31159 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31161 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31162 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31164 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31165 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31167 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31168 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31170 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31173 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31174 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31176 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31177 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31179 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31180 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31182 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31183 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31185 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31186 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31188 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31189 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31191 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31192 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31194 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31197 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31200 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31201 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31203 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31204 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31206 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31209 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31210 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31212 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31213 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31215 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31216 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31218 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31221 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31222 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31224 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31227 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31228 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31230 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31231 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31233 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31234 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31236 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31237 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31239 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31240 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31242 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31243 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31245 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31246 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31248 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31249 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31251 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31254 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31255 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31257 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31258 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31260 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31261 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31263 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31264 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31266 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31267 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31269 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31270 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31272 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31275 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31276 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31278 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31279 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31281 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31284 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31285 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31287 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31288 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31290 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31291 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31293 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31294 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31296 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31297 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31299 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31300 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31302 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31303 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31305 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31306 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31308 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31309 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31311 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31312 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31314 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31315 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31317 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31318 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31320 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31321 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31323 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31324 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31326 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31327 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31329 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31330 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31332 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31333 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31335 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31336 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31338 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31339 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31341 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31342 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31344 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31345 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31347 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31348 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31350 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31351 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31353 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31354 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31356 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31357 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31359 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31360 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31362 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31363 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31365 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31366 return (void *)((wxControl
*) ((wxGauge
*) x
));
31368 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31369 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31371 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31372 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31374 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31375 return (void *)((wxControl
*) ((wxButton
*) x
));
31377 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31378 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31380 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31381 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31383 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31384 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31386 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31387 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31389 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31390 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31392 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31393 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31395 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31396 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31398 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31399 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31401 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31402 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31404 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31405 return (void *)((wxControl
*) ((wxSlider
*) x
));
31407 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31408 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31410 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31411 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31413 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31414 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31416 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31417 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31419 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31420 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31422 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31423 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31425 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31426 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31428 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31429 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31431 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31432 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31434 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31435 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31437 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31438 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31440 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31441 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31443 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31446 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31447 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31449 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31450 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31452 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31453 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31455 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31458 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31459 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31461 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31464 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31467 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31468 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31470 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31471 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31473 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31476 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31479 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31482 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31485 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31488 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31489 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31491 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31494 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31497 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31500 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31503 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31506 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31509 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31512 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31515 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31518 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31521 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31524 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31527 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31530 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31533 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31536 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31539 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31542 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31545 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31548 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31551 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31554 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31557 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31560 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31563 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31564 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31566 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31567 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31569 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31570 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31572 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31573 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31575 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31576 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31578 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31579 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31581 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31582 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31584 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31587 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31590 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31593 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31596 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31599 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31602 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31605 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31608 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31611 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) ((wxSizer
*) x
));
31614 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31617 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31620 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31623 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31626 static void *_p_wxEventTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) ((wxEvent
*) x
));
31629 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31632 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31635 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31638 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31641 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31644 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31647 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31650 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31653 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31656 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31659 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31662 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31665 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31668 static void *_p_wxControlTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31671 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31674 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31677 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31680 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31683 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31686 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31689 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31692 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31695 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31698 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31701 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31704 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31707 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31710 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31713 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31716 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31719 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31722 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31725 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31728 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31731 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31734 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31737 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31740 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31743 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31746 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31749 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31752 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31755 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31758 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31761 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31764 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31767 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31770 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31773 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31776 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31779 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31782 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31785 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31788 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31791 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31794 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31797 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31800 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31803 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31806 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31809 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31812 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31815 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31818 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31821 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31824 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31827 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31830 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31833 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31836 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) ((wxListItem
*) x
));
31839 static void *_p_wxImageTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) ((wxImage
*) x
));
31842 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31845 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31848 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31851 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31854 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31857 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31860 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31863 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31866 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31869 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31872 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31875 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31878 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31881 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31884 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31887 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31890 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31893 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31896 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31899 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31902 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31905 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31908 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31911 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31914 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31915 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31917 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31918 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31920 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31923 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31926 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31927 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31929 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31932 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31935 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31936 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31938 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31939 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31941 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31942 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31944 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31945 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31947 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31948 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31950 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31951 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31953 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31954 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31956 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31957 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31959 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31960 return (void *)((wxWindow
*) ((wxControl
*) x
));
31962 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31963 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31965 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31966 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31968 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31969 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31971 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31972 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31974 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31975 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31977 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31978 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31980 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31981 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31983 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31984 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31986 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31987 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31989 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31990 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31992 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31993 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31995 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31996 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31998 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31999 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32001 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32002 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32004 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32005 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32007 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32008 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32010 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32011 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32013 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32014 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32016 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32017 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32019 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32020 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32022 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32023 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32025 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32026 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32028 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32029 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32031 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32032 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32034 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32035 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32037 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32038 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32040 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32041 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32043 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32044 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32046 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32047 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32049 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32050 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32052 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32053 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32055 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32056 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32058 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32059 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32061 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32062 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32064 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32065 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32067 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32068 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32070 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32071 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32073 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32074 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32076 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32077 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32079 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32080 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32082 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32083 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32085 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32086 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32088 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32089 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32091 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32092 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32094 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32095 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32097 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32098 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32100 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32101 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32103 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32104 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32106 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32107 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32109 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}};
32110 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}};
32111 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}};
32112 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}};
32113 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}};
32114 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}};
32115 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}};
32116 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}};
32117 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}};
32118 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}};
32119 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}};
32120 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}};
32121 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}};
32122 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}};
32123 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}};
32124 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}};
32125 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}};
32126 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}};
32127 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}};
32128 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}};
32129 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}};
32130 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}};
32131 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}};
32132 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}};
32133 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}};
32134 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}};
32135 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}};
32136 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}};
32137 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}};
32138 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}};
32139 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}};
32140 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}};
32141 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}};
32142 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}};
32143 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}};
32144 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}};
32145 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}};
32146 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}};
32147 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}};
32148 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}};
32149 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}};
32150 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}};
32151 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}};
32152 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}};
32153 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}};
32154 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}};
32155 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}};
32156 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}};
32157 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}};
32158 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}};
32159 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}};
32160 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}};
32161 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}};
32162 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}};
32163 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}};
32164 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}};
32165 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}};
32166 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}};
32167 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}};
32168 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}};
32169 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}};
32170 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}};
32171 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}};
32172 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}};
32173 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}};
32174 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}};
32175 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}};
32176 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}};
32177 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}};
32178 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}};
32179 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}};
32180 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}};
32181 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}};
32182 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}};
32183 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}};
32184 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}};
32185 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}};
32186 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}};
32187 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}};
32188 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}};
32189 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}};
32190 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}};
32191 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}};
32192 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}};
32193 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}};
32195 static swig_type_info
*swig_types_initial
[] = {
32196 _swigt__p_wxTextUrlEvent
,
32197 _swigt__p_wxBookCtrlEvent
,
32199 _swigt__p_wxCheckBox
,
32200 _swigt__p_wxPyTreeCtrl
,
32202 _swigt__p_wxGenericDirCtrl
,
32204 _swigt__p_wxPyTreeItemData
,
32205 _swigt__p_wxItemContainer
,
32206 _swigt__p_wxPyListCtrl
,
32207 _swigt__p_wxDirFilterListCtrl
,
32208 _swigt__p_wxStaticLine
,
32209 _swigt__p_wxControl
,
32210 _swigt__p_wxPyControl
,
32212 _swigt__p_wxToolBarBase
,
32214 _swigt__p_wxToggleButton
,
32215 _swigt__p_wxRadioButton
,
32216 _swigt__p_wxChoice
,
32217 _swigt__p_wxMemoryDC
,
32218 _swigt__p_wxListItemAttr
,
32223 _swigt__p_wxListView
,
32225 _swigt__p_wxVisualAttributes
,
32226 _swigt__p_wxTextCtrl
,
32227 _swigt__p_wxNotebook
,
32228 _swigt__p_wxNotifyEvent
,
32229 _swigt__p_wxArrayString
,
32230 _swigt__p_wxListbook
,
32231 _swigt__p_wxStaticBitmap
,
32232 _swigt__p_wxSlider
,
32233 _swigt__p_wxStaticBox
,
32234 _swigt__p_wxArrayInt
,
32235 _swigt__p_wxContextHelp
,
32237 _swigt__p_wxEvtHandler
,
32238 _swigt__p_wxListEvent
,
32239 _swigt__p_wxCheckListBox
,
32240 _swigt__p_wxListBox
,
32241 _swigt__p_wxBookCtrl
,
32242 _swigt__p_wxSpinButton
,
32243 _swigt__p_wxButton
,
32244 _swigt__p_wxBitmapButton
,
32246 _swigt__p_wxContextHelpButton
,
32247 _swigt__p_wxRadioBox
,
32248 _swigt__p_wxScrollBar
,
32250 _swigt__p_wxTreeItemId
,
32251 _swigt__p_wxComboBox
,
32252 _swigt__p_wxHelpEvent
,
32253 _swigt__p_wxListItem
,
32254 _swigt__p_wxNotebookSizer
,
32255 _swigt__p_wxSpinEvent
,
32256 _swigt__p_wxGenericDragImage
,
32257 _swigt__p_wxSpinCtrl
,
32258 _swigt__p_wxImageList
,
32259 _swigt__p_wxHelpProvider
,
32260 _swigt__p_wxTextAttr
,
32261 _swigt__p_wxSimpleHelpProvider
,
32263 _swigt__p_wxListbookEvent
,
32264 _swigt__p_wxNotebookEvent
,
32265 _swigt__p_wxObject
,
32266 _swigt__p_wxCursor
,
32267 _swigt__p_wxKeyEvent
,
32268 _swigt__p_wxWindow
,
32269 _swigt__p_wxString
,
32270 _swigt__p_wxBitmap
,
32271 _swigt__p_wxTreeEvent
,
32272 _swigt__p_wxMouseEvent
,
32273 _swigt__p_wxCommandEvent
,
32274 _swigt__p_wxStaticText
,
32275 _swigt__p_wxControlWithItems
,
32276 _swigt__p_wxToolBarToolBase
,
32277 _swigt__p_wxColour
,
32278 _swigt__p_wxToolBar
,
32279 _swigt__p_wxBookCtrlSizer
,
32280 _swigt__p_wxValidator
,
32285 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32287 static swig_const_info swig_const_table
[] = {
32297 SWIGEXPORT(void) SWIG_init(void) {
32298 static PyObject
*SWIG_globals
= 0;
32299 static int typeinit
= 0;
32302 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32303 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32304 d
= PyModule_GetDict(m
);
32307 for (i
= 0; swig_types_initial
[i
]; i
++) {
32308 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32312 SWIG_InstallConstants(d
,swig_const_table
);
32314 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32315 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32316 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32317 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32318 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32319 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32320 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32321 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32322 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32323 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32324 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32325 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32326 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32327 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32328 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32329 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32330 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32331 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32332 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32333 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32334 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32335 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32336 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32337 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32338 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32339 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32340 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32341 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32342 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32343 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32344 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32345 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32346 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32347 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32348 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32349 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32350 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32351 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32352 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32353 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32354 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32355 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32356 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32357 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32358 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32359 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32360 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32361 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32362 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32363 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32364 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32365 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32366 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32367 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32368 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32369 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32370 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32371 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32372 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32373 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32374 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32375 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32376 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32377 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32378 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32379 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32380 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32381 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32382 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32385 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32386 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32387 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32388 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32389 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32390 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32391 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32392 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32393 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32394 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32395 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32396 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32397 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32398 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32399 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32400 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32401 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32402 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32403 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32404 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32405 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32406 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32407 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32408 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32409 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32410 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32411 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32412 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32413 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32414 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32415 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32416 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32417 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32420 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32421 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32422 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32423 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32424 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32425 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32426 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32427 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32428 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32429 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32430 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32431 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32432 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32433 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32434 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32435 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32436 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32437 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32438 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32439 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32440 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32441 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32442 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32443 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32444 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32445 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32446 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32447 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32448 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32449 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32450 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32451 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32452 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32453 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32454 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32455 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32456 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32457 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32458 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32459 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32460 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32461 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32462 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32463 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32464 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32465 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32466 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32467 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32468 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32469 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32470 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32471 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32472 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32473 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32474 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32475 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32476 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32477 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32478 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32479 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32480 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32481 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32482 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32483 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32484 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32485 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32486 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32487 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32488 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32489 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32490 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32491 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32492 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32493 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32494 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32495 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32496 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32497 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32498 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32499 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32500 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32501 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32502 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32503 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32504 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32505 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32506 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32507 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32508 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32511 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32512 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32513 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32514 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32515 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32516 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32517 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32518 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32519 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32520 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32521 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32522 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32523 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32524 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32526 // Map renamed classes back to their common name for OOR
32527 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32529 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32530 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32531 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32532 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32533 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32534 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32535 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32536 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32537 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32538 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32539 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32540 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32541 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32542 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32543 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32544 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32545 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32546 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32547 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32548 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32549 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32550 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32551 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32552 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32553 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32554 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32555 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32556 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32557 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32558 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32559 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32560 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32561 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32562 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32563 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32564 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32570 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32571 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32573 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32574 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32575 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32576 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32577 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32578 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32579 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32580 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32581 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32582 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32583 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32584 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32586 // Map renamed classes back to their common name for OOR
32587 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32588 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32590 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32591 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32592 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32593 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32594 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32595 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32596 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32597 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32598 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32599 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32601 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");