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_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl 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_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject
* obj
)
423 if (PyErr_Occurred()) {
431 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
452 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
453 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
454 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
455 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
456 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
457 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
459 #include <wx/checklst.h>
462 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
463 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
465 wxPyClientData
* data
= new wxPyClientData(clientData
);
466 self
->Insert(item
, pos
, data
);
468 self
->Insert(item
, pos
);
470 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
472 self
->GetSelections(lst
);
473 PyObject
*tup
= PyTuple_New(lst
.GetCount());
474 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
475 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
479 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
481 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
482 self
->GetItem(item
)->SetTextColour(c
);
485 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
487 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
488 self
->GetItem(item
)->SetBackgroundColour(c
);
491 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
493 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
494 self
->GetItem(item
)->SetFont(f
);
497 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
499 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
505 } else if (target
== Py_None
) {
509 if (!PyTuple_Check(target
)) {
511 target
= PyTuple_New(1);
512 PyTuple_SetItem(target
, 0, o2
);
515 PyTuple_SetItem(o3
, 0, o
);
518 target
= PySequence_Concat(o2
, o3
);
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject
* obj
)
529 if (PyLong_Check(obj
)) {
530 return PyLong_AsUnsignedLong(obj
);
532 long i
= PyInt_AsLong(obj
);
533 if ( !PyErr_Occurred() && (i
< 0)) {
534 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject
* obj
)
544 SWIG_AsUnsignedLong(obj
);
545 if (PyErr_Occurred()) {
553 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
554 self
->AppendText(text
);
556 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
557 return self
->GetValue().Mid(from
, to
- from
);
559 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
560 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
561 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
563 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
565 #include <wx/slider.h>
568 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
569 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
572 // implement dummy items for platforms that don't have this class
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
576 class wxToggleButton
: public wxControl
579 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
580 const wxPoint
&, const wxSize
&, long,
581 const wxValidator
&, const wxString
&)
582 { wxPyRaiseNotImplemented(); }
585 { wxPyRaiseNotImplemented(); }
589 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
591 SWIGSTATICINLINE(PyObject
* )
592 SWIG_FromUnsignedLong(unsigned long value
)
594 return (value
> LONG_MAX
) ?
595 PyLong_FromUnsignedLong(value
)
596 : PyInt_FromLong(swig_numeric_cast(long,value
));
599 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
600 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
601 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
603 Py_INCREF(udata
->m_obj
);
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
611 self
->SetClientData(new wxPyUserData(clientData
));
613 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
){
614 wxPyUserData
* udata
= NULL
;
615 if (clientData
&& clientData
!= Py_None
)
616 udata
= new wxPyUserData(clientData
);
617 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
618 shortHelp
, longHelp
, udata
);
620 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
){
621 wxPyUserData
* udata
= NULL
;
622 if (clientData
&& clientData
!= Py_None
)
623 udata
= new wxPyUserData(clientData
);
624 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
625 shortHelp
, longHelp
, udata
);
627 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
628 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
630 Py_INCREF(udata
->m_obj
);
637 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
638 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
641 #include <wx/listctrl.h>
644 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
649 PyObject
* func
= (PyObject
*)funcPtr
;
650 bool blocked
= wxPyBeginBlockThreads();
652 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
653 PyObject
* result
= PyEval_CallObject(func
, args
);
656 retval
= PyInt_AsLong(result
);
660 wxPyEndBlockThreads(blocked
);
664 // C++ Version of a Python aware class
665 class wxPyListCtrl
: public wxListCtrl
{
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
673 const wxValidator
& validator
,
674 const wxString
& name
) :
675 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
677 bool Create(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) {
683 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
699 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
701 item
.SetMask( wxLIST_MASK_STATE
|
709 if (self
->GetColumn(col
, item
))
710 return new wxListItem(item
);
714 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
715 wxListItem
* info
= new wxListItem
;
716 info
->m_itemId
= itemId
;
718 info
->m_mask
= 0xFFFF;
719 self
->GetItem(*info
);
722 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
724 self
->GetItemPosition(item
, pos
);
727 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
729 self
->GetItemRect(item
, rect
, code
);
732 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
733 if (!PyCallable_Check(func
))
735 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
737 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
741 return (wxWindow
*)self
->m_mainWin
;
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
748 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
750 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl
: public wxTreeCtrl
{
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
761 const wxValidator
& validator
,
762 const wxString
& name
) :
763 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
765 bool Create(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) {
771 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
775 int OnCompareItems(const wxTreeItemId
& item1
,
776 const wxTreeItemId
& item2
) {
779 bool blocked
= wxPyBeginBlockThreads();
780 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
781 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
782 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
783 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
787 wxPyEndBlockThreads(blocked
);
789 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
808 unsigned long max_value
)
810 if (!PyErr_Occurred()) {
811 if (value
> max_value
) {
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value
, type
, max_value
);
815 PyErr_SetObject(PyExc_OverflowError
, err
);
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject
*obj
)
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
829 "unsigned int", UINT_MAX
));
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject
* obj
)
839 SWIG_AsUnsignedInt(obj
);
840 if (PyErr_Occurred()) {
848 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
849 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
851 data
= new wxPyTreeItemData();
852 data
->SetId(item
); // set the id
853 self
->SetItemData(item
, data
);
857 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
864 return data
->GetData();
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
867 data
->SetId(item
); // set the id
868 self
->SetItemData(item
, data
);
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
871 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
873 data
= new wxPyTreeItemData(obj
);
874 data
->SetId(item
); // set the id
875 self
->SetItemData(item
, data
);
879 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
880 bool blocked
= wxPyBeginBlockThreads();
881 PyObject
* rval
= PyList_New(0);
882 wxArrayTreeItemIds array
;
884 num
= self
->GetSelections(array
);
885 for (x
=0; x
< num
; x
++) {
886 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
887 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
888 PyList_Append(rval
, item
);
890 wxPyEndBlockThreads(blocked
);
893 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
895 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
896 bool blocked
= wxPyBeginBlockThreads();
897 PyObject
* tup
= PyTuple_New(2);
898 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
899 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
900 wxPyEndBlockThreads(blocked
);
903 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
914 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
915 bool blocked
= wxPyBeginBlockThreads();
916 wxRect
* r
= new wxRect(rect
);
917 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
918 wxPyEndBlockThreads(blocked
);
924 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
925 // C++ version of Python aware wxControl
926 class wxPyControl
: public wxControl
928 DECLARE_DYNAMIC_CLASS(wxPyControl
)
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
932 const wxPoint
& pos
= wxDefaultPosition
,
933 const wxSize
& size
= wxDefaultSize
,
935 const wxValidator
& validator
=wxDefaultValidator
,
936 const wxString
& name
= wxPyControlNameStr
)
937 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
965 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
970 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
972 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
973 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
982 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
984 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
985 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
987 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
990 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
997 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1001 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1003 #include <wx/generic/dragimgg.h>
1008 static int _wrap_ButtonNameStr_set(PyObject
*) {
1009 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1014 static PyObject
*_wrap_ButtonNameStr_get() {
1019 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1021 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1028 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
*resultobj
;
1030 wxWindow
*arg1
= (wxWindow
*) 0 ;
1032 wxString
*arg3
= 0 ;
1033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1037 long arg6
= (long) 0 ;
1038 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1039 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1040 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1041 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1043 bool temp3
= False
;
1046 bool temp8
= False
;
1047 PyObject
* obj0
= 0 ;
1048 PyObject
* obj1
= 0 ;
1049 PyObject
* obj2
= 0 ;
1050 PyObject
* obj3
= 0 ;
1051 PyObject
* obj4
= 0 ;
1052 PyObject
* obj5
= 0 ;
1053 PyObject
* obj6
= 0 ;
1054 PyObject
* obj7
= 0 ;
1056 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1062 arg2
= (int) SWIG_AsInt(obj1
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1065 arg3
= wxString_in_helper(obj2
);
1066 if (arg3
== NULL
) SWIG_fail
;
1072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1082 arg6
= (long) SWIG_AsLong(obj5
);
1083 if (PyErr_Occurred()) SWIG_fail
;
1086 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1090 PyErr_SetString(PyExc_TypeError
,"null reference");
1096 arg8
= wxString_in_helper(obj7
);
1097 if (arg8
== NULL
) SWIG_fail
;
1102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1103 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1105 wxPyEndAllowThreads(__tstate
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1109 resultobj
= wxPyMake_wxObject(result
);
1133 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
*resultobj
;
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 result
= (wxButton
*)new wxButton();
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) SWIG_fail
;
1149 resultobj
= wxPyMake_wxObject(result
);
1157 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
*resultobj
;
1159 wxButton
*arg1
= (wxButton
*) 0 ;
1160 wxWindow
*arg2
= (wxWindow
*) 0 ;
1162 wxString
*arg4
= 0 ;
1163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1167 long arg7
= (long) 0 ;
1168 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1169 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1170 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1171 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1173 bool temp4
= False
;
1176 bool temp9
= False
;
1177 PyObject
* obj0
= 0 ;
1178 PyObject
* obj1
= 0 ;
1179 PyObject
* obj2
= 0 ;
1180 PyObject
* obj3
= 0 ;
1181 PyObject
* obj4
= 0 ;
1182 PyObject
* obj5
= 0 ;
1183 PyObject
* obj6
= 0 ;
1184 PyObject
* obj7
= 0 ;
1185 PyObject
* obj8
= 0 ;
1187 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1195 arg3
= (int) SWIG_AsInt(obj2
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1198 arg4
= wxString_in_helper(obj3
);
1199 if (arg4
== NULL
) SWIG_fail
;
1205 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1211 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1215 arg7
= (long) SWIG_AsLong(obj6
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1219 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1223 PyErr_SetString(PyExc_TypeError
,"null reference");
1229 arg9
= wxString_in_helper(obj8
);
1230 if (arg9
== NULL
) SWIG_fail
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1266 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
*resultobj
;
1268 wxButton
*arg1
= (wxButton
*) 0 ;
1269 PyObject
* obj0
= 0 ;
1271 (char *) "self", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 (arg1
)->SetDefault();
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 Py_INCREF(Py_None
); resultobj
= Py_None
;
1291 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= wxButton::GetDefaultSize();
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1308 resultptr
= new wxSize((wxSize
&) result
);
1309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1317 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1320 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1322 return Py_BuildValue((char *)"");
1324 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxWindow
*arg1
= (wxWindow
*) 0 ;
1328 wxBitmap
*arg3
= 0 ;
1329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1333 long arg6
= (long) wxBU_AUTODRAW
;
1334 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1335 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1336 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1337 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1338 wxBitmapButton
*result
;
1341 bool temp8
= False
;
1342 PyObject
* obj0
= 0 ;
1343 PyObject
* obj1
= 0 ;
1344 PyObject
* obj2
= 0 ;
1345 PyObject
* obj3
= 0 ;
1346 PyObject
* obj4
= 0 ;
1347 PyObject
* obj5
= 0 ;
1348 PyObject
* obj6
= 0 ;
1349 PyObject
* obj7
= 0 ;
1351 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1357 arg2
= (int) SWIG_AsInt(obj1
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1363 PyErr_SetString(PyExc_TypeError
,"null reference");
1369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1379 arg6
= (long) SWIG_AsLong(obj5
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1383 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1387 PyErr_SetString(PyExc_TypeError
,"null reference");
1393 arg8
= wxString_in_helper(obj7
);
1394 if (arg8
== NULL
) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1406 resultobj
= wxPyMake_wxObject(result
);
1422 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxBitmapButton
*result
;
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 result
= (wxBitmapButton
*)new wxBitmapButton();
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1438 resultobj
= wxPyMake_wxObject(result
);
1446 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1448 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1449 wxWindow
*arg2
= (wxWindow
*) 0 ;
1451 wxBitmap
*arg4
= 0 ;
1452 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1453 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1454 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1455 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1456 long arg7
= (long) wxBU_AUTODRAW
;
1457 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1458 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1459 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1460 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1464 bool temp9
= False
;
1465 PyObject
* obj0
= 0 ;
1466 PyObject
* obj1
= 0 ;
1467 PyObject
* obj2
= 0 ;
1468 PyObject
* obj3
= 0 ;
1469 PyObject
* obj4
= 0 ;
1470 PyObject
* obj5
= 0 ;
1471 PyObject
* obj6
= 0 ;
1472 PyObject
* obj7
= 0 ;
1473 PyObject
* obj8
= 0 ;
1475 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1483 arg3
= (int) SWIG_AsInt(obj2
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1485 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1489 PyErr_SetString(PyExc_TypeError
,"null reference");
1495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1505 arg7
= (long) SWIG_AsLong(obj6
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1509 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1513 PyErr_SetString(PyExc_TypeError
,"null reference");
1519 arg9
= wxString_in_helper(obj8
);
1520 if (arg9
== NULL
) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1548 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "self", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 result
= (arg1
)->GetBitmapLabel();
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) SWIG_fail
;
1568 wxBitmap
* resultptr
;
1569 resultptr
= new wxBitmap((wxBitmap
&) result
);
1570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1578 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1582 PyObject
* obj0
= 0 ;
1584 (char *) "self", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 result
= (arg1
)->GetBitmapDisabled();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1598 wxBitmap
* resultptr
;
1599 resultptr
= new wxBitmap((wxBitmap
&) result
);
1600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1608 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
*resultobj
;
1610 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1612 PyObject
* obj0
= 0 ;
1614 (char *) "self", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= (arg1
)->GetBitmapFocus();
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1628 wxBitmap
* resultptr
;
1629 resultptr
= new wxBitmap((wxBitmap
&) result
);
1630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1638 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (arg1
)->GetBitmapSelected();
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1658 wxBitmap
* resultptr
;
1659 resultptr
= new wxBitmap((wxBitmap
&) result
);
1660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1668 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1671 wxBitmap
*arg2
= 0 ;
1672 PyObject
* obj0
= 0 ;
1673 PyObject
* obj1
= 0 ;
1675 (char *) "self",(char *) "bitmap", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1685 PyErr_SetString(PyExc_TypeError
,"null reference");
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 Py_INCREF(Py_None
); resultobj
= Py_None
;
1702 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1705 wxBitmap
*arg2
= 0 ;
1706 PyObject
* obj0
= 0 ;
1707 PyObject
* obj1
= 0 ;
1709 (char *) "self",(char *) "bitmap", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1719 PyErr_SetString(PyExc_TypeError
,"null reference");
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 Py_INCREF(Py_None
); resultobj
= Py_None
;
1736 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1739 wxBitmap
*arg2
= 0 ;
1740 PyObject
* obj0
= 0 ;
1741 PyObject
* obj1
= 0 ;
1743 (char *) "self",(char *) "bitmap", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1753 PyErr_SetString(PyExc_TypeError
,"null reference");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 Py_INCREF(Py_None
); resultobj
= Py_None
;
1770 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1773 wxBitmap
*arg2
= 0 ;
1774 PyObject
* obj0
= 0 ;
1775 PyObject
* obj1
= 0 ;
1777 (char *) "self",(char *) "bitmap", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1787 PyErr_SetString(PyExc_TypeError
,"null reference");
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1804 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1811 PyObject
* obj2
= 0 ;
1813 (char *) "self",(char *) "x",(char *) "y", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1819 arg2
= (int) SWIG_AsInt(obj1
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1821 arg3
= (int) SWIG_AsInt(obj2
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 (arg1
)->SetMargins(arg2
,arg3
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1830 Py_INCREF(Py_None
); resultobj
= Py_None
;
1837 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "self", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1856 resultobj
= SWIG_FromInt((int)result
);
1863 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1869 (char *) "self", NULL
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_FromInt((int)result
);
1889 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
1891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1892 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1894 return Py_BuildValue((char *)"");
1896 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1897 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1902 static PyObject
*_wrap_CheckBoxNameStr_get() {
1907 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1909 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1916 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1918 wxWindow
*arg1
= (wxWindow
*) 0 ;
1920 wxString
*arg3
= 0 ;
1921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1925 long arg6
= (long) 0 ;
1926 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1927 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1928 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1929 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1931 bool temp3
= False
;
1934 bool temp8
= False
;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1937 PyObject
* obj2
= 0 ;
1938 PyObject
* obj3
= 0 ;
1939 PyObject
* obj4
= 0 ;
1940 PyObject
* obj5
= 0 ;
1941 PyObject
* obj6
= 0 ;
1942 PyObject
* obj7
= 0 ;
1944 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1950 arg2
= (int) SWIG_AsInt(obj1
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 arg3
= wxString_in_helper(obj2
);
1954 if (arg3
== NULL
) SWIG_fail
;
1960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1970 arg6
= (long) SWIG_AsLong(obj5
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1978 PyErr_SetString(PyExc_TypeError
,"null reference");
1984 arg8
= wxString_in_helper(obj7
);
1985 if (arg8
== NULL
) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2019 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 result
= (wxCheckBox
*)new wxCheckBox();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2041 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2044 wxWindow
*arg2
= (wxWindow
*) 0 ;
2046 wxString
*arg4
= 0 ;
2047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2051 long arg7
= (long) 0 ;
2052 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2053 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2054 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2055 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2057 bool temp4
= False
;
2060 bool temp9
= False
;
2061 PyObject
* obj0
= 0 ;
2062 PyObject
* obj1
= 0 ;
2063 PyObject
* obj2
= 0 ;
2064 PyObject
* obj3
= 0 ;
2065 PyObject
* obj4
= 0 ;
2066 PyObject
* obj5
= 0 ;
2067 PyObject
* obj6
= 0 ;
2068 PyObject
* obj7
= 0 ;
2069 PyObject
* obj8
= 0 ;
2071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2079 arg3
= (int) SWIG_AsInt(obj2
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 arg4
= wxString_in_helper(obj3
);
2083 if (arg4
== NULL
) SWIG_fail
;
2089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2099 arg7
= (long) SWIG_AsLong(obj6
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2103 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2107 PyErr_SetString(PyExc_TypeError
,"null reference");
2113 arg9
= wxString_in_helper(obj8
);
2114 if (arg9
== NULL
) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2150 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (bool)(arg1
)->GetValue();
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2178 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2184 (char *) "self", NULL
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 result
= (bool)(arg1
)->IsChecked();
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2206 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2208 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2210 PyObject
* obj0
= 0 ;
2211 PyObject
* obj1
= 0 ;
2213 (char *) "self",(char *) "state", NULL
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2219 arg2
= (bool const) SWIG_AsBool(obj1
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 (arg1
)->SetValue(arg2
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2228 Py_INCREF(Py_None
); resultobj
= Py_None
;
2235 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2239 PyObject
* obj0
= 0 ;
2241 (char *) "self", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= SWIG_FromInt((int)result
);
2261 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 (char *) "self",(char *) "state", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 Py_INCREF(Py_None
); resultobj
= Py_None
;
2290 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2294 PyObject
* obj0
= 0 ;
2296 (char *) "self", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2318 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2346 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2349 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2351 return Py_BuildValue((char *)"");
2353 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2354 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2359 static PyObject
*_wrap_ChoiceNameStr_get() {
2364 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2366 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2373 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxWindow
*arg1
= (wxWindow
*) 0 ;
2377 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2378 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2379 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2380 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2381 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2382 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2383 long arg6
= (long) 0 ;
2384 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2385 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2386 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2387 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2391 bool temp5
= False
;
2392 bool temp8
= False
;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2395 PyObject
* obj2
= 0 ;
2396 PyObject
* obj3
= 0 ;
2397 PyObject
* obj4
= 0 ;
2398 PyObject
* obj5
= 0 ;
2399 PyObject
* obj6
= 0 ;
2400 PyObject
* obj7
= 0 ;
2402 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 arg2
= (int) SWIG_AsInt(obj1
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2419 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2424 if (! PySequence_Check(obj4
)) {
2425 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2428 arg5
= new wxArrayString
;
2430 int i
, len
=PySequence_Length(obj4
);
2431 for (i
=0; i
<len
; i
++) {
2432 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2434 PyObject
* str
= PyObject_Unicode(item
);
2436 PyObject
* str
= PyObject_Str(item
);
2438 arg5
->Add(Py2wxString(str
));
2445 arg6
= (long) SWIG_AsLong(obj5
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2449 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2453 PyErr_SetString(PyExc_TypeError
,"null reference");
2459 arg8
= wxString_in_helper(obj7
);
2460 if (arg8
== NULL
) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2473 if (temp5
) delete arg5
;
2482 if (temp5
) delete arg5
;
2492 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 result
= (wxChoice
*)new wxChoice();
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2514 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxChoice
*arg1
= (wxChoice
*) 0 ;
2517 wxWindow
*arg2
= (wxWindow
*) 0 ;
2519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2523 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2524 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2525 long arg7
= (long) 0 ;
2526 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2527 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2528 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2529 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2533 bool temp6
= False
;
2534 bool temp9
= False
;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2537 PyObject
* obj2
= 0 ;
2538 PyObject
* obj3
= 0 ;
2539 PyObject
* obj4
= 0 ;
2540 PyObject
* obj5
= 0 ;
2541 PyObject
* obj6
= 0 ;
2542 PyObject
* obj7
= 0 ;
2543 PyObject
* obj8
= 0 ;
2545 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 arg3
= (int) SWIG_AsInt(obj2
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2569 if (! PySequence_Check(obj5
)) {
2570 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2573 arg6
= new wxArrayString
;
2575 int i
, len
=PySequence_Length(obj5
);
2576 for (i
=0; i
<len
; i
++) {
2577 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2579 PyObject
* str
= PyObject_Unicode(item
);
2581 PyObject
* str
= PyObject_Str(item
);
2583 arg6
->Add(Py2wxString(str
));
2590 arg7
= (long) SWIG_AsLong(obj6
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2594 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2598 PyErr_SetString(PyExc_TypeError
,"null reference");
2604 arg9
= wxString_in_helper(obj8
);
2605 if (arg9
== NULL
) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2620 if (temp6
) delete arg6
;
2629 if (temp6
) delete arg6
;
2639 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxChoice
*arg1
= (wxChoice
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2644 PyObject
* obj1
= 0 ;
2646 (char *) "self",(char *) "n", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 arg2
= (int const) SWIG_AsInt(obj1
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 (arg1
)->SetSelection(arg2
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 Py_INCREF(Py_None
); resultobj
= Py_None
;
2668 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxChoice
*arg1
= (wxChoice
*) 0 ;
2671 wxString
*arg2
= 0 ;
2672 bool temp2
= False
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2676 (char *) "self",(char *) "string", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2683 arg2
= wxString_in_helper(obj1
);
2684 if (arg2
== NULL
) SWIG_fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2694 Py_INCREF(Py_None
); resultobj
= Py_None
;
2709 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxChoice
*arg1
= (wxChoice
*) 0 ;
2713 wxString
*arg3
= 0 ;
2714 bool temp3
= False
;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2717 PyObject
* obj2
= 0 ;
2719 (char *) "self",(char *) "n",(char *) "string", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2725 arg2
= (int) SWIG_AsInt(obj1
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 arg3
= wxString_in_helper(obj2
);
2729 if (arg3
== NULL
) SWIG_fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2739 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
2756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2757 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2759 return Py_BuildValue((char *)"");
2761 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2762 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2767 static PyObject
*_wrap_ComboBoxNameStr_get() {
2772 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2774 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2781 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxWindow
*arg1
= (wxWindow
*) 0 ;
2785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2791 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2792 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2793 long arg7
= (long) 0 ;
2794 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2795 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2796 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2797 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2799 bool temp3
= False
;
2802 bool temp6
= False
;
2803 bool temp9
= False
;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2806 PyObject
* obj2
= 0 ;
2807 PyObject
* obj3
= 0 ;
2808 PyObject
* obj4
= 0 ;
2809 PyObject
* obj5
= 0 ;
2810 PyObject
* obj6
= 0 ;
2811 PyObject
* obj7
= 0 ;
2812 PyObject
* obj8
= 0 ;
2814 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2820 arg2
= (int) SWIG_AsInt(obj1
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2824 arg3
= wxString_in_helper(obj2
);
2825 if (arg3
== NULL
) SWIG_fail
;
2832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2843 if (! PySequence_Check(obj5
)) {
2844 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2847 arg6
= new wxArrayString
;
2849 int i
, len
=PySequence_Length(obj5
);
2850 for (i
=0; i
<len
; i
++) {
2851 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2853 PyObject
* str
= PyObject_Unicode(item
);
2855 PyObject
* str
= PyObject_Str(item
);
2857 arg6
->Add(Py2wxString(str
));
2864 arg7
= (long) SWIG_AsLong(obj6
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2868 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2872 PyErr_SetString(PyExc_TypeError
,"null reference");
2878 arg9
= wxString_in_helper(obj8
);
2879 if (arg9
== NULL
) SWIG_fail
;
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 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
);
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2896 if (temp6
) delete arg6
;
2909 if (temp6
) delete arg6
;
2919 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxComboBox
*)new wxComboBox();
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2941 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2944 wxWindow
*arg2
= (wxWindow
*) 0 ;
2946 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2947 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2952 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2953 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2954 long arg8
= (long) 0 ;
2955 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2956 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2957 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2958 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2960 bool temp4
= False
;
2963 bool temp7
= False
;
2964 bool temp10
= False
;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2969 PyObject
* obj4
= 0 ;
2970 PyObject
* obj5
= 0 ;
2971 PyObject
* obj6
= 0 ;
2972 PyObject
* obj7
= 0 ;
2973 PyObject
* obj8
= 0 ;
2974 PyObject
* obj9
= 0 ;
2976 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2984 arg3
= (int) SWIG_AsInt(obj2
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 arg4
= wxString_in_helper(obj3
);
2989 if (arg4
== NULL
) SWIG_fail
;
2996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3007 if (! PySequence_Check(obj6
)) {
3008 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3011 arg7
= new wxArrayString
;
3013 int i
, len
=PySequence_Length(obj6
);
3014 for (i
=0; i
<len
; i
++) {
3015 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3017 PyObject
* str
= PyObject_Unicode(item
);
3019 PyObject
* str
= PyObject_Str(item
);
3021 arg7
->Add(Py2wxString(str
));
3028 arg8
= (long) SWIG_AsLong(obj7
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3032 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3036 PyErr_SetString(PyExc_TypeError
,"null reference");
3042 arg10
= wxString_in_helper(obj9
);
3043 if (arg10
== NULL
) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 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
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3062 if (temp7
) delete arg7
;
3075 if (temp7
) delete arg7
;
3085 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3091 (char *) "self", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= ((wxComboBox
const *)arg1
)->GetValue();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3117 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3120 wxString
*arg2
= 0 ;
3121 bool temp2
= False
;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj1
= 0 ;
3125 (char *) "self",(char *) "value", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3132 arg2
= wxString_in_helper(obj1
);
3133 if (arg2
== NULL
) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 (arg1
)->SetValue((wxString
const &)*arg2
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3143 Py_INCREF(Py_None
); resultobj
= Py_None
;
3158 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "self", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3176 Py_INCREF(Py_None
); resultobj
= Py_None
;
3183 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3186 PyObject
* obj0
= 0 ;
3188 (char *) "self", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3211 PyObject
* obj0
= 0 ;
3213 (char *) "self", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3226 Py_INCREF(Py_None
); resultobj
= Py_None
;
3233 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "self",(char *) "pos", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3246 arg2
= (long) SWIG_AsLong(obj1
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 (arg1
)->SetInsertionPoint(arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3262 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3264 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3266 PyObject
* obj0
= 0 ;
3268 (char *) "self", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 resultobj
= SWIG_FromLong((long)result
);
3288 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3294 (char *) "self", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 resultobj
= SWIG_FromLong((long)result
);
3314 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3319 wxString
*arg4
= 0 ;
3320 bool temp4
= False
;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3323 PyObject
* obj2
= 0 ;
3324 PyObject
* obj3
= 0 ;
3326 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 arg2
= (long) SWIG_AsLong(obj1
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3334 arg3
= (long) SWIG_AsLong(obj2
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 arg4
= wxString_in_helper(obj3
);
3338 if (arg4
== NULL
) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 Py_INCREF(Py_None
); resultobj
= Py_None
;
3363 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3370 (char *) "self",(char *) "n", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 arg2
= (int) SWIG_AsInt(obj1
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 (arg1
)->SetSelection(arg2
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 Py_INCREF(Py_None
); resultobj
= Py_None
;
3392 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3399 PyObject
* obj2
= 0 ;
3401 (char *) "self",(char *) "from",(char *) "to", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 arg2
= (long) SWIG_AsLong(obj1
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3409 arg3
= (long) SWIG_AsLong(obj2
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->SetSelection(arg2
,arg3
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3425 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3432 (char *) "self",(char *) "editable", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 arg2
= (bool) SWIG_AsBool(obj1
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 (arg1
)->SetEditable(arg2
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 Py_INCREF(Py_None
); resultobj
= Py_None
;
3454 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->SetInsertionPointEnd();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3488 (char *) "self",(char *) "from",(char *) "to", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 arg2
= (long) SWIG_AsLong(obj1
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3496 arg3
= (long) SWIG_AsLong(obj2
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 (arg1
)->Remove(arg2
,arg3
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3515 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3517 return Py_BuildValue((char *)"");
3519 static int _wrap_GaugeNameStr_set(PyObject
*) {
3520 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3525 static PyObject
*_wrap_GaugeNameStr_get() {
3530 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3532 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3539 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxWindow
*arg1
= (wxWindow
*) 0 ;
3544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3548 long arg6
= (long) wxGA_HORIZONTAL
;
3549 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3550 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3551 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3552 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3556 bool temp8
= False
;
3557 PyObject
* obj0
= 0 ;
3558 PyObject
* obj1
= 0 ;
3559 PyObject
* obj2
= 0 ;
3560 PyObject
* obj3
= 0 ;
3561 PyObject
* obj4
= 0 ;
3562 PyObject
* obj5
= 0 ;
3563 PyObject
* obj6
= 0 ;
3564 PyObject
* obj7
= 0 ;
3566 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3572 arg2
= (int) SWIG_AsInt(obj1
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3574 arg3
= (int) SWIG_AsInt(obj2
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3589 arg6
= (long) SWIG_AsLong(obj5
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3597 PyErr_SetString(PyExc_TypeError
,"null reference");
3603 arg8
= wxString_in_helper(obj7
);
3604 if (arg8
== NULL
) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3630 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 result
= (wxGauge
*)new wxGauge();
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3652 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxGauge
*arg1
= (wxGauge
*) 0 ;
3655 wxWindow
*arg2
= (wxWindow
*) 0 ;
3658 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3659 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3660 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3661 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3662 long arg7
= (long) wxGA_HORIZONTAL
;
3663 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3664 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3665 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3666 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3670 bool temp9
= False
;
3671 PyObject
* obj0
= 0 ;
3672 PyObject
* obj1
= 0 ;
3673 PyObject
* obj2
= 0 ;
3674 PyObject
* obj3
= 0 ;
3675 PyObject
* obj4
= 0 ;
3676 PyObject
* obj5
= 0 ;
3677 PyObject
* obj6
= 0 ;
3678 PyObject
* obj7
= 0 ;
3679 PyObject
* obj8
= 0 ;
3681 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 arg3
= (int) SWIG_AsInt(obj2
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3691 arg4
= (int) SWIG_AsInt(obj3
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3702 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3706 arg7
= (long) SWIG_AsLong(obj6
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3710 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3714 PyErr_SetString(PyExc_TypeError
,"null reference");
3720 arg9
= wxString_in_helper(obj8
);
3721 if (arg9
== NULL
) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3749 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxGauge
*arg1
= (wxGauge
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3756 (char *) "self",(char *) "range", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3762 arg2
= (int) SWIG_AsInt(obj1
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 (arg1
)->SetRange(arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxGauge
*arg1
= (wxGauge
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3804 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxGauge
*arg1
= (wxGauge
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "pos", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 arg2
= (int) SWIG_AsInt(obj1
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 (arg1
)->SetValue(arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxGauge
*arg1
= (wxGauge
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "self", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_FromInt((int)result
);
3859 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxGauge
*arg1
= (wxGauge
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3887 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxGauge
*arg1
= (wxGauge
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3892 PyObject
* obj1
= 0 ;
3894 (char *) "self",(char *) "w", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 arg2
= (int) SWIG_AsInt(obj1
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetShadowWidth(arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxGauge
*arg1
= (wxGauge
*) 0 ;
3920 PyObject
* obj0
= 0 ;
3922 (char *) "self", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= SWIG_FromInt((int)result
);
3942 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxGauge
*arg1
= (wxGauge
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "self",(char *) "w", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 arg2
= (int) SWIG_AsInt(obj1
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 (arg1
)->SetBezelFace(arg2
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 Py_INCREF(Py_None
); resultobj
= Py_None
;
3971 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxGauge
*arg1
= (wxGauge
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= SWIG_FromInt((int)result
);
3997 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
3999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4000 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4002 return Py_BuildValue((char *)"");
4004 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4005 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4010 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4015 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4017 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4024 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4025 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4030 static PyObject
*_wrap_StaticBoxNameStr_get() {
4035 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4037 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4044 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4045 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4050 static PyObject
*_wrap_StaticTextNameStr_get() {
4055 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4057 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4064 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxWindow
*arg1
= (wxWindow
*) 0 ;
4068 wxString
*arg3
= 0 ;
4069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4073 long arg6
= (long) 0 ;
4074 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4075 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4076 wxStaticBox
*result
;
4077 bool temp3
= False
;
4080 bool temp7
= False
;
4081 PyObject
* obj0
= 0 ;
4082 PyObject
* obj1
= 0 ;
4083 PyObject
* obj2
= 0 ;
4084 PyObject
* obj3
= 0 ;
4085 PyObject
* obj4
= 0 ;
4086 PyObject
* obj5
= 0 ;
4087 PyObject
* obj6
= 0 ;
4089 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 arg2
= (int) SWIG_AsInt(obj1
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 arg3
= wxString_in_helper(obj2
);
4099 if (arg3
== NULL
) SWIG_fail
;
4105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4115 arg6
= (long) SWIG_AsLong(obj5
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4120 arg7
= wxString_in_helper(obj6
);
4121 if (arg7
== NULL
) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= wxPyMake_wxObject(result
);
4157 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxStaticBox
*result
;
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxStaticBox
*)new wxStaticBox();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= wxPyMake_wxObject(result
);
4181 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4184 wxWindow
*arg2
= (wxWindow
*) 0 ;
4186 wxString
*arg4
= 0 ;
4187 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4188 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4189 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4190 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4191 long arg7
= (long) 0 ;
4192 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4193 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4195 bool temp4
= False
;
4198 bool temp8
= False
;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 PyObject
* obj2
= 0 ;
4202 PyObject
* obj3
= 0 ;
4203 PyObject
* obj4
= 0 ;
4204 PyObject
* obj5
= 0 ;
4205 PyObject
* obj6
= 0 ;
4206 PyObject
* obj7
= 0 ;
4208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4216 arg3
= (int) SWIG_AsInt(obj2
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 arg4
= wxString_in_helper(obj3
);
4220 if (arg4
== NULL
) SWIG_fail
;
4226 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4232 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4236 arg7
= (long) SWIG_AsLong(obj6
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4241 arg8
= wxString_in_helper(obj7
);
4242 if (arg8
== NULL
) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4278 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4283 return Py_BuildValue((char *)"");
4285 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxWindow
*arg1
= (wxWindow
*) 0 ;
4289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4291 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4292 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4293 long arg5
= (long) wxLI_HORIZONTAL
;
4294 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4295 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4296 wxStaticLine
*result
;
4299 bool temp6
= False
;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 PyObject
* obj2
= 0 ;
4303 PyObject
* obj3
= 0 ;
4304 PyObject
* obj4
= 0 ;
4305 PyObject
* obj5
= 0 ;
4307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4313 arg2
= (int) SWIG_AsInt(obj1
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4324 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4328 arg5
= (long) SWIG_AsLong(obj4
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4333 arg6
= wxString_in_helper(obj5
);
4334 if (arg6
== NULL
) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4360 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxStaticLine
*result
;
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (wxStaticLine
*)new wxStaticLine();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4382 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4385 wxWindow
*arg2
= (wxWindow
*) 0 ;
4387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4391 long arg6
= (long) wxLI_HORIZONTAL
;
4392 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4393 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4397 bool temp7
= False
;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4400 PyObject
* obj2
= 0 ;
4401 PyObject
* obj3
= 0 ;
4402 PyObject
* obj4
= 0 ;
4403 PyObject
* obj5
= 0 ;
4404 PyObject
* obj6
= 0 ;
4406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4414 arg3
= (int) SWIG_AsInt(obj2
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4429 arg6
= (long) SWIG_AsLong(obj5
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4434 arg7
= wxString_in_helper(obj6
);
4435 if (arg7
== NULL
) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4463 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4469 (char *) "self", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4491 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (int)wxStaticLine::GetDefaultSize();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_FromInt((int)result
);
4513 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
4515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4516 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4518 return Py_BuildValue((char *)"");
4520 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4524 wxString
*arg3
= 0 ;
4525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4529 long arg6
= (long) 0 ;
4530 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4531 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4532 wxStaticText
*result
;
4533 bool temp3
= False
;
4536 bool temp7
= False
;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4539 PyObject
* obj2
= 0 ;
4540 PyObject
* obj3
= 0 ;
4541 PyObject
* obj4
= 0 ;
4542 PyObject
* obj5
= 0 ;
4543 PyObject
* obj6
= 0 ;
4545 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4551 arg2
= (int) SWIG_AsInt(obj1
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 arg3
= wxString_in_helper(obj2
);
4555 if (arg3
== NULL
) SWIG_fail
;
4561 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4567 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4571 arg6
= (long) SWIG_AsLong(obj5
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4576 arg7
= wxString_in_helper(obj6
);
4577 if (arg7
== NULL
) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4611 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxStaticText
*result
;
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (wxStaticText
*)new wxStaticText();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4633 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4636 wxWindow
*arg2
= (wxWindow
*) 0 ;
4638 wxString
*arg4
= 0 ;
4639 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4640 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4641 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4642 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4643 long arg7
= (long) 0 ;
4644 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4645 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4647 bool temp4
= False
;
4650 bool temp8
= False
;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 PyObject
* obj2
= 0 ;
4654 PyObject
* obj3
= 0 ;
4655 PyObject
* obj4
= 0 ;
4656 PyObject
* obj5
= 0 ;
4657 PyObject
* obj6
= 0 ;
4658 PyObject
* obj7
= 0 ;
4660 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4668 arg3
= (int) SWIG_AsInt(obj2
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 arg4
= wxString_in_helper(obj3
);
4672 if (arg4
== NULL
) SWIG_fail
;
4678 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4684 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4688 arg7
= (long) SWIG_AsLong(obj6
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4693 arg8
= wxString_in_helper(obj7
);
4694 if (arg8
== NULL
) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4730 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
4732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4735 return Py_BuildValue((char *)"");
4737 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxWindow
*arg1
= (wxWindow
*) 0 ;
4741 wxBitmap
*arg3
= 0 ;
4742 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4743 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4744 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4745 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4746 long arg6
= (long) 0 ;
4747 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4748 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4749 wxStaticBitmap
*result
;
4752 bool temp7
= False
;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 PyObject
* obj3
= 0 ;
4757 PyObject
* obj4
= 0 ;
4758 PyObject
* obj5
= 0 ;
4759 PyObject
* obj6
= 0 ;
4761 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4767 arg2
= (int) SWIG_AsInt(obj1
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4773 PyErr_SetString(PyExc_TypeError
,"null reference");
4779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4789 arg6
= (long) SWIG_AsLong(obj5
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4794 arg7
= wxString_in_helper(obj6
);
4795 if (arg7
== NULL
) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4821 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxStaticBitmap
*result
;
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4843 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4846 wxWindow
*arg2
= (wxWindow
*) 0 ;
4848 wxBitmap
*arg4
= 0 ;
4849 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4850 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4851 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4852 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4853 long arg7
= (long) 0 ;
4854 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4855 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4859 bool temp8
= False
;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4863 PyObject
* obj3
= 0 ;
4864 PyObject
* obj4
= 0 ;
4865 PyObject
* obj5
= 0 ;
4866 PyObject
* obj6
= 0 ;
4867 PyObject
* obj7
= 0 ;
4869 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4877 arg3
= (int) SWIG_AsInt(obj2
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4879 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4883 PyErr_SetString(PyExc_TypeError
,"null reference");
4889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4895 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4899 arg7
= (long) SWIG_AsLong(obj6
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4904 arg8
= wxString_in_helper(obj7
);
4905 if (arg8
== NULL
) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4933 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4939 (char *) "self", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (arg1
)->GetBitmap();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4953 wxBitmap
* resultptr
;
4954 resultptr
= new wxBitmap((wxBitmap
&) result
);
4955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4963 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4966 wxBitmap
*arg2
= 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4970 (char *) "self",(char *) "bitmap", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4980 PyErr_SetString(PyExc_TypeError
,"null reference");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5004 (char *) "self",(char *) "icon", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5014 PyErr_SetString(PyExc_TypeError
,"null reference");
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5034 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5036 return Py_BuildValue((char *)"");
5038 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5039 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5044 static PyObject
*_wrap_ListBoxNameStr_get() {
5049 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5051 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5058 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxWindow
*arg1
= (wxWindow
*) 0 ;
5062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5066 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5067 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5068 long arg6
= (long) 0 ;
5069 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5070 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5071 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5072 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5076 bool temp5
= False
;
5077 bool temp8
= False
;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 PyObject
* obj2
= 0 ;
5081 PyObject
* obj3
= 0 ;
5082 PyObject
* obj4
= 0 ;
5083 PyObject
* obj5
= 0 ;
5084 PyObject
* obj6
= 0 ;
5085 PyObject
* obj7
= 0 ;
5087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 arg2
= (int) SWIG_AsInt(obj1
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5109 if (! PySequence_Check(obj4
)) {
5110 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5113 arg5
= new wxArrayString
;
5115 int i
, len
=PySequence_Length(obj4
);
5116 for (i
=0; i
<len
; i
++) {
5117 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5119 PyObject
* str
= PyObject_Unicode(item
);
5121 PyObject
* str
= PyObject_Str(item
);
5123 arg5
->Add(Py2wxString(str
));
5130 arg6
= (long) SWIG_AsLong(obj5
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5138 PyErr_SetString(PyExc_TypeError
,"null reference");
5144 arg8
= wxString_in_helper(obj7
);
5145 if (arg8
== NULL
) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5158 if (temp5
) delete arg5
;
5167 if (temp5
) delete arg5
;
5177 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (wxListBox
*)new wxListBox();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5199 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
*resultobj
;
5201 wxListBox
*arg1
= (wxListBox
*) 0 ;
5202 wxWindow
*arg2
= (wxWindow
*) 0 ;
5204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5208 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5209 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5210 long arg7
= (long) 0 ;
5211 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5212 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5213 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5214 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5218 bool temp6
= False
;
5219 bool temp9
= False
;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5222 PyObject
* obj2
= 0 ;
5223 PyObject
* obj3
= 0 ;
5224 PyObject
* obj4
= 0 ;
5225 PyObject
* obj5
= 0 ;
5226 PyObject
* obj6
= 0 ;
5227 PyObject
* obj7
= 0 ;
5228 PyObject
* obj8
= 0 ;
5230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 arg3
= (int) SWIG_AsInt(obj2
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5254 if (! PySequence_Check(obj5
)) {
5255 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5258 arg6
= new wxArrayString
;
5260 int i
, len
=PySequence_Length(obj5
);
5261 for (i
=0; i
<len
; i
++) {
5262 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5264 PyObject
* str
= PyObject_Unicode(item
);
5266 PyObject
* str
= PyObject_Str(item
);
5268 arg6
->Add(Py2wxString(str
));
5275 arg7
= (long) SWIG_AsLong(obj6
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5283 PyErr_SetString(PyExc_TypeError
,"null reference");
5289 arg9
= wxString_in_helper(obj8
);
5290 if (arg9
== NULL
) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5305 if (temp6
) delete arg6
;
5314 if (temp6
) delete arg6
;
5324 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxListBox
*arg1
= (wxListBox
*) 0 ;
5327 wxString
*arg2
= 0 ;
5329 PyObject
*arg4
= (PyObject
*) NULL
;
5330 bool temp2
= False
;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5336 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 arg2
= wxString_in_helper(obj1
);
5344 if (arg2
== NULL
) SWIG_fail
;
5347 arg3
= (int) SWIG_AsInt(obj2
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxListBox
*arg1
= (wxListBox
*) 0 ;
5377 wxArrayString
*arg2
= 0 ;
5379 bool temp2
= False
;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5382 PyObject
* obj2
= 0 ;
5384 (char *) "self",(char *) "items",(char *) "pos", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 if (! PySequence_Check(obj1
)) {
5392 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5395 arg2
= new wxArrayString
;
5397 int i
, len
=PySequence_Length(obj1
);
5398 for (i
=0; i
<len
; i
++) {
5399 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5401 PyObject
* str
= PyObject_Unicode(item
);
5403 PyObject
* str
= PyObject_Str(item
);
5405 arg2
->Add(Py2wxString(str
));
5410 arg3
= (int) SWIG_AsInt(obj2
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 if (temp2
) delete arg2
;
5426 if (temp2
) delete arg2
;
5432 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxListBox
*arg1
= (wxListBox
*) 0 ;
5435 wxArrayString
*arg2
= 0 ;
5436 bool temp2
= False
;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5440 (char *) "self",(char *) "items", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 if (! PySequence_Check(obj1
)) {
5448 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5451 arg2
= new wxArrayString
;
5453 int i
, len
=PySequence_Length(obj1
);
5454 for (i
=0; i
<len
; i
++) {
5455 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5457 PyObject
* str
= PyObject_Unicode(item
);
5459 PyObject
* str
= PyObject_Str(item
);
5461 arg2
->Add(Py2wxString(str
));
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->Set((wxArrayString
const &)*arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 if (temp2
) delete arg2
;
5480 if (temp2
) delete arg2
;
5486 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxListBox
*arg1
= (wxListBox
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "n", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 arg2
= (int) SWIG_AsInt(obj1
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5518 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxListBox
*arg1
= (wxListBox
*) 0 ;
5522 bool arg3
= (bool) True
;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5525 PyObject
* obj2
= 0 ;
5527 (char *) "self",(char *) "n",(char *) "select", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 arg2
= (int) SWIG_AsInt(obj1
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 arg3
= (bool) SWIG_AsBool(obj2
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->SetSelection(arg2
,arg3
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxListBox
*arg1
= (wxListBox
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "n", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 arg2
= (int) SWIG_AsInt(obj1
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 (arg1
)->Select(arg2
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 Py_INCREF(Py_None
); resultobj
= Py_None
;
5582 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5584 wxListBox
*arg1
= (wxListBox
*) 0 ;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5589 (char *) "self",(char *) "n", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 arg2
= (int) SWIG_AsInt(obj1
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->Deselect(arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 Py_INCREF(Py_None
); resultobj
= Py_None
;
5611 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxListBox
*arg1
= (wxListBox
*) 0 ;
5614 int arg2
= (int) -1 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5618 (char *) "self",(char *) "itemToLeaveSelected", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 arg2
= (int) SWIG_AsInt(obj1
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 (arg1
)->DeselectAll(arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 Py_INCREF(Py_None
); resultobj
= Py_None
;
5642 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxListBox
*arg1
= (wxListBox
*) 0 ;
5645 wxString
*arg2
= 0 ;
5646 bool arg3
= (bool) True
;
5648 bool temp2
= False
;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5651 PyObject
* obj2
= 0 ;
5653 (char *) "self",(char *) "s",(char *) "select", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 arg2
= wxString_in_helper(obj1
);
5661 if (arg2
== NULL
) SWIG_fail
;
5665 arg3
= (bool) SWIG_AsBool(obj2
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxListBox
*arg1
= (wxListBox
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5698 (char *) "self", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5718 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxListBox
*arg1
= (wxListBox
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5723 PyObject
* obj1
= 0 ;
5725 (char *) "self",(char *) "n", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 arg2
= (int) SWIG_AsInt(obj1
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 (arg1
)->SetFirstItem(arg2
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxListBox
*arg1
= (wxListBox
*) 0 ;
5750 wxString
*arg2
= 0 ;
5751 bool temp2
= False
;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "s", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 arg2
= wxString_in_helper(obj1
);
5763 if (arg2
== NULL
) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxListBox
*arg1
= (wxListBox
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5793 PyObject
* obj1
= 0 ;
5795 (char *) "self",(char *) "n", NULL
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 arg2
= (int) SWIG_AsInt(obj1
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 (arg1
)->EnsureVisible(arg2
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxListBox
*arg1
= (wxListBox
*) 0 ;
5820 wxString
*arg2
= 0 ;
5821 bool temp2
= False
;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "s", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5832 arg2
= wxString_in_helper(obj1
);
5833 if (arg2
== NULL
) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxListBox
*arg1
= (wxListBox
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5886 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxListBox
*arg1
= (wxListBox
*) 0 ;
5890 wxColour
*arg3
= 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5894 PyObject
* obj2
= 0 ;
5896 (char *) "self",(char *) "item",(char *) "c", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 arg2
= (int) SWIG_AsInt(obj1
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5906 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxListBox
*arg1
= (wxListBox
*) 0 ;
5926 wxColour
*arg3
= 0 ;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5932 (char *) "self",(char *) "item",(char *) "c", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 arg2
= (int) SWIG_AsInt(obj1
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5942 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 Py_INCREF(Py_None
); resultobj
= Py_None
;
5958 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxListBox
*arg1
= (wxListBox
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5965 PyObject
* obj2
= 0 ;
5967 (char *) "self",(char *) "item",(char *) "f", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 arg2
= (int) SWIG_AsInt(obj1
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5975 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5979 PyErr_SetString(PyExc_TypeError
,"null reference");
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
5998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5999 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6001 return Py_BuildValue((char *)"");
6003 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxWindow
*arg1
= (wxWindow
*) 0 ;
6007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6011 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6012 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6013 long arg6
= (long) 0 ;
6014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6016 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6018 wxCheckListBox
*result
;
6021 bool temp5
= False
;
6022 bool temp8
= False
;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6025 PyObject
* obj2
= 0 ;
6026 PyObject
* obj3
= 0 ;
6027 PyObject
* obj4
= 0 ;
6028 PyObject
* obj5
= 0 ;
6029 PyObject
* obj6
= 0 ;
6030 PyObject
* obj7
= 0 ;
6032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 arg2
= (int) SWIG_AsInt(obj1
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6054 if (! PySequence_Check(obj4
)) {
6055 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6058 arg5
= new wxArrayString
;
6060 int i
, len
=PySequence_Length(obj4
);
6061 for (i
=0; i
<len
; i
++) {
6062 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6064 PyObject
* str
= PyObject_Unicode(item
);
6066 PyObject
* str
= PyObject_Str(item
);
6068 arg5
->Add(Py2wxString(str
));
6075 arg6
= (long) SWIG_AsLong(obj5
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6083 PyErr_SetString(PyExc_TypeError
,"null reference");
6089 arg8
= wxString_in_helper(obj7
);
6090 if (arg8
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6103 if (temp5
) delete arg5
;
6112 if (temp5
) delete arg5
;
6122 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxCheckListBox
*result
;
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (wxCheckListBox
*)new wxCheckListBox();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6144 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6147 wxWindow
*arg2
= (wxWindow
*) 0 ;
6149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6153 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6154 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6155 long arg7
= (long) 0 ;
6156 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6157 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6158 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6159 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6163 bool temp6
= False
;
6164 bool temp9
= False
;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6167 PyObject
* obj2
= 0 ;
6168 PyObject
* obj3
= 0 ;
6169 PyObject
* obj4
= 0 ;
6170 PyObject
* obj5
= 0 ;
6171 PyObject
* obj6
= 0 ;
6172 PyObject
* obj7
= 0 ;
6173 PyObject
* obj8
= 0 ;
6175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6183 arg3
= (int) SWIG_AsInt(obj2
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6199 if (! PySequence_Check(obj5
)) {
6200 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6203 arg6
= new wxArrayString
;
6205 int i
, len
=PySequence_Length(obj5
);
6206 for (i
=0; i
<len
; i
++) {
6207 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6209 PyObject
* str
= PyObject_Unicode(item
);
6211 PyObject
* str
= PyObject_Str(item
);
6213 arg6
->Add(Py2wxString(str
));
6220 arg7
= (long) SWIG_AsLong(obj6
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6224 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6228 PyErr_SetString(PyExc_TypeError
,"null reference");
6234 arg9
= wxString_in_helper(obj8
);
6235 if (arg9
== NULL
) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6250 if (temp6
) delete arg6
;
6259 if (temp6
) delete arg6
;
6269 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "index", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 arg2
= (int) SWIG_AsInt(obj1
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->IsChecked(arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6305 int arg3
= (int) True
;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6308 PyObject
* obj2
= 0 ;
6310 (char *) "self",(char *) "index",(char *) "check", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 arg2
= (int) SWIG_AsInt(obj1
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 arg3
= (int) SWIG_AsInt(obj2
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->Check(arg2
,arg3
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6336 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6342 PyObject
* obj0
= 0 ;
6343 PyObject
* obj1
= 0 ;
6345 (char *) "self",(char *) "pt", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= SWIG_FromInt((int)result
);
6369 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 PyObject
* obj2
= 0 ;
6379 (char *) "self",(char *) "x",(char *) "y", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 arg2
= (int) SWIG_AsInt(obj1
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6387 arg3
= (int) SWIG_AsInt(obj2
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_FromInt((int)result
);
6403 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
6405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6406 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6408 return Py_BuildValue((char *)"");
6410 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6411 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6416 static PyObject
*_wrap_TextCtrlNameStr_get() {
6421 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6423 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6430 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*, PyObject
*args
) {
6431 PyObject
*resultobj
;
6434 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (wxTextAttr
*)new wxTextAttr();
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6449 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*, PyObject
*args
) {
6450 PyObject
*resultobj
;
6451 wxColour
*arg1
= 0 ;
6452 wxColour
const &arg2_defvalue
= wxNullColour
;
6453 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6454 wxFont
const &arg3_defvalue
= wxNullFont
;
6455 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6456 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6463 PyObject
* obj3
= 0 ;
6465 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6468 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6477 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6481 PyErr_SetString(PyExc_TypeError
,"null reference");
6486 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6503 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6508 argc
= PyObject_Length(args
);
6509 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6510 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6513 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6515 if ((argc
>= 1) && (argc
<= 4)) {
6518 _v
= wxColour_typecheck(argv
[0]);
6522 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6525 _v
= wxColour_typecheck(argv
[1]);
6529 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6533 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6542 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6544 _v
= SWIG_CheckInt(argv
[3]);
6546 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6553 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6558 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6588 (char *) "self", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 Py_INCREF(Py_None
); resultobj
= Py_None
;
6608 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6611 wxColour
*arg2
= 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "colText", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6643 wxColour
*arg2
= 0 ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6648 (char *) "self",(char *) "colBack", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 Py_INCREF(Py_None
); resultobj
= Py_None
;
6672 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6676 long arg3
= (long) wxTEXT_ATTR_FONT
;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 PyObject
* obj2
= 0 ;
6681 (char *) "self",(char *) "font",(char *) "flags", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6691 PyErr_SetString(PyExc_TypeError
,"null reference");
6695 arg3
= (long) SWIG_AsLong(obj2
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 Py_INCREF(Py_None
); resultobj
= Py_None
;
6712 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "alignment", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 Py_INCREF(Py_None
); resultobj
= Py_None
;
6741 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6744 wxArrayInt
*arg2
= 0 ;
6745 bool temp2
= False
;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6749 (char *) "self",(char *) "tabs", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6756 if (! PySequence_Check(obj1
)) {
6757 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6760 arg2
= new wxArrayInt
;
6762 int i
, len
=PySequence_Length(obj1
);
6763 for (i
=0; i
<len
; i
++) {
6764 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6765 PyObject
* number
= PyNumber_Int(item
);
6766 arg2
->Add(PyInt_AS_LONG(number
));
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6780 if (temp2
) delete arg2
;
6785 if (temp2
) delete arg2
;
6791 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6798 (char *) "self",(char *) "indent", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6804 arg2
= (int) SWIG_AsInt(obj1
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->SetLeftIndent(arg2
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 Py_INCREF(Py_None
); resultobj
= Py_None
;
6820 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6827 (char *) "self",(char *) "indent", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 arg2
= (int) SWIG_AsInt(obj1
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->SetRightIndent(arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "flags", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 arg2
= (long) SWIG_AsLong(obj1
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 (arg1
)->SetFlags(arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "self", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6906 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6910 PyObject
* obj0
= 0 ;
6912 (char *) "self", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6934 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6940 (char *) "self", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6990 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6994 PyObject
* obj0
= 0 ;
6996 (char *) "self", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7018 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "self", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7046 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7052 (char *) "self", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7074 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "flag", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 arg2
= (long) SWIG_AsLong(obj1
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7106 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7112 (char *) "self", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7122 result
= (wxColour
*) &_result_ref
;
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7135 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7151 result
= (wxColour
*) &_result_ref
;
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7164 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7170 (char *) "self", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7180 result
= (wxFont
*) &_result_ref
;
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 wxFont
* resultptr
= new wxFont(*result
);
7188 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7196 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7202 (char *) "self", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_FromInt((int)result
);
7222 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "self", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7238 result
= (wxArrayInt
*) &_result_ref
;
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= PyList_New(0);
7247 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7248 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7249 PyList_Append(resultobj
, val
);
7259 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "self", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_FromLong((long)result
);
7285 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "self", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_FromLong((long)result
);
7311 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7317 (char *) "self", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_FromLong((long)result
);
7337 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7365 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxTextAttr
*arg1
= 0 ;
7368 wxTextAttr
*arg2
= 0 ;
7369 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7371 PyObject
* obj0
= 0 ;
7372 PyObject
* obj1
= 0 ;
7373 PyObject
* obj2
= 0 ;
7375 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7383 PyErr_SetString(PyExc_TypeError
,"null reference");
7386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7390 PyErr_SetString(PyExc_TypeError
,"null reference");
7393 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7403 wxTextAttr
* resultptr
;
7404 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7413 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
7415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7416 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7418 return Py_BuildValue((char *)"");
7420 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxWindow
*arg1
= (wxWindow
*) 0 ;
7424 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7425 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7430 long arg6
= (long) 0 ;
7431 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7432 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7433 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7434 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7436 bool temp3
= False
;
7439 bool temp8
= False
;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7442 PyObject
* obj2
= 0 ;
7443 PyObject
* obj3
= 0 ;
7444 PyObject
* obj4
= 0 ;
7445 PyObject
* obj5
= 0 ;
7446 PyObject
* obj6
= 0 ;
7447 PyObject
* obj7
= 0 ;
7449 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 arg2
= (int) SWIG_AsInt(obj1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7459 arg3
= wxString_in_helper(obj2
);
7460 if (arg3
== NULL
) SWIG_fail
;
7467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7477 arg6
= (long) SWIG_AsLong(obj5
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7481 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7485 PyErr_SetString(PyExc_TypeError
,"null reference");
7491 arg8
= wxString_in_helper(obj7
);
7492 if (arg8
== NULL
) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= wxPyMake_wxObject(result
);
7528 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (wxTextCtrl
*)new wxTextCtrl();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= wxPyMake_wxObject(result
);
7552 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7555 wxWindow
*arg2
= (wxWindow
*) 0 ;
7557 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7558 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7559 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7560 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7561 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7562 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7563 long arg7
= (long) 0 ;
7564 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7565 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7566 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7567 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7569 bool temp4
= False
;
7572 bool temp9
= False
;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7575 PyObject
* obj2
= 0 ;
7576 PyObject
* obj3
= 0 ;
7577 PyObject
* obj4
= 0 ;
7578 PyObject
* obj5
= 0 ;
7579 PyObject
* obj6
= 0 ;
7580 PyObject
* obj7
= 0 ;
7581 PyObject
* obj8
= 0 ;
7583 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7591 arg3
= (int) SWIG_AsInt(obj2
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7595 arg4
= wxString_in_helper(obj3
);
7596 if (arg4
== NULL
) SWIG_fail
;
7603 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7609 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7613 arg7
= (long) SWIG_AsLong(obj6
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7621 PyErr_SetString(PyExc_TypeError
,"null reference");
7627 arg9
= wxString_in_helper(obj8
);
7628 if (arg9
== NULL
) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7696 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7699 wxString
*arg2
= 0 ;
7700 bool temp2
= False
;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7704 (char *) "self",(char *) "value", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 arg2
= wxString_in_helper(obj1
);
7712 if (arg2
== NULL
) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 (arg1
)->SetValue((wxString
const &)*arg2
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 Py_INCREF(Py_None
); resultobj
= Py_None
;
7737 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7745 PyObject
* obj2
= 0 ;
7747 (char *) "self",(char *) "from",(char *) "to", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7753 arg2
= (long) SWIG_AsLong(obj1
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7755 arg3
= (long) SWIG_AsLong(obj2
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7777 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7785 (char *) "self",(char *) "lineNo", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 arg2
= (long) SWIG_AsLong(obj1
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_FromInt((int)result
);
7807 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "lineNo", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 arg2
= (long) SWIG_AsLong(obj1
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7843 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_FromInt((int)result
);
7869 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7897 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7903 (char *) "self", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7925 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7953 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "self", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7981 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
;
7983 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7984 long *arg2
= (long *) 0 ;
7985 long *arg3
= (long *) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8008 resultobj
= t_output_helper(resultobj
,o
);
8011 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8012 resultobj
= t_output_helper(resultobj
,o
);
8020 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "self", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8052 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8057 (char *) "self", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 Py_INCREF(Py_None
); resultobj
= Py_None
;
8077 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8082 wxString
*arg4
= 0 ;
8083 bool temp4
= False
;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 PyObject
* obj2
= 0 ;
8087 PyObject
* obj3
= 0 ;
8089 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 arg2
= (long) SWIG_AsLong(obj1
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8097 arg3
= (long) SWIG_AsLong(obj2
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 arg4
= wxString_in_helper(obj3
);
8101 if (arg4
== NULL
) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8126 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8132 PyObject
* obj1
= 0 ;
8133 PyObject
* obj2
= 0 ;
8135 (char *) "self",(char *) "from",(char *) "to", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8141 arg2
= (long) SWIG_AsLong(obj1
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8143 arg3
= (long) SWIG_AsLong(obj2
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->Remove(arg2
,arg3
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8159 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8162 wxString
*arg2
= 0 ;
8164 bool temp2
= False
;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8168 (char *) "self",(char *) "file", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 arg2
= wxString_in_helper(obj1
);
8176 if (arg2
== NULL
) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8203 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8206 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8207 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8209 bool temp2
= False
;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8213 (char *) "self",(char *) "file", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= wxString_in_helper(obj1
);
8222 if (arg2
== NULL
) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8250 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8255 (char *) "self", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->MarkDirty();
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8278 PyObject
* obj0
= 0 ;
8280 (char *) "self", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->DiscardEdits();
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8303 unsigned long arg2
;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8307 (char *) "self",(char *) "len", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8313 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->SetMaxLength(arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8329 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8332 wxString
*arg2
= 0 ;
8333 bool temp2
= False
;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8337 (char *) "self",(char *) "text", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8344 arg2
= wxString_in_helper(obj1
);
8345 if (arg2
== NULL
) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 (arg1
)->WriteText((wxString
const &)*arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 Py_INCREF(Py_None
); resultobj
= Py_None
;
8370 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8373 wxString
*arg2
= 0 ;
8374 bool temp2
= False
;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "self",(char *) "text", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 arg2
= wxString_in_helper(obj1
);
8386 if (arg2
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 (arg1
)->AppendText((wxString
const &)*arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8414 wxKeyEvent
*arg2
= 0 ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8419 (char *) "self",(char *) "event", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8429 PyErr_SetString(PyExc_TypeError
,"null reference");
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8448 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8453 wxTextAttr
*arg4
= 0 ;
8455 PyObject
* obj0
= 0 ;
8456 PyObject
* obj1
= 0 ;
8457 PyObject
* obj2
= 0 ;
8458 PyObject
* obj3
= 0 ;
8460 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8466 arg2
= (long) SWIG_AsLong(obj1
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8468 arg3
= (long) SWIG_AsLong(obj2
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8470 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8474 PyErr_SetString(PyExc_TypeError
,"null reference");
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8493 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8497 wxTextAttr
*arg3
= 0 ;
8499 PyObject
* obj0
= 0 ;
8500 PyObject
* obj1
= 0 ;
8501 PyObject
* obj2
= 0 ;
8503 (char *) "self",(char *) "position",(char *) "style", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 arg2
= (long) SWIG_AsLong(obj1
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8511 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8515 PyErr_SetString(PyExc_TypeError
,"null reference");
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8534 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8537 wxTextAttr
*arg2
= 0 ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8542 (char *) "self",(char *) "style", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8552 PyErr_SetString(PyExc_TypeError
,"null reference");
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8587 result
= (wxTextAttr
*) &_result_ref
;
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8600 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8610 (char *) "self",(char *) "x",(char *) "y", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8616 arg2
= (long) SWIG_AsLong(obj1
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8618 arg3
= (long) SWIG_AsLong(obj2
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= SWIG_FromLong((long)result
);
8634 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8638 long *arg3
= (long *) 0 ;
8639 long *arg4
= (long *) 0 ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8645 (char *) "self",(char *) "pos", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 arg2
= (long) SWIG_AsLong(obj1
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8664 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8665 resultobj
= t_output_helper(resultobj
,o
);
8668 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8669 resultobj
= t_output_helper(resultobj
,o
);
8677 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8681 PyObject
* obj0
= 0 ;
8682 PyObject
* obj1
= 0 ;
8684 (char *) "self",(char *) "pos", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8690 arg2
= (long) SWIG_AsLong(obj1
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 (arg1
)->ShowPosition(arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 Py_INCREF(Py_None
); resultobj
= Py_None
;
8706 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8710 long *arg3
= (long *) 0 ;
8711 long *arg4
= (long *) 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8719 (char *) "self",(char *) "pt", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_FromInt((int)result
);
8740 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8741 resultobj
= t_output_helper(resultobj
,o
);
8744 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8745 resultobj
= t_output_helper(resultobj
,o
);
8753 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8756 PyObject
* obj0
= 0 ;
8758 (char *) "self", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8806 PyObject
* obj0
= 0 ;
8808 (char *) "self", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8856 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8860 PyObject
* obj0
= 0 ;
8862 (char *) "self", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8884 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8890 (char *) "self", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8912 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8915 PyObject
* obj0
= 0 ;
8917 (char *) "self", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8940 PyObject
* obj0
= 0 ;
8942 (char *) "self", NULL
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 Py_INCREF(Py_None
); resultobj
= Py_None
;
8962 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8966 PyObject
* obj0
= 0 ;
8968 (char *) "self", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8990 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "self", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9018 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9022 PyObject
* obj0
= 0 ;
9023 PyObject
* obj1
= 0 ;
9025 (char *) "self",(char *) "pos", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9031 arg2
= (long) SWIG_AsLong(obj1
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 (arg1
)->SetInsertionPoint(arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "self", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 (arg1
)->SetInsertionPointEnd();
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 Py_INCREF(Py_None
); resultobj
= Py_None
;
9072 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9076 PyObject
* obj0
= 0 ;
9078 (char *) "self", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= SWIG_FromLong((long)result
);
9098 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_FromLong((long)result
);
9124 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 PyObject
* obj2
= 0 ;
9133 (char *) "self",(char *) "from",(char *) "to", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 arg2
= (long) SWIG_AsLong(obj1
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9141 arg3
= (long) SWIG_AsLong(obj2
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->SetSelection(arg2
,arg3
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "self", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->SelectAll();
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9189 (char *) "self",(char *) "editable", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 arg2
= (bool) SWIG_AsBool(obj1
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->SetEditable(arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9214 wxString
*arg2
= 0 ;
9215 bool temp2
= False
;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9219 (char *) "self",(char *) "text", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9226 arg2
= wxString_in_helper(obj1
);
9227 if (arg2
== NULL
) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 Py_INCREF(Py_None
); resultobj
= Py_None
;
9252 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 PyObject
* obj2
= 0 ;
9262 (char *) "self",(char *) "from",(char *) "to", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 arg2
= (long) SWIG_AsLong(obj1
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9270 arg3
= (long) SWIG_AsLong(obj2
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9292 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9295 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9297 return Py_BuildValue((char *)"");
9299 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9302 wxMouseEvent
*arg2
= 0 ;
9305 wxTextUrlEvent
*result
;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9308 PyObject
* obj2
= 0 ;
9309 PyObject
* obj3
= 0 ;
9311 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9315 arg1
= (int) SWIG_AsInt(obj0
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9321 PyErr_SetString(PyExc_TypeError
,"null reference");
9324 arg3
= (long) SWIG_AsLong(obj2
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9326 arg4
= (long) SWIG_AsLong(obj3
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9342 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9345 wxMouseEvent
*result
;
9346 PyObject
* obj0
= 0 ;
9348 (char *) "self", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9358 result
= (wxMouseEvent
*) &_result_ref
;
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9371 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9377 (char *) "self", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_FromLong((long)result
);
9397 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9403 (char *) "self", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_FromLong((long)result
);
9423 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
9425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9426 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9428 return Py_BuildValue((char *)"");
9430 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9431 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9436 static PyObject
*_wrap_ScrollBarNameStr_get() {
9441 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9443 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9450 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxWindow
*arg1
= (wxWindow
*) 0 ;
9453 int arg2
= (int) -1 ;
9454 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9455 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9456 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9457 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9458 long arg5
= (long) wxSB_HORIZONTAL
;
9459 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9460 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9461 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9462 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9463 wxScrollBar
*result
;
9466 bool temp7
= False
;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 PyObject
* obj2
= 0 ;
9470 PyObject
* obj3
= 0 ;
9471 PyObject
* obj4
= 0 ;
9472 PyObject
* obj5
= 0 ;
9473 PyObject
* obj6
= 0 ;
9475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (int) SWIG_AsInt(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9494 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9498 arg5
= (long) SWIG_AsLong(obj4
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9502 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9506 PyErr_SetString(PyExc_TypeError
,"null reference");
9512 arg7
= wxString_in_helper(obj6
);
9513 if (arg7
== NULL
) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9539 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxScrollBar
*result
;
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (wxScrollBar
*)new wxScrollBar();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9561 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9564 wxWindow
*arg2
= (wxWindow
*) 0 ;
9565 int arg3
= (int) -1 ;
9566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9570 long arg6
= (long) wxSB_HORIZONTAL
;
9571 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9572 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9573 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9578 bool temp8
= False
;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9581 PyObject
* obj2
= 0 ;
9582 PyObject
* obj3
= 0 ;
9583 PyObject
* obj4
= 0 ;
9584 PyObject
* obj5
= 0 ;
9585 PyObject
* obj6
= 0 ;
9586 PyObject
* obj7
= 0 ;
9588 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9597 arg3
= (int) SWIG_AsInt(obj2
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9613 arg6
= (long) SWIG_AsLong(obj5
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9621 PyErr_SetString(PyExc_TypeError
,"null reference");
9627 arg8
= wxString_in_helper(obj7
);
9628 if (arg8
== NULL
) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9656 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9662 (char *) "self", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_FromInt((int)result
);
9682 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_FromInt((int)result
);
9708 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_FromInt((int)result
);
9734 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_FromInt((int)result
);
9760 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9788 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9795 (char *) "self",(char *) "viewStart", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 arg2
= (int) SWIG_AsInt(obj1
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 (arg1
)->SetThumbPosition(arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 Py_INCREF(Py_None
); resultobj
= Py_None
;
9817 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9824 bool arg6
= (bool) True
;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 PyObject
* obj3
= 0 ;
9829 PyObject
* obj4
= 0 ;
9830 PyObject
* obj5
= 0 ;
9832 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9838 arg2
= (int) SWIG_AsInt(obj1
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9840 arg3
= (int) SWIG_AsInt(obj2
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9842 arg4
= (int) SWIG_AsInt(obj3
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9844 arg5
= (int) SWIG_AsInt(obj4
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 arg6
= (bool) SWIG_AsBool(obj5
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
9866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9867 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9869 return Py_BuildValue((char *)"");
9871 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9872 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9877 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9882 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9884 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9891 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9892 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9897 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9902 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9904 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9911 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9913 wxWindow
*arg1
= (wxWindow
*) 0 ;
9914 int arg2
= (int) -1 ;
9915 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9916 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9917 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9918 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9919 long arg5
= (long) wxSP_HORIZONTAL
;
9920 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9921 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9922 wxSpinButton
*result
;
9925 bool temp6
= False
;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9928 PyObject
* obj2
= 0 ;
9929 PyObject
* obj3
= 0 ;
9930 PyObject
* obj4
= 0 ;
9931 PyObject
* obj5
= 0 ;
9933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 arg2
= (int) SWIG_AsInt(obj1
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9952 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9956 arg5
= (long) SWIG_AsLong(obj4
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9961 arg6
= wxString_in_helper(obj5
);
9962 if (arg6
== NULL
) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9988 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxSpinButton
*result
;
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (wxSpinButton
*)new wxSpinButton();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10010 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10013 wxWindow
*arg2
= (wxWindow
*) 0 ;
10014 int arg3
= (int) -1 ;
10015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10019 long arg6
= (long) wxSP_HORIZONTAL
;
10020 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10025 bool temp7
= False
;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 PyObject
* obj2
= 0 ;
10029 PyObject
* obj3
= 0 ;
10030 PyObject
* obj4
= 0 ;
10031 PyObject
* obj5
= 0 ;
10032 PyObject
* obj6
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 arg3
= (int) SWIG_AsInt(obj2
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10059 arg6
= (long) SWIG_AsLong(obj5
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10064 arg7
= wxString_in_helper(obj6
);
10065 if (arg7
== NULL
) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10093 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_FromInt((int)result
);
10119 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_FromInt((int)result
);
10145 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_FromInt((int)result
);
10171 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self",(char *) "val", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10184 arg2
= (int) SWIG_AsInt(obj1
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 (arg1
)->SetValue(arg2
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 Py_INCREF(Py_None
); resultobj
= Py_None
;
10200 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "minVal", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 arg2
= (int) SWIG_AsInt(obj1
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->SetMin(arg2
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "maxVal", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 arg2
= (int) SWIG_AsInt(obj1
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetMax(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 PyObject
* obj2
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 arg2
= (int) SWIG_AsInt(obj1
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10275 arg3
= (int) SWIG_AsInt(obj2
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 (arg1
)->SetRange(arg2
,arg3
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 Py_INCREF(Py_None
); resultobj
= Py_None
;
10291 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10319 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
10321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10322 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10324 return Py_BuildValue((char *)"");
10326 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxWindow
*arg1
= (wxWindow
*) 0 ;
10329 int arg2
= (int) -1 ;
10330 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10331 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10336 long arg6
= (long) wxSP_ARROW_KEYS
;
10337 int arg7
= (int) 0 ;
10338 int arg8
= (int) 100 ;
10339 int arg9
= (int) 0 ;
10340 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10341 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10342 wxSpinCtrl
*result
;
10343 bool temp3
= False
;
10346 bool temp10
= False
;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 PyObject
* obj2
= 0 ;
10350 PyObject
* obj3
= 0 ;
10351 PyObject
* obj4
= 0 ;
10352 PyObject
* obj5
= 0 ;
10353 PyObject
* obj6
= 0 ;
10354 PyObject
* obj7
= 0 ;
10355 PyObject
* obj8
= 0 ;
10356 PyObject
* obj9
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10365 arg2
= (int) SWIG_AsInt(obj1
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10370 arg3
= wxString_in_helper(obj2
);
10371 if (arg3
== NULL
) SWIG_fail
;
10378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10388 arg6
= (long) SWIG_AsLong(obj5
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10392 arg7
= (int) SWIG_AsInt(obj6
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10396 arg8
= (int) SWIG_AsInt(obj7
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 arg9
= (int) SWIG_AsInt(obj8
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10405 arg10
= wxString_in_helper(obj9
);
10406 if (arg10
== NULL
) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10440 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxSpinCtrl
*result
;
10443 char *kwnames
[] = {
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10462 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10465 wxWindow
*arg2
= (wxWindow
*) 0 ;
10466 int arg3
= (int) -1 ;
10467 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10468 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10469 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10470 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10471 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10472 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10473 long arg7
= (long) wxSP_ARROW_KEYS
;
10474 int arg8
= (int) 0 ;
10475 int arg9
= (int) 100 ;
10476 int arg10
= (int) 0 ;
10477 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10478 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10480 bool temp4
= False
;
10483 bool temp11
= False
;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 PyObject
* obj2
= 0 ;
10487 PyObject
* obj3
= 0 ;
10488 PyObject
* obj4
= 0 ;
10489 PyObject
* obj5
= 0 ;
10490 PyObject
* obj6
= 0 ;
10491 PyObject
* obj7
= 0 ;
10492 PyObject
* obj8
= 0 ;
10493 PyObject
* obj9
= 0 ;
10494 PyObject
* obj10
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 arg3
= (int) SWIG_AsInt(obj2
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10510 arg4
= wxString_in_helper(obj3
);
10511 if (arg4
== NULL
) SWIG_fail
;
10518 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10524 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10528 arg7
= (long) SWIG_AsLong(obj6
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10532 arg8
= (int) SWIG_AsInt(obj7
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 arg9
= (int) SWIG_AsInt(obj8
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 arg10
= (int) SWIG_AsInt(obj9
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10545 arg11
= wxString_in_helper(obj10
);
10546 if (arg11
== NULL
) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10582 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= SWIG_FromInt((int)result
);
10608 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self",(char *) "value", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 arg2
= (int) SWIG_AsInt(obj1
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->SetValue(arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10640 wxString
*arg2
= 0 ;
10641 bool temp2
= False
;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "text", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 arg2
= wxString_in_helper(obj1
);
10653 if (arg2
== NULL
) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 (arg1
)->SetValue((wxString
const &)*arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10693 arg2
= (int) SWIG_AsInt(obj1
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10695 arg3
= (int) SWIG_AsInt(obj2
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->SetRange(arg2
,arg3
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10715 PyObject
* obj0
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_FromInt((int)result
);
10737 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_FromInt((int)result
);
10763 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 PyObject
* obj2
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "from",(char *) "to", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 arg2
= (long) SWIG_AsLong(obj1
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 arg3
= (long) SWIG_AsLong(obj2
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->SetSelection(arg2
,arg3
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
10798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10799 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10801 return Py_BuildValue((char *)"");
10803 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10806 int arg2
= (int) 0 ;
10807 wxSpinEvent
*result
;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "commandType",(char *) "winid", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10816 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 arg2
= (int) SWIG_AsInt(obj1
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10837 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= SWIG_FromInt((int)result
);
10863 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "pos", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 arg2
= (int) SWIG_AsInt(obj1
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 (arg1
)->SetPosition(arg2
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
10894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10895 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10897 return Py_BuildValue((char *)"");
10899 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10900 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10905 static PyObject
*_wrap_RadioBoxNameStr_get() {
10910 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10912 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10919 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10920 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10925 static PyObject
*_wrap_RadioButtonNameStr_get() {
10930 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10932 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10939 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxWindow
*arg1
= (wxWindow
*) 0 ;
10943 wxString
*arg3
= 0 ;
10944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10948 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10949 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10950 int arg7
= (int) 0 ;
10951 long arg8
= (long) wxRA_HORIZONTAL
;
10952 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10953 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10954 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10955 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10956 wxRadioBox
*result
;
10957 bool temp3
= False
;
10960 bool temp6
= False
;
10961 bool temp10
= False
;
10962 PyObject
* obj0
= 0 ;
10963 PyObject
* obj1
= 0 ;
10964 PyObject
* obj2
= 0 ;
10965 PyObject
* obj3
= 0 ;
10966 PyObject
* obj4
= 0 ;
10967 PyObject
* obj5
= 0 ;
10968 PyObject
* obj6
= 0 ;
10969 PyObject
* obj7
= 0 ;
10970 PyObject
* obj8
= 0 ;
10971 PyObject
* obj9
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10979 arg2
= (int) SWIG_AsInt(obj1
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 arg3
= wxString_in_helper(obj2
);
10983 if (arg3
== NULL
) SWIG_fail
;
10989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11000 if (! PySequence_Check(obj5
)) {
11001 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11004 arg6
= new wxArrayString
;
11006 int i
, len
=PySequence_Length(obj5
);
11007 for (i
=0; i
<len
; i
++) {
11008 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11010 PyObject
* str
= PyObject_Unicode(item
);
11012 PyObject
* str
= PyObject_Str(item
);
11014 arg6
->Add(Py2wxString(str
));
11021 arg7
= (int) SWIG_AsInt(obj6
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 arg8
= (long) SWIG_AsLong(obj7
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11032 if (arg9
== NULL
) {
11033 PyErr_SetString(PyExc_TypeError
,"null reference");
11039 arg10
= wxString_in_helper(obj9
);
11040 if (arg10
== NULL
) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 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
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11057 if (temp6
) delete arg6
;
11070 if (temp6
) delete arg6
;
11080 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxRadioBox
*result
;
11083 char *kwnames
[] = {
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (wxRadioBox
*)new wxRadioBox();
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11102 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11105 wxWindow
*arg2
= (wxWindow
*) 0 ;
11107 wxString
*arg4
= 0 ;
11108 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11109 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11110 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11111 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11112 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11113 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11114 int arg8
= (int) 0 ;
11115 long arg9
= (long) wxRA_HORIZONTAL
;
11116 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11117 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11118 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11119 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11121 bool temp4
= False
;
11124 bool temp7
= False
;
11125 bool temp11
= False
;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 PyObject
* obj2
= 0 ;
11129 PyObject
* obj3
= 0 ;
11130 PyObject
* obj4
= 0 ;
11131 PyObject
* obj5
= 0 ;
11132 PyObject
* obj6
= 0 ;
11133 PyObject
* obj7
= 0 ;
11134 PyObject
* obj8
= 0 ;
11135 PyObject
* obj9
= 0 ;
11136 PyObject
* obj10
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11146 arg3
= (int) SWIG_AsInt(obj2
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 arg4
= wxString_in_helper(obj3
);
11150 if (arg4
== NULL
) SWIG_fail
;
11156 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11162 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11167 if (! PySequence_Check(obj6
)) {
11168 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11171 arg7
= new wxArrayString
;
11173 int i
, len
=PySequence_Length(obj6
);
11174 for (i
=0; i
<len
; i
++) {
11175 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11177 PyObject
* str
= PyObject_Unicode(item
);
11179 PyObject
* str
= PyObject_Str(item
);
11181 arg7
->Add(Py2wxString(str
));
11188 arg8
= (int) SWIG_AsInt(obj7
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 arg9
= (long) SWIG_AsLong(obj8
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11199 if (arg10
== NULL
) {
11200 PyErr_SetString(PyExc_TypeError
,"null reference");
11206 arg11
= wxString_in_helper(obj10
);
11207 if (arg11
== NULL
) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 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
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11226 if (temp7
) delete arg7
;
11239 if (temp7
) delete arg7
;
11249 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "self",(char *) "n", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11262 arg2
= (int) SWIG_AsInt(obj1
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 (arg1
)->SetSelection(arg2
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 Py_INCREF(Py_None
); resultobj
= Py_None
;
11278 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= SWIG_FromInt((int)result
);
11304 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11336 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11339 wxString
*arg2
= 0 ;
11341 bool temp2
= False
;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "s", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 arg2
= wxString_in_helper(obj1
);
11353 if (arg2
== NULL
) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11384 PyObject
* obj0
= 0 ;
11385 char *kwnames
[] = {
11386 (char *) "self", NULL
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_FromInt((int)result
);
11406 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11409 wxString
*arg2
= 0 ;
11411 bool temp2
= False
;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "s", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11422 arg2
= wxString_in_helper(obj1
);
11423 if (arg2
== NULL
) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= SWIG_FromInt((int)result
);
11448 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "n", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11462 arg2
= (int) SWIG_AsInt(obj1
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11484 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11488 wxString
*arg3
= 0 ;
11489 bool temp3
= False
;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11492 PyObject
* obj2
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "n",(char *) "label", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11500 arg2
= (int) SWIG_AsInt(obj1
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 arg3
= wxString_in_helper(obj2
);
11504 if (arg3
== NULL
) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 Py_INCREF(Py_None
); resultobj
= Py_None
;
11529 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11533 bool arg3
= (bool) True
;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 PyObject
* obj2
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "n",(char *) "enable", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11544 arg2
= (int) SWIG_AsInt(obj1
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 arg3
= (bool) SWIG_AsBool(obj2
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->Enable(arg2
,arg3
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 Py_INCREF(Py_None
); resultobj
= Py_None
;
11564 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11568 bool arg3
= (bool) True
;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 PyObject
* obj2
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self",(char *) "n",(char *) "show", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11579 arg2
= (int) SWIG_AsInt(obj1
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 arg3
= (bool) SWIG_AsBool(obj2
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 (arg1
)->Show(arg2
,arg3
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 Py_INCREF(Py_None
); resultobj
= Py_None
;
11599 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_FromInt((int)result
);
11625 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= SWIG_FromInt((int)result
);
11651 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 PyObject
* obj1
= 0 ;
11660 PyObject
* obj2
= 0 ;
11661 PyObject
* obj3
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11669 arg2
= (int) SWIG_AsInt(obj1
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11671 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11673 arg4
= (long) SWIG_AsLong(obj3
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_FromInt((int)result
);
11689 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
11691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11692 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11694 return Py_BuildValue((char *)"");
11696 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxWindow
*arg1
= (wxWindow
*) 0 ;
11700 wxString
*arg3
= 0 ;
11701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11705 long arg6
= (long) 0 ;
11706 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11707 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11708 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11709 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11710 wxRadioButton
*result
;
11711 bool temp3
= False
;
11714 bool temp8
= False
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 PyObject
* obj3
= 0 ;
11719 PyObject
* obj4
= 0 ;
11720 PyObject
* obj5
= 0 ;
11721 PyObject
* obj6
= 0 ;
11722 PyObject
* obj7
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 arg2
= (int) SWIG_AsInt(obj1
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 arg3
= wxString_in_helper(obj2
);
11734 if (arg3
== NULL
) SWIG_fail
;
11740 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11746 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11750 arg6
= (long) SWIG_AsLong(obj5
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11754 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11757 if (arg7
== NULL
) {
11758 PyErr_SetString(PyExc_TypeError
,"null reference");
11764 arg8
= wxString_in_helper(obj7
);
11765 if (arg8
== NULL
) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11799 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxRadioButton
*result
;
11802 char *kwnames
[] = {
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxRadioButton
*)new wxRadioButton();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11821 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11824 wxWindow
*arg2
= (wxWindow
*) 0 ;
11826 wxString
*arg4
= 0 ;
11827 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11828 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11829 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11830 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11831 long arg7
= (long) 0 ;
11832 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11833 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11834 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11835 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11837 bool temp4
= False
;
11840 bool temp9
= False
;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 PyObject
* obj2
= 0 ;
11844 PyObject
* obj3
= 0 ;
11845 PyObject
* obj4
= 0 ;
11846 PyObject
* obj5
= 0 ;
11847 PyObject
* obj6
= 0 ;
11848 PyObject
* obj7
= 0 ;
11849 PyObject
* obj8
= 0 ;
11850 char *kwnames
[] = {
11851 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11859 arg3
= (int) SWIG_AsInt(obj2
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 arg4
= wxString_in_helper(obj3
);
11863 if (arg4
== NULL
) SWIG_fail
;
11869 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11875 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11879 arg7
= (long) SWIG_AsLong(obj6
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11886 if (arg8
== NULL
) {
11887 PyErr_SetString(PyExc_TypeError
,"null reference");
11893 arg9
= wxString_in_helper(obj8
);
11894 if (arg9
== NULL
) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11930 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (bool)(arg1
)->GetValue();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11958 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "self",(char *) "value", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11971 arg2
= (bool) SWIG_AsBool(obj1
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 (arg1
)->SetValue(arg2
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 Py_INCREF(Py_None
); resultobj
= Py_None
;
11987 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
11989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11990 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11992 return Py_BuildValue((char *)"");
11994 static int _wrap_SliderNameStr_set(PyObject
*) {
11995 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12000 static PyObject
*_wrap_SliderNameStr_get() {
12005 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12007 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12014 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxWindow
*arg1
= (wxWindow
*) 0 ;
12021 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12022 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12023 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12024 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12025 long arg8
= (long) wxSL_HORIZONTAL
;
12026 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12027 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12028 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12029 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12033 bool temp10
= False
;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 PyObject
* obj2
= 0 ;
12037 PyObject
* obj3
= 0 ;
12038 PyObject
* obj4
= 0 ;
12039 PyObject
* obj5
= 0 ;
12040 PyObject
* obj6
= 0 ;
12041 PyObject
* obj7
= 0 ;
12042 PyObject
* obj8
= 0 ;
12043 PyObject
* obj9
= 0 ;
12044 char *kwnames
[] = {
12045 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12051 arg2
= (int) SWIG_AsInt(obj1
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12053 arg3
= (int) SWIG_AsInt(obj2
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12055 arg4
= (int) SWIG_AsInt(obj3
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12057 arg5
= (int) SWIG_AsInt(obj4
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12062 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12068 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12072 arg8
= (long) SWIG_AsLong(obj7
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12079 if (arg9
== NULL
) {
12080 PyErr_SetString(PyExc_TypeError
,"null reference");
12086 arg10
= wxString_in_helper(obj9
);
12087 if (arg10
== NULL
) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12113 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12116 char *kwnames
[] = {
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (wxSlider
*)new wxSlider();
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12135 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxSlider
*arg1
= (wxSlider
*) 0 ;
12138 wxWindow
*arg2
= (wxWindow
*) 0 ;
12143 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12144 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12145 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12146 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12147 long arg9
= (long) wxSL_HORIZONTAL
;
12148 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12149 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12150 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12151 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12155 bool temp11
= False
;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 PyObject
* obj2
= 0 ;
12159 PyObject
* obj3
= 0 ;
12160 PyObject
* obj4
= 0 ;
12161 PyObject
* obj5
= 0 ;
12162 PyObject
* obj6
= 0 ;
12163 PyObject
* obj7
= 0 ;
12164 PyObject
* obj8
= 0 ;
12165 PyObject
* obj9
= 0 ;
12166 PyObject
* obj10
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 arg3
= (int) SWIG_AsInt(obj2
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12178 arg4
= (int) SWIG_AsInt(obj3
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12180 arg5
= (int) SWIG_AsInt(obj4
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12182 arg6
= (int) SWIG_AsInt(obj5
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12187 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12193 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12197 arg9
= (long) SWIG_AsLong(obj8
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12204 if (arg10
== NULL
) {
12205 PyErr_SetString(PyExc_TypeError
,"null reference");
12211 arg11
= wxString_in_helper(obj10
);
12212 if (arg11
== NULL
) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12240 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxSlider
*arg1
= (wxSlider
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_FromInt((int)result
);
12266 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxSlider
*arg1
= (wxSlider
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self",(char *) "value", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 arg2
= (int) SWIG_AsInt(obj1
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 (arg1
)->SetValue(arg2
);
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 Py_INCREF(Py_None
); resultobj
= Py_None
;
12295 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxSlider
*arg1
= (wxSlider
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 PyObject
* obj2
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 arg2
= (int) SWIG_AsInt(obj1
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12312 arg3
= (int) SWIG_AsInt(obj2
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->SetRange(arg2
,arg3
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 Py_INCREF(Py_None
); resultobj
= Py_None
;
12328 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxSlider
*arg1
= (wxSlider
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_FromInt((int)result
);
12354 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxSlider
*arg1
= (wxSlider
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_FromInt((int)result
);
12380 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxSlider
*arg1
= (wxSlider
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "minValue", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12393 arg2
= (int) SWIG_AsInt(obj1
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetMin(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxSlider
*arg1
= (wxSlider
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self",(char *) "maxValue", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 arg2
= (int) SWIG_AsInt(obj1
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetMax(arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxSlider
*arg1
= (wxSlider
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self",(char *) "lineSize", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12451 arg2
= (int) SWIG_AsInt(obj1
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 (arg1
)->SetLineSize(arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 Py_INCREF(Py_None
); resultobj
= Py_None
;
12467 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxSlider
*arg1
= (wxSlider
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "pageSize", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12480 arg2
= (int) SWIG_AsInt(obj1
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->SetPageSize(arg2
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 Py_INCREF(Py_None
); resultobj
= Py_None
;
12496 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxSlider
*arg1
= (wxSlider
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_FromInt((int)result
);
12522 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxSlider
*arg1
= (wxSlider
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_FromInt((int)result
);
12548 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxSlider
*arg1
= (wxSlider
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self",(char *) "lenPixels", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12561 arg2
= (int) SWIG_AsInt(obj1
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetThumbLength(arg2
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12577 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxSlider
*arg1
= (wxSlider
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= SWIG_FromInt((int)result
);
12603 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxSlider
*arg1
= (wxSlider
*) 0 ;
12607 int arg3
= (int) 1 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self",(char *) "n",(char *) "pos", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12618 arg2
= (int) SWIG_AsInt(obj1
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 arg3
= (int) SWIG_AsInt(obj2
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->SetTickFreq(arg2
,arg3
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxSlider
*arg1
= (wxSlider
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_FromInt((int)result
);
12664 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxSlider
*arg1
= (wxSlider
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 (arg1
)->ClearTicks();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 Py_INCREF(Py_None
); resultobj
= Py_None
;
12689 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxSlider
*arg1
= (wxSlider
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self",(char *) "tickPos", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 arg2
= (int) SWIG_AsInt(obj1
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetTick(arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxSlider
*arg1
= (wxSlider
*) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 (arg1
)->ClearSel();
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 Py_INCREF(Py_None
); resultobj
= Py_None
;
12743 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxSlider
*arg1
= (wxSlider
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_FromInt((int)result
);
12769 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxSlider
*arg1
= (wxSlider
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_FromInt((int)result
);
12795 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxSlider
*arg1
= (wxSlider
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 PyObject
* obj2
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self",(char *) "min",(char *) "max", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12810 arg2
= (int) SWIG_AsInt(obj1
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12812 arg3
= (int) SWIG_AsInt(obj2
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->SetSelection(arg2
,arg3
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
12830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12831 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12833 return Py_BuildValue((char *)"");
12835 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12836 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12841 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12846 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12848 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12855 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxWindow
*arg1
= (wxWindow
*) 0 ;
12859 wxString
*arg3
= 0 ;
12860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12864 long arg6
= (long) 0 ;
12865 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12866 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12867 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12868 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12869 wxToggleButton
*result
;
12870 bool temp3
= False
;
12873 bool temp8
= False
;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 PyObject
* obj2
= 0 ;
12877 PyObject
* obj3
= 0 ;
12878 PyObject
* obj4
= 0 ;
12879 PyObject
* obj5
= 0 ;
12880 PyObject
* obj6
= 0 ;
12881 PyObject
* obj7
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12889 arg2
= (int) SWIG_AsInt(obj1
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 arg3
= wxString_in_helper(obj2
);
12893 if (arg3
== NULL
) SWIG_fail
;
12899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12909 arg6
= (long) SWIG_AsLong(obj5
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12913 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12916 if (arg7
== NULL
) {
12917 PyErr_SetString(PyExc_TypeError
,"null reference");
12923 arg8
= wxString_in_helper(obj7
);
12924 if (arg8
== NULL
) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12958 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxToggleButton
*result
;
12961 char *kwnames
[] = {
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (wxToggleButton
*)new wxToggleButton();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12980 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
12982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12983 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12985 return Py_BuildValue((char *)"");
12987 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12988 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12993 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12998 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13000 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13007 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13011 PyObject
* obj0
= 0 ;
13012 char *kwnames
[] = {
13013 (char *) "self", NULL
13016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13033 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "n", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= wxPyMake_wxObject(result
);
13065 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13069 PyObject
* obj0
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_FromInt((int)result
);
13091 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13095 wxString
*arg3
= 0 ;
13097 bool temp3
= False
;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 PyObject
* obj2
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self",(char *) "n",(char *) "strText", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 arg3
= wxString_in_helper(obj2
);
13112 if (arg3
== NULL
) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13139 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "n", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13153 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13175 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13178 wxImageList
*arg2
= (wxImageList
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self",(char *) "imageList", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->SetImageList(arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13207 wxImageList
*arg2
= (wxImageList
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 PyObject
* obj1
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self",(char *) "imageList", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13218 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 (arg1
)->AssignImageList(arg2
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13236 wxImageList
*result
;
13237 PyObject
* obj0
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= wxPyMake_wxObject(result
);
13261 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "n", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13275 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_FromInt((int)result
);
13291 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 PyObject
* obj2
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "n",(char *) "imageId", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13309 arg3
= (int) SWIG_AsInt(obj2
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13327 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "size", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 Py_INCREF(Py_None
); resultobj
= Py_None
;
13359 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "sizePage", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13386 wxSize
* resultptr
;
13387 resultptr
= new wxSize((wxSize
&) result
);
13388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13396 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self",(char *) "n", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13410 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (bool)(arg1
)->DeletePage(arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13428 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 PyObject
* obj1
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self",(char *) "n", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13442 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (bool)(arg1
)->RemovePage(arg2
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13460 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)(arg1
)->DeleteAllPages();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13491 wxWindow
*arg2
= (wxWindow
*) 0 ;
13492 wxString
*arg3
= 0 ;
13493 bool arg4
= (bool) False
;
13494 int arg5
= (int) -1 ;
13496 bool temp3
= False
;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 PyObject
* obj2
= 0 ;
13500 PyObject
* obj3
= 0 ;
13501 PyObject
* obj4
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13512 arg3
= wxString_in_helper(obj2
);
13513 if (arg3
== NULL
) SWIG_fail
;
13517 arg4
= (bool) SWIG_AsBool(obj3
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 arg5
= (int) SWIG_AsInt(obj4
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13548 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13552 wxWindow
*arg3
= (wxWindow
*) 0 ;
13553 wxString
*arg4
= 0 ;
13554 bool arg5
= (bool) False
;
13555 int arg6
= (int) -1 ;
13557 bool temp4
= False
;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 PyObject
* obj2
= 0 ;
13561 PyObject
* obj3
= 0 ;
13562 PyObject
* obj4
= 0 ;
13563 PyObject
* obj5
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 arg4
= wxString_in_helper(obj3
);
13577 if (arg4
== NULL
) SWIG_fail
;
13581 arg5
= (bool) SWIG_AsBool(obj4
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 arg6
= (int) SWIG_AsInt(obj5
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13612 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self",(char *) "n", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13626 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (int)(arg1
)->SetSelection(arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_FromInt((int)result
);
13642 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13645 bool arg2
= (bool) True
;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "forward", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (bool) SWIG_AsBool(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->AdvanceSelection(arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
13675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13676 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13678 return Py_BuildValue((char *)"");
13680 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13683 int arg2
= (int) 0 ;
13684 int arg3
= (int) -1 ;
13685 int arg4
= (int) -1 ;
13686 wxBookCtrlEvent
*result
;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 PyObject
* obj2
= 0 ;
13690 PyObject
* obj3
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13697 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 arg2
= (int) SWIG_AsInt(obj1
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 arg3
= (int) SWIG_AsInt(obj2
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 arg4
= (int) SWIG_AsInt(obj3
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13726 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_FromInt((int)result
);
13752 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "nSel", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 arg2
= (int) SWIG_AsInt(obj1
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->SetSelection(arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= SWIG_FromInt((int)result
);
13807 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13811 PyObject
* obj0
= 0 ;
13812 PyObject
* obj1
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self",(char *) "nOldSel", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13820 arg2
= (int) SWIG_AsInt(obj1
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 (arg1
)->SetOldSelection(arg2
);
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 Py_INCREF(Py_None
); resultobj
= Py_None
;
13836 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
13838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13839 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13841 return Py_BuildValue((char *)"");
13843 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxWindow
*arg1
= (wxWindow
*) 0 ;
13846 int arg2
= (int) -1 ;
13847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13851 long arg5
= (long) 0 ;
13852 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13853 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13854 wxNotebook
*result
;
13857 bool temp6
= False
;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 PyObject
* obj2
= 0 ;
13861 PyObject
* obj3
= 0 ;
13862 PyObject
* obj4
= 0 ;
13863 PyObject
* obj5
= 0 ;
13864 char *kwnames
[] = {
13865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13872 arg2
= (int) SWIG_AsInt(obj1
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13884 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13888 arg5
= (long) SWIG_AsLong(obj4
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13893 arg6
= wxString_in_helper(obj5
);
13894 if (arg6
== NULL
) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= wxPyMake_wxObject(result
);
13922 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxNotebook
*result
;
13925 char *kwnames
[] = {
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (wxNotebook
*)new wxNotebook();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= wxPyMake_wxObject(result
);
13946 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13949 wxWindow
*arg2
= (wxWindow
*) 0 ;
13951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13955 long arg6
= (long) 0 ;
13956 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13961 bool temp7
= False
;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 PyObject
* obj2
= 0 ;
13965 PyObject
* obj3
= 0 ;
13966 PyObject
* obj4
= 0 ;
13967 PyObject
* obj5
= 0 ;
13968 PyObject
* obj6
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13978 arg3
= (int) SWIG_AsInt(obj2
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13983 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13989 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13993 arg6
= (long) SWIG_AsLong(obj5
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13998 arg7
= wxString_in_helper(obj6
);
13999 if (arg7
== NULL
) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14027 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_FromInt((int)result
);
14053 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "padding", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 Py_INCREF(Py_None
); resultobj
= Py_None
;
14085 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 char *kwnames
[] = {
14093 (char *) "self",(char *) "sz", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 Py_INCREF(Py_None
); resultobj
= Py_None
;
14117 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14120 wxPoint
*arg2
= 0 ;
14121 long *arg3
= (long *) 0 ;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self",(char *) "pt", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_FromInt((int)result
);
14148 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14149 resultobj
= t_output_helper(resultobj
,o
);
14157 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self",(char *) "sizePage", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 wxSize
* resultptr
;
14185 resultptr
= new wxSize((wxSize
&) result
);
14186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14194 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
14196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14197 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14199 return Py_BuildValue((char *)"");
14201 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14204 int arg2
= (int) 0 ;
14205 int arg3
= (int) -1 ;
14206 int arg4
= (int) -1 ;
14207 wxNotebookEvent
*result
;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 PyObject
* obj2
= 0 ;
14211 PyObject
* obj3
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14218 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 arg2
= (int) SWIG_AsInt(obj1
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 arg3
= (int) SWIG_AsInt(obj2
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14230 arg4
= (int) SWIG_AsInt(obj3
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14247 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
14249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14252 return Py_BuildValue((char *)"");
14254 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxWindow
*arg1
= (wxWindow
*) 0 ;
14257 int arg2
= (int) -1 ;
14258 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14259 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14260 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14261 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14262 long arg5
= (long) 0 ;
14263 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14264 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14265 wxListbook
*result
;
14268 bool temp6
= False
;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 PyObject
* obj2
= 0 ;
14272 PyObject
* obj3
= 0 ;
14273 PyObject
* obj4
= 0 ;
14274 PyObject
* obj5
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14283 arg2
= (int) SWIG_AsInt(obj1
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14295 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14299 arg5
= (long) SWIG_AsLong(obj4
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14304 arg6
= wxString_in_helper(obj5
);
14305 if (arg6
== NULL
) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14331 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxListbook
*result
;
14334 char *kwnames
[] = {
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (wxListbook
*)new wxListbook();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14353 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxListbook
*arg1
= (wxListbook
*) 0 ;
14356 wxWindow
*arg2
= (wxWindow
*) 0 ;
14358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14362 long arg6
= (long) 0 ;
14363 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14368 bool temp7
= False
;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 PyObject
* obj2
= 0 ;
14372 PyObject
* obj3
= 0 ;
14373 PyObject
* obj4
= 0 ;
14374 PyObject
* obj5
= 0 ;
14375 PyObject
* obj6
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14385 arg3
= (int) SWIG_AsInt(obj2
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14400 arg6
= (long) SWIG_AsLong(obj5
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14405 arg7
= wxString_in_helper(obj6
);
14406 if (arg7
== NULL
) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14434 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxListbook
*arg1
= (wxListbook
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14462 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
14464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14465 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14467 return Py_BuildValue((char *)"");
14469 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14472 int arg2
= (int) 0 ;
14473 int arg3
= (int) -1 ;
14474 int arg4
= (int) -1 ;
14475 wxListbookEvent
*result
;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 PyObject
* obj2
= 0 ;
14479 PyObject
* obj3
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14486 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 arg2
= (int) SWIG_AsInt(obj1
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14494 arg3
= (int) SWIG_AsInt(obj2
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 arg4
= (int) SWIG_AsInt(obj3
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14515 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
14517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14520 return Py_BuildValue((char *)"");
14522 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14525 wxBookCtrlSizer
*result
;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "nb", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14548 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 (arg1
)->RecalcSizes();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (arg1
)->CalcMin();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 wxSize
* resultptr
;
14594 resultptr
= new wxSize((wxSize
&) result
);
14595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14603 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14606 wxBookCtrl
*result
;
14607 PyObject
* obj0
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14629 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
14631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14632 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14634 return Py_BuildValue((char *)"");
14636 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14639 wxNotebookSizer
*result
;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "nb", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14662 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 (arg1
)->RecalcSizes();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 Py_INCREF(Py_None
); resultobj
= Py_None
;
14687 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (arg1
)->CalcMin();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 wxSize
* resultptr
;
14708 resultptr
= new wxSize((wxSize
&) result
);
14709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14717 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14720 wxNotebook
*result
;
14721 PyObject
* obj0
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= wxPyMake_wxObject(result
);
14745 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
14747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14748 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14750 return Py_BuildValue((char *)"");
14752 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (int)(arg1
)->GetId();
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= SWIG_FromInt((int)result
);
14778 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (wxControl
*)(arg1
)->GetControl();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= wxPyMake_wxObject(result
);
14806 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14809 wxToolBarBase
*result
;
14810 PyObject
* obj0
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= wxPyMake_wxObject(result
);
14834 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (int)(arg1
)->IsButton();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_FromInt((int)result
);
14860 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (int)(arg1
)->IsControl();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_FromInt((int)result
);
14886 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (int)(arg1
)->IsSeparator();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= SWIG_FromInt((int)result
);
14912 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "self", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (int)(arg1
)->GetStyle();
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_FromInt((int)result
);
14938 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (int)(arg1
)->GetKind();
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_FromInt((int)result
);
14964 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (bool)(arg1
)->IsEnabled();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14992 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (bool)(arg1
)->IsToggled();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15020 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (bool)(arg1
)->CanBeToggled();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15048 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15052 PyObject
* obj0
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "self", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15064 result
= (wxBitmap
*) &_result_ref
;
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 wxBitmap
* resultptr
= new wxBitmap(*result
);
15072 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15080 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15096 result
= (wxBitmap
*) &_result_ref
;
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 wxBitmap
* resultptr
= new wxBitmap(*result
);
15104 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15112 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (arg1
)->GetBitmap();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 wxBitmap
* resultptr
;
15133 resultptr
= new wxBitmap((wxBitmap
&) result
);
15134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15142 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (arg1
)->GetLabel();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15174 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (arg1
)->GetShortHelp();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15206 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (arg1
)->GetLongHelp();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15238 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "enable", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 arg2
= (bool) SWIG_AsBool(obj1
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (bool)(arg1
)->Enable(arg2
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15270 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 PyObject
* obj1
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self",(char *) "toggle", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 arg2
= (bool) SWIG_AsBool(obj1
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (bool)(arg1
)->SetToggle(arg2
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15327 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15330 wxString
*arg2
= 0 ;
15332 bool temp2
= False
;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "help", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 arg2
= wxString_in_helper(obj1
);
15344 if (arg2
== NULL
) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15371 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15374 wxString
*arg2
= 0 ;
15376 bool temp2
= False
;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self",(char *) "help", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 arg2
= wxString_in_helper(obj1
);
15388 if (arg2
== NULL
) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15415 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15418 wxBitmap
*arg2
= 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self",(char *) "bmp", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15431 if (arg2
== NULL
) {
15432 PyErr_SetString(PyExc_TypeError
,"null reference");
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 Py_INCREF(Py_None
); resultobj
= Py_None
;
15449 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15452 wxBitmap
*arg2
= 0 ;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self",(char *) "bmp", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15465 if (arg2
== NULL
) {
15466 PyErr_SetString(PyExc_TypeError
,"null reference");
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15486 wxString
*arg2
= 0 ;
15487 bool temp2
= False
;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self",(char *) "label", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15498 arg2
= wxString_in_helper(obj1
);
15499 if (arg2
== NULL
) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->SetLabel((wxString
const &)*arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15524 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 Py_INCREF(Py_None
); resultobj
= Py_None
;
15549 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15552 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self",(char *) "tbar", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->Attach(arg2
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 Py_INCREF(Py_None
); resultobj
= Py_None
;
15578 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= result
;
15604 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15607 PyObject
*arg2
= (PyObject
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self",(char *) "clientData", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 Py_INCREF(Py_None
); resultobj
= Py_None
;
15632 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
15634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15635 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15637 return Py_BuildValue((char *)"");
15639 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15643 wxString
*arg3
= 0 ;
15644 wxBitmap
*arg4
= 0 ;
15645 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15646 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15647 int arg6
= (int) wxITEM_NORMAL
;
15648 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15650 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15651 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15652 PyObject
*arg9
= (PyObject
*) NULL
;
15653 wxToolBarToolBase
*result
;
15654 bool temp3
= False
;
15655 bool temp7
= False
;
15656 bool temp8
= False
;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 PyObject
* obj2
= 0 ;
15660 PyObject
* obj3
= 0 ;
15661 PyObject
* obj4
= 0 ;
15662 PyObject
* obj5
= 0 ;
15663 PyObject
* obj6
= 0 ;
15664 PyObject
* obj7
= 0 ;
15665 PyObject
* obj8
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 arg2
= (int) SWIG_AsInt(obj1
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 arg3
= wxString_in_helper(obj2
);
15677 if (arg3
== NULL
) SWIG_fail
;
15680 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15683 if (arg4
== NULL
) {
15684 PyErr_SetString(PyExc_TypeError
,"null reference");
15688 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15691 if (arg5
== NULL
) {
15692 PyErr_SetString(PyExc_TypeError
,"null reference");
15697 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15702 arg7
= wxString_in_helper(obj6
);
15703 if (arg7
== NULL
) SWIG_fail
;
15709 arg8
= wxString_in_helper(obj7
);
15710 if (arg8
== NULL
) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= wxPyMake_wxObject(result
);
15757 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15762 wxString
*arg4
= 0 ;
15763 wxBitmap
*arg5
= 0 ;
15764 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15765 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15766 int arg7
= (int) wxITEM_NORMAL
;
15767 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15768 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15769 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15770 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15771 PyObject
*arg10
= (PyObject
*) NULL
;
15772 wxToolBarToolBase
*result
;
15773 bool temp4
= False
;
15774 bool temp8
= False
;
15775 bool temp9
= False
;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 PyObject
* obj2
= 0 ;
15779 PyObject
* obj3
= 0 ;
15780 PyObject
* obj4
= 0 ;
15781 PyObject
* obj5
= 0 ;
15782 PyObject
* obj6
= 0 ;
15783 PyObject
* obj7
= 0 ;
15784 PyObject
* obj8
= 0 ;
15785 PyObject
* obj9
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15795 arg3
= (int) SWIG_AsInt(obj2
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 arg4
= wxString_in_helper(obj3
);
15799 if (arg4
== NULL
) SWIG_fail
;
15802 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15805 if (arg5
== NULL
) {
15806 PyErr_SetString(PyExc_TypeError
,"null reference");
15810 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15813 if (arg6
== NULL
) {
15814 PyErr_SetString(PyExc_TypeError
,"null reference");
15819 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15824 arg8
= wxString_in_helper(obj7
);
15825 if (arg8
== NULL
) SWIG_fail
;
15831 arg9
= wxString_in_helper(obj8
);
15832 if (arg9
== NULL
) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 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
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= wxPyMake_wxObject(result
);
15879 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15882 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15883 wxToolBarToolBase
*result
;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self",(char *) "tool", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= wxPyMake_wxObject(result
);
15911 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15915 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15916 wxToolBarToolBase
*result
;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 PyObject
* obj2
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "pos",(char *) "tool", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= wxPyMake_wxObject(result
);
15947 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15950 wxControl
*arg2
= (wxControl
*) 0 ;
15951 wxToolBarToolBase
*result
;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self",(char *) "control", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= wxPyMake_wxObject(result
);
15979 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15983 wxControl
*arg3
= (wxControl
*) 0 ;
15984 wxToolBarToolBase
*result
;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 PyObject
* obj2
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self",(char *) "pos",(char *) "control", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15997 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= wxPyMake_wxObject(result
);
16015 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "id", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 arg2
= (int) SWIG_AsInt(obj1
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= wxPyMake_wxObject(result
);
16047 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16050 wxToolBarToolBase
*result
;
16051 PyObject
* obj0
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= wxPyMake_wxObject(result
);
16075 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16079 wxToolBarToolBase
*result
;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "pos", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= wxPyMake_wxObject(result
);
16107 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16111 wxToolBarToolBase
*result
;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "id", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 arg2
= (int) SWIG_AsInt(obj1
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= wxPyMake_wxObject(result
);
16139 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "pos", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16153 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "id", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 arg2
= (int) SWIG_AsInt(obj1
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (bool)(arg1
)->DeleteTool(arg2
);
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16203 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16206 PyObject
* obj0
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 (arg1
)->ClearTools();
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 Py_INCREF(Py_None
); resultobj
= Py_None
;
16228 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (bool)(arg1
)->Realize();
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16256 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 PyObject
* obj2
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "id",(char *) "enable", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 arg2
= (int) SWIG_AsInt(obj1
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16273 arg3
= (bool) SWIG_AsBool(obj2
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 (arg1
)->EnableTool(arg2
,arg3
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 Py_INCREF(Py_None
); resultobj
= Py_None
;
16289 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "self",(char *) "id",(char *) "toggle", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 arg2
= (int) SWIG_AsInt(obj1
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16306 arg3
= (bool) SWIG_AsBool(obj2
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 (arg1
)->ToggleTool(arg2
,arg3
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16315 Py_INCREF(Py_None
); resultobj
= Py_None
;
16322 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 PyObject
* obj2
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self",(char *) "id",(char *) "toggle", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 arg2
= (int) SWIG_AsInt(obj1
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16339 arg3
= (bool) SWIG_AsBool(obj2
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 (arg1
)->SetToggle(arg2
,arg3
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 Py_INCREF(Py_None
); resultobj
= Py_None
;
16355 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "id", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 arg2
= (int) SWIG_AsInt(obj1
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= result
;
16385 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16389 PyObject
*arg3
= (PyObject
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 PyObject
* obj2
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "id",(char *) "clientData", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 arg2
= (int) SWIG_AsInt(obj1
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self",(char *) "id", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16431 arg2
= (int) SWIG_AsInt(obj1
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= SWIG_FromInt((int)result
);
16447 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "id", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 arg2
= (int) SWIG_AsInt(obj1
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)(arg1
)->GetToolState(arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16479 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self",(char *) "id", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 arg2
= (int) SWIG_AsInt(obj1
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16511 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16515 wxString
*arg3
= 0 ;
16516 bool temp3
= False
;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 PyObject
* obj2
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self",(char *) "id",(char *) "helpString", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16527 arg2
= (int) SWIG_AsInt(obj1
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 arg3
= wxString_in_helper(obj2
);
16531 if (arg3
== NULL
) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 Py_INCREF(Py_None
); resultobj
= Py_None
;
16556 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self",(char *) "id", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16570 arg2
= (int) SWIG_AsInt(obj1
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (arg1
)->GetToolShortHelp(arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16592 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16596 wxString
*arg3
= 0 ;
16597 bool temp3
= False
;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 PyObject
* obj2
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self",(char *) "id",(char *) "helpString", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 arg2
= (int) SWIG_AsInt(obj1
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 arg3
= wxString_in_helper(obj2
);
16612 if (arg3
== NULL
) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self",(char *) "id", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16651 arg2
= (int) SWIG_AsInt(obj1
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (arg1
)->GetToolLongHelp(arg2
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16673 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 PyObject
* obj1
= 0 ;
16680 PyObject
* obj2
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self",(char *) "x",(char *) "y", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16688 arg2
= (int) SWIG_AsInt(obj1
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16690 arg3
= (int) SWIG_AsInt(obj2
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->SetMargins(arg2
,arg3
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self",(char *) "size", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 Py_INCREF(Py_None
); resultobj
= Py_None
;
16738 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self",(char *) "packing", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16751 arg2
= (int) SWIG_AsInt(obj1
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 (arg1
)->SetToolPacking(arg2
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "self",(char *) "separation", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16780 arg2
= (int) SWIG_AsInt(obj1
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 (arg1
)->SetToolSeparation(arg2
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 Py_INCREF(Py_None
); resultobj
= Py_None
;
16796 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (arg1
)->GetToolMargins();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16816 wxSize
* resultptr
;
16817 resultptr
= new wxSize((wxSize
&) result
);
16818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16826 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (arg1
)->GetMargins();
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 wxSize
* resultptr
;
16847 resultptr
= new wxSize((wxSize
&) result
);
16848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16856 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (int)(arg1
)->GetToolPacking();
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_FromInt((int)result
);
16882 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (int)(arg1
)->GetToolSeparation();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_FromInt((int)result
);
16908 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self",(char *) "nRows", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 arg2
= (int) SWIG_AsInt(obj1
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetRows(arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 Py_INCREF(Py_None
); resultobj
= Py_None
;
16937 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 PyObject
* obj2
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self",(char *) "rows",(char *) "cols", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 arg2
= (int) SWIG_AsInt(obj1
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16954 arg3
= (int) SWIG_AsInt(obj2
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 Py_INCREF(Py_None
); resultobj
= Py_None
;
16970 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (int)(arg1
)->GetMaxRows();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_FromInt((int)result
);
16996 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17000 PyObject
* obj0
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (int)(arg1
)->GetMaxCols();
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= SWIG_FromInt((int)result
);
17022 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self",(char *) "size", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 Py_INCREF(Py_None
); resultobj
= Py_None
;
17054 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17058 PyObject
* obj0
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 result
= (arg1
)->GetToolBitmapSize();
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17074 wxSize
* resultptr
;
17075 resultptr
= new wxSize((wxSize
&) result
);
17076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17084 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (arg1
)->GetToolSize();
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 wxSize
* resultptr
;
17105 resultptr
= new wxSize((wxSize
&) result
);
17106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17114 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17119 wxToolBarToolBase
*result
;
17120 PyObject
* obj0
= 0 ;
17121 PyObject
* obj1
= 0 ;
17122 PyObject
* obj2
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "x",(char *) "y", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 arg2
= (int) SWIG_AsInt(obj1
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17132 arg3
= (int) SWIG_AsInt(obj2
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= wxPyMake_wxObject(result
);
17150 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17154 wxToolBarToolBase
*result
;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "toolid", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 arg2
= (int) SWIG_AsInt(obj1
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= wxPyMake_wxObject(result
);
17182 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)(arg1
)->IsVertical();
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17210 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
17212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17213 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17215 return Py_BuildValue((char *)"");
17217 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxWindow
*arg1
= (wxWindow
*) 0 ;
17221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17225 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17226 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17227 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17231 bool temp6
= False
;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 PyObject
* obj2
= 0 ;
17235 PyObject
* obj3
= 0 ;
17236 PyObject
* obj4
= 0 ;
17237 PyObject
* obj5
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 arg2
= (int) SWIG_AsInt(obj1
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17256 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17260 arg5
= (long) SWIG_AsLong(obj4
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17265 arg6
= wxString_in_helper(obj5
);
17266 if (arg6
== NULL
) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= wxPyMake_wxObject(result
);
17294 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17297 char *kwnames
[] = {
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (wxToolBar
*)new wxToolBar();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= wxPyMake_wxObject(result
);
17318 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17321 wxWindow
*arg2
= (wxWindow
*) 0 ;
17323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17327 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17328 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17329 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17333 bool temp7
= False
;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 PyObject
* obj2
= 0 ;
17337 PyObject
* obj3
= 0 ;
17338 PyObject
* obj4
= 0 ;
17339 PyObject
* obj5
= 0 ;
17340 PyObject
* obj6
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17350 arg3
= (int) SWIG_AsInt(obj2
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17365 arg6
= (long) SWIG_AsLong(obj5
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17370 arg7
= wxString_in_helper(obj6
);
17371 if (arg7
== NULL
) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17399 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17404 wxToolBarToolBase
*result
;
17405 PyObject
* obj0
= 0 ;
17406 PyObject
* obj1
= 0 ;
17407 PyObject
* obj2
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "x",(char *) "y", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 arg2
= (int) SWIG_AsInt(obj1
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17417 arg3
= (int) SWIG_AsInt(obj2
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= wxPyMake_wxObject(result
);
17435 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
17437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17438 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17440 return Py_BuildValue((char *)"");
17442 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17443 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17448 static PyObject
*_wrap_ListCtrlNameStr_get() {
17453 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17455 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17462 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxColour
const &arg1_defvalue
= wxNullColour
;
17465 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17466 wxColour
const &arg2_defvalue
= wxNullColour
;
17467 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17468 wxFont
const &arg3_defvalue
= wxNullFont
;
17469 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17470 wxListItemAttr
*result
;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 PyObject
* obj2
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17484 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17494 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17497 if (arg3
== NULL
) {
17498 PyErr_SetString(PyExc_TypeError
,"null reference");
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17516 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17519 wxColour
*arg2
= 0 ;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "self",(char *) "colText", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 Py_INCREF(Py_None
); resultobj
= Py_None
;
17548 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17551 wxColour
*arg2
= 0 ;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self",(char *) "colBack", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self",(char *) "font", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17596 if (arg2
== NULL
) {
17597 PyErr_SetString(PyExc_TypeError
,"null reference");
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 (arg1
)->SetFont((wxFont
const &)*arg2
);
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 Py_INCREF(Py_None
); resultobj
= Py_None
;
17614 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17618 PyObject
* obj0
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (bool)(arg1
)->HasTextColour();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17642 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (bool)(arg1
)->HasBackgroundColour();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17670 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (bool)(arg1
)->HasFont();
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17698 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17702 PyObject
* obj0
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "self", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (arg1
)->GetTextColour();
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17718 wxColour
* resultptr
;
17719 resultptr
= new wxColour((wxColour
&) result
);
17720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17728 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (arg1
)->GetBackgroundColour();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 wxColour
* resultptr
;
17749 resultptr
= new wxColour((wxColour
&) result
);
17750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17758 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (arg1
)->GetFont();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 wxFont
* resultptr
;
17779 resultptr
= new wxFont((wxFont
&) result
);
17780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17788 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 wxListItemAttr_Destroy(arg1
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 Py_INCREF(Py_None
); resultobj
= Py_None
;
17813 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
17815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17816 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17818 return Py_BuildValue((char *)"");
17820 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxListItem
*result
;
17823 char *kwnames
[] = {
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= (wxListItem
*)new wxListItem();
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= wxPyMake_wxObject(result
);
17844 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxListItem
*arg1
= (wxListItem
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 Py_INCREF(Py_None
); resultobj
= Py_None
;
17869 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxListItem
*arg1
= (wxListItem
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 Py_INCREF(Py_None
); resultobj
= Py_None
;
17894 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxListItem
*arg1
= (wxListItem
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 (arg1
)->ClearAttributes();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 Py_INCREF(Py_None
); resultobj
= Py_None
;
17919 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxListItem
*arg1
= (wxListItem
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "mask", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 arg2
= (long) SWIG_AsLong(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->SetMask(arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxListItem
*arg1
= (wxListItem
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "id", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 arg2
= (long) SWIG_AsLong(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->SetId(arg2
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxListItem
*arg1
= (wxListItem
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "col", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17990 arg2
= (int) SWIG_AsInt(obj1
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->SetColumn(arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxListItem
*arg1
= (wxListItem
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "state", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 arg2
= (long) SWIG_AsLong(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetState(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxListItem
*arg1
= (wxListItem
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self",(char *) "stateMask", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 arg2
= (long) SWIG_AsLong(obj1
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->SetStateMask(arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxListItem
*arg1
= (wxListItem
*) 0 ;
18067 wxString
*arg2
= 0 ;
18068 bool temp2
= False
;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "text", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18079 arg2
= wxString_in_helper(obj1
);
18080 if (arg2
== NULL
) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 (arg1
)->SetText((wxString
const &)*arg2
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxListItem
*arg1
= (wxListItem
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "image", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 arg2
= (int) SWIG_AsInt(obj1
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 (arg1
)->SetImage(arg2
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 Py_INCREF(Py_None
); resultobj
= Py_None
;
18134 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxListItem
*arg1
= (wxListItem
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 PyObject
* obj1
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self",(char *) "data", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18147 arg2
= (long) SWIG_AsLong(obj1
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 (arg1
)->SetData(arg2
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 Py_INCREF(Py_None
); resultobj
= Py_None
;
18163 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxListItem
*arg1
= (wxListItem
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self",(char *) "width", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18176 arg2
= (int) SWIG_AsInt(obj1
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 (arg1
)->SetWidth(arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 Py_INCREF(Py_None
); resultobj
= Py_None
;
18192 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxListItem
*arg1
= (wxListItem
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "align", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 Py_INCREF(Py_None
); resultobj
= Py_None
;
18221 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxListItem
*arg1
= (wxListItem
*) 0 ;
18224 wxColour
*arg2
= 0 ;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self",(char *) "colText", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxListItem
*arg1
= (wxListItem
*) 0 ;
18256 wxColour
*arg2
= 0 ;
18258 PyObject
* obj0
= 0 ;
18259 PyObject
* obj1
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "colBack", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 Py_INCREF(Py_None
); resultobj
= Py_None
;
18285 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxListItem
*arg1
= (wxListItem
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self",(char *) "font", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18301 if (arg2
== NULL
) {
18302 PyErr_SetString(PyExc_TypeError
,"null reference");
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->SetFont((wxFont
const &)*arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxListItem
*arg1
= (wxListItem
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (long)(arg1
)->GetMask();
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_FromLong((long)result
);
18345 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxListItem
*arg1
= (wxListItem
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (long)(arg1
)->GetId();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_FromLong((long)result
);
18371 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxListItem
*arg1
= (wxListItem
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (int)(arg1
)->GetColumn();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_FromInt((int)result
);
18397 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxListItem
*arg1
= (wxListItem
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (long)(arg1
)->GetState();
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_FromLong((long)result
);
18423 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxListItem
*arg1
= (wxListItem
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 wxString
const &_result_ref
= (arg1
)->GetText();
18439 result
= (wxString
*) &_result_ref
;
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18449 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18458 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxListItem
*arg1
= (wxListItem
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (int)(arg1
)->GetImage();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_FromInt((int)result
);
18484 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxListItem
*arg1
= (wxListItem
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= (long)(arg1
)->GetData();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_FromLong((long)result
);
18510 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxListItem
*arg1
= (wxListItem
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (int)(arg1
)->GetWidth();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_FromInt((int)result
);
18536 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxListItem
*arg1
= (wxListItem
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= (int)(arg1
)->GetAlign();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= SWIG_FromInt((int)result
);
18562 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
;
18564 wxListItem
*arg1
= (wxListItem
*) 0 ;
18565 wxListItemAttr
*result
;
18566 PyObject
* obj0
= 0 ;
18567 char *kwnames
[] = {
18568 (char *) "self", NULL
18571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18588 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxListItem
*arg1
= (wxListItem
*) 0 ;
18592 PyObject
* obj0
= 0 ;
18593 char *kwnames
[] = {
18594 (char *) "self", NULL
18597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (bool)(arg1
)->HasAttributes();
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18616 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxListItem
*arg1
= (wxListItem
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 wxColour
* resultptr
;
18637 resultptr
= new wxColour((wxColour
&) result
);
18638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18646 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxListItem
*arg1
= (wxListItem
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 wxColour
* resultptr
;
18667 resultptr
= new wxColour((wxColour
&) result
);
18668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18676 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxListItem
*arg1
= (wxListItem
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= ((wxListItem
const *)arg1
)->GetFont();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 wxFont
* resultptr
;
18697 resultptr
= new wxFont((wxFont
&) result
);
18698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18706 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxListItem
*arg1
= (wxListItem
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self",(char *) "m_mask", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 arg2
= (long) SWIG_AsLong(obj1
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18721 if (arg1
) (arg1
)->m_mask
= arg2
;
18723 Py_INCREF(Py_None
); resultobj
= Py_None
;
18730 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxListItem
*arg1
= (wxListItem
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18742 result
= (long) ((arg1
)->m_mask
);
18744 resultobj
= SWIG_FromLong((long)result
);
18751 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxListItem
*arg1
= (wxListItem
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self",(char *) "m_itemId", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18764 arg2
= (long) SWIG_AsLong(obj1
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18766 if (arg1
) (arg1
)->m_itemId
= arg2
;
18768 Py_INCREF(Py_None
); resultobj
= Py_None
;
18775 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxListItem
*arg1
= (wxListItem
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 result
= (long) ((arg1
)->m_itemId
);
18789 resultobj
= SWIG_FromLong((long)result
);
18796 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxListItem
*arg1
= (wxListItem
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 PyObject
* obj1
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self",(char *) "m_col", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 arg2
= (int) SWIG_AsInt(obj1
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18811 if (arg1
) (arg1
)->m_col
= arg2
;
18813 Py_INCREF(Py_None
); resultobj
= Py_None
;
18820 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxListItem
*arg1
= (wxListItem
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "self", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 result
= (int) ((arg1
)->m_col
);
18834 resultobj
= SWIG_FromInt((int)result
);
18841 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxListItem
*arg1
= (wxListItem
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "m_state", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 arg2
= (long) SWIG_AsLong(obj1
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18856 if (arg1
) (arg1
)->m_state
= arg2
;
18858 Py_INCREF(Py_None
); resultobj
= Py_None
;
18865 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxListItem
*arg1
= (wxListItem
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 result
= (long) ((arg1
)->m_state
);
18879 resultobj
= SWIG_FromLong((long)result
);
18886 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxListItem
*arg1
= (wxListItem
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self",(char *) "m_stateMask", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18899 arg2
= (long) SWIG_AsLong(obj1
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18901 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18903 Py_INCREF(Py_None
); resultobj
= Py_None
;
18910 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxListItem
*arg1
= (wxListItem
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18922 result
= (long) ((arg1
)->m_stateMask
);
18924 resultobj
= SWIG_FromLong((long)result
);
18931 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxListItem
*arg1
= (wxListItem
*) 0 ;
18934 wxString
*arg2
= (wxString
*) 0 ;
18935 bool temp2
= False
;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "m_text", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 arg2
= wxString_in_helper(obj1
);
18947 if (arg2
== NULL
) SWIG_fail
;
18950 if (arg1
) (arg1
)->m_text
= *arg2
;
18952 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxListItem
*arg1
= (wxListItem
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 result
= (wxString
*)& ((arg1
)->m_text
);
18983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18994 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxListItem
*arg1
= (wxListItem
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self",(char *) "m_image", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19007 arg2
= (int) SWIG_AsInt(obj1
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19009 if (arg1
) (arg1
)->m_image
= arg2
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxListItem
*arg1
= (wxListItem
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 char *kwnames
[] = {
19024 (char *) "self", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 result
= (int) ((arg1
)->m_image
);
19032 resultobj
= SWIG_FromInt((int)result
);
19039 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxListItem
*arg1
= (wxListItem
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "m_data", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 arg2
= (long) SWIG_AsLong(obj1
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19054 if (arg1
) (arg1
)->m_data
= arg2
;
19056 Py_INCREF(Py_None
); resultobj
= Py_None
;
19063 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxListItem
*arg1
= (wxListItem
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 result
= (long) ((arg1
)->m_data
);
19077 resultobj
= SWIG_FromLong((long)result
);
19084 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxListItem
*arg1
= (wxListItem
*) 0 ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "m_format", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19097 arg2
= (int) SWIG_AsInt(obj1
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19099 if (arg1
) (arg1
)->m_format
= arg2
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListItem
*arg1
= (wxListItem
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19120 result
= (int) ((arg1
)->m_format
);
19122 resultobj
= SWIG_FromInt((int)result
);
19129 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxListItem
*arg1
= (wxListItem
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "m_width", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 arg2
= (int) SWIG_AsInt(obj1
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19144 if (arg1
) (arg1
)->m_width
= arg2
;
19146 Py_INCREF(Py_None
); resultobj
= Py_None
;
19153 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxListItem
*arg1
= (wxListItem
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 result
= (int) ((arg1
)->m_width
);
19167 resultobj
= SWIG_FromInt((int)result
);
19174 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
19176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19177 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19179 return Py_BuildValue((char *)"");
19181 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19184 int arg2
= (int) 0 ;
19185 wxListEvent
*result
;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "commandType",(char *) "id", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19198 arg2
= (int) SWIG_AsInt(obj1
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19215 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "m_code", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= (int) SWIG_AsInt(obj1
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19230 if (arg1
) (arg1
)->m_code
= arg2
;
19232 Py_INCREF(Py_None
); resultobj
= Py_None
;
19239 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 result
= (int) ((arg1
)->m_code
);
19253 resultobj
= SWIG_FromInt((int)result
);
19260 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "m_oldItemIndex", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= (long) SWIG_AsLong(obj1
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19275 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19277 Py_INCREF(Py_None
); resultobj
= Py_None
;
19284 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19288 PyObject
* obj0
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 result
= (long) ((arg1
)->m_oldItemIndex
);
19298 resultobj
= SWIG_FromLong((long)result
);
19305 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "m_itemIndex", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19318 arg2
= (long) SWIG_AsLong(obj1
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19320 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19322 Py_INCREF(Py_None
); resultobj
= Py_None
;
19329 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19333 PyObject
* obj0
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19341 result
= (long) ((arg1
)->m_itemIndex
);
19343 resultobj
= SWIG_FromLong((long)result
);
19350 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "m_col", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 arg2
= (int) SWIG_AsInt(obj1
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19365 if (arg1
) (arg1
)->m_col
= arg2
;
19367 Py_INCREF(Py_None
); resultobj
= Py_None
;
19374 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 result
= (int) ((arg1
)->m_col
);
19388 resultobj
= SWIG_FromInt((int)result
);
19395 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19398 wxPoint
*arg2
= (wxPoint
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "m_pointDrag", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19440 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19443 wxListItem
*result
;
19444 PyObject
* obj0
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19452 result
= (wxListItem
*)& ((arg1
)->m_item
);
19455 resultobj
= wxPyMake_wxObject(result
);
19463 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19467 PyObject
* obj0
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (int)(arg1
)->GetKeyCode();
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= SWIG_FromInt((int)result
);
19489 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19493 PyObject
* obj0
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 result
= (long)(arg1
)->GetIndex();
19505 wxPyEndAllowThreads(__tstate
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= SWIG_FromLong((long)result
);
19515 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= (int)(arg1
)->GetColumn();
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= SWIG_FromInt((int)result
);
19541 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (arg1
)->GetPoint();
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19561 wxPoint
* resultptr
;
19562 resultptr
= new wxPoint((wxPoint
&) result
);
19563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19571 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 wxString
const &_result_ref
= (arg1
)->GetLabel();
19587 result
= (wxString
*) &_result_ref
;
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19606 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19610 PyObject
* obj0
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 wxString
const &_result_ref
= (arg1
)->GetText();
19622 result
= (wxString
*) &_result_ref
;
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19641 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (int)(arg1
)->GetImage();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_FromInt((int)result
);
19667 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (long)(arg1
)->GetData();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_FromLong((long)result
);
19693 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (long)(arg1
)->GetMask();
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_FromLong((long)result
);
19719 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19722 wxListItem
*result
;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19735 result
= (wxListItem
*) &_result_ref
;
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19748 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (long)(arg1
)->GetCacheFrom();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_FromLong((long)result
);
19774 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (long)(arg1
)->GetCacheTo();
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_FromLong((long)result
);
19800 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19828 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "editCancelled", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 arg2
= (bool) SWIG_AsBool(obj1
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 (arg1
)->SetEditCanceled(arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 Py_INCREF(Py_None
); resultobj
= Py_None
;
19857 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
19859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19860 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19862 return Py_BuildValue((char *)"");
19864 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxWindow
*arg1
= (wxWindow
*) 0 ;
19867 int arg2
= (int) -1 ;
19868 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19869 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19870 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19871 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19872 long arg5
= (long) wxLC_ICON
;
19873 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19874 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19875 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19877 wxPyListCtrl
*result
;
19880 bool temp7
= False
;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 PyObject
* obj2
= 0 ;
19884 PyObject
* obj3
= 0 ;
19885 PyObject
* obj4
= 0 ;
19886 PyObject
* obj5
= 0 ;
19887 PyObject
* obj6
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 arg2
= (int) SWIG_AsInt(obj1
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19908 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19912 arg5
= (long) SWIG_AsLong(obj4
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19916 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19919 if (arg6
== NULL
) {
19920 PyErr_SetString(PyExc_TypeError
,"null reference");
19926 arg7
= wxString_in_helper(obj6
);
19927 if (arg7
== NULL
) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19953 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxPyListCtrl
*result
;
19956 char *kwnames
[] = {
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19975 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19978 wxWindow
*arg2
= (wxWindow
*) 0 ;
19979 int arg3
= (int) -1 ;
19980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19984 long arg6
= (long) wxLC_ICON
;
19985 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19986 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19987 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19992 bool temp8
= False
;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 PyObject
* obj2
= 0 ;
19996 PyObject
* obj3
= 0 ;
19997 PyObject
* obj4
= 0 ;
19998 PyObject
* obj5
= 0 ;
19999 PyObject
* obj6
= 0 ;
20000 PyObject
* obj7
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 arg3
= (int) SWIG_AsInt(obj2
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20023 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20027 arg6
= (long) SWIG_AsLong(obj5
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20031 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20034 if (arg7
== NULL
) {
20035 PyErr_SetString(PyExc_TypeError
,"null reference");
20041 arg8
= wxString_in_helper(obj7
);
20042 if (arg8
== NULL
) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20070 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20073 PyObject
*arg2
= (PyObject
*) 0 ;
20074 PyObject
*arg3
= (PyObject
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 PyObject
* obj2
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self",(char *) "self",(char *) "_class", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 Py_INCREF(Py_None
); resultobj
= Py_None
;
20101 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20104 wxColour
*arg2
= 0 ;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self",(char *) "col", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20136 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20139 wxColour
*arg2
= 0 ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "col", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20171 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20175 wxListItem
*result
;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "col", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20185 arg2
= (int) SWIG_AsInt(obj1
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= wxPyMake_wxObject(result
);
20203 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20207 wxListItem
*arg3
= 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 PyObject
* obj2
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "col",(char *) "item", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 arg2
= (int) SWIG_AsInt(obj1
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20221 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20224 if (arg3
== NULL
) {
20225 PyErr_SetString(PyExc_TypeError
,"null reference");
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20244 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self",(char *) "col", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20258 arg2
= (int) SWIG_AsInt(obj1
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_FromInt((int)result
);
20274 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 PyObject
* obj2
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self",(char *) "col",(char *) "width", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 arg2
= (int) SWIG_AsInt(obj1
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20292 arg3
= (int) SWIG_AsInt(obj2
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20310 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20314 PyObject
* obj0
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= SWIG_FromInt((int)result
);
20336 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20356 wxRect
* resultptr
;
20357 resultptr
= new wxRect((wxRect
&) result
);
20358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20366 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20370 int arg3
= (int) 0 ;
20371 wxListItem
*result
;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 PyObject
* obj2
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self",(char *) "itemId",(char *) "col", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20382 arg2
= (long) SWIG_AsLong(obj1
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 arg3
= (int) SWIG_AsInt(obj2
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= wxPyMake_wxObject(result
);
20404 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20407 wxListItem
*arg2
= 0 ;
20409 PyObject
* obj0
= 0 ;
20410 PyObject
* obj1
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self",(char *) "info", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20421 if (arg2
== NULL
) {
20422 PyErr_SetString(PyExc_TypeError
,"null reference");
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (bool)(arg1
)->SetItem(*arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20441 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20446 wxString
*arg4
= 0 ;
20447 int arg5
= (int) -1 ;
20449 bool temp4
= False
;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 PyObject
* obj2
= 0 ;
20453 PyObject
* obj3
= 0 ;
20454 PyObject
* obj4
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20462 arg2
= (long) SWIG_AsLong(obj1
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20464 arg3
= (int) SWIG_AsInt(obj2
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 arg4
= wxString_in_helper(obj3
);
20468 if (arg4
== NULL
) SWIG_fail
;
20472 arg5
= (int) SWIG_AsInt(obj4
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_FromLong((long)result
);
20497 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 PyObject
* obj2
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 arg2
= (long) SWIG_AsLong(obj1
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20515 arg3
= (long) SWIG_AsLong(obj2
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_FromInt((int)result
);
20531 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 PyObject
* obj2
= 0 ;
20541 PyObject
* obj3
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20549 arg2
= (long) SWIG_AsLong(obj1
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20551 arg3
= (long) SWIG_AsLong(obj2
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20553 arg4
= (long) SWIG_AsLong(obj3
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20571 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 PyObject
* obj2
= 0 ;
20581 PyObject
* obj3
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20589 arg2
= (long) SWIG_AsLong(obj1
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20591 arg3
= (int) SWIG_AsInt(obj2
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20593 arg4
= (int) SWIG_AsInt(obj3
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20611 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self",(char *) "item", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20625 arg2
= (long) SWIG_AsLong(obj1
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20647 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20651 wxString
*arg3
= 0 ;
20652 bool temp3
= False
;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20655 PyObject
* obj2
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self",(char *) "item",(char *) "str", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20663 arg2
= (long) SWIG_AsLong(obj1
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 arg3
= wxString_in_helper(obj2
);
20667 if (arg3
== NULL
) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 Py_INCREF(Py_None
); resultobj
= Py_None
;
20692 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "item", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 arg2
= (long) SWIG_AsLong(obj1
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_FromLong((long)result
);
20722 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 PyObject
* obj2
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self",(char *) "item",(char *) "data", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 arg2
= (long) SWIG_AsLong(obj1
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20740 arg3
= (long) SWIG_AsLong(obj2
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20758 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 PyObject
* obj1
= 0 ;
20765 char *kwnames
[] = {
20766 (char *) "self",(char *) "item", NULL
20769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20772 arg2
= (long) SWIG_AsLong(obj1
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20782 wxPoint
* resultptr
;
20783 resultptr
= new wxPoint((wxPoint
&) result
);
20784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20792 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20796 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 PyObject
* obj2
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self",(char *) "item",(char *) "code", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20808 arg2
= (long) SWIG_AsLong(obj1
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 arg3
= (int) SWIG_AsInt(obj2
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20822 wxRect
* resultptr
;
20823 resultptr
= new wxRect((wxRect
&) result
);
20824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20832 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20836 wxPoint
*arg3
= 0 ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 PyObject
* obj2
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "item",(char *) "pos", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20849 arg2
= (long) SWIG_AsLong(obj1
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20871 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_FromInt((int)result
);
20897 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_FromInt((int)result
);
20923 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20943 wxSize
* resultptr
;
20944 resultptr
= new wxSize((wxSize
&) result
);
20945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20953 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20957 bool arg3
= (bool) False
;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 PyObject
* obj2
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 arg2
= (int) SWIG_AsInt(obj1
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 arg3
= (bool) SWIG_AsBool(obj2
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 (arg1
)->SetItemSpacing(arg2
,arg3
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 Py_INCREF(Py_None
); resultobj
= Py_None
;
20988 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_FromInt((int)result
);
21014 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 wxColour
* resultptr
;
21035 resultptr
= new wxColour((wxColour
&) result
);
21036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21044 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
;
21046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21047 wxColour
*arg2
= 0 ;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self",(char *) "col", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21076 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_FromLong((long)result
);
21102 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21106 bool arg3
= (bool) True
;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 PyObject
* obj2
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self",(char *) "style",(char *) "add", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21117 arg2
= (long) SWIG_AsLong(obj1
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 arg3
= (bool) SWIG_AsBool(obj2
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 (arg1
)->SetSingleStyle(arg2
,arg3
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "style", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 arg2
= (long) SWIG_AsLong(obj1
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 (arg1
)->SetWindowStyleFlag(arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 Py_INCREF(Py_None
); resultobj
= Py_None
;
21166 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21170 int arg3
= (int) wxLIST_NEXT_ALL
;
21171 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21173 PyObject
* obj0
= 0 ;
21174 PyObject
* obj1
= 0 ;
21175 PyObject
* obj2
= 0 ;
21176 PyObject
* obj3
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21184 arg2
= (long) SWIG_AsLong(obj1
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 arg3
= (int) SWIG_AsInt(obj2
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 arg4
= (int) SWIG_AsInt(obj3
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_FromLong((long)result
);
21208 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21212 wxImageList
*result
;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self",(char *) "which", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21222 arg2
= (int) SWIG_AsInt(obj1
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= wxPyMake_wxObject(result
);
21240 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21243 wxImageList
*arg2
= (wxImageList
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 PyObject
* obj2
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self",(char *) "imageList",(char *) "which", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21257 arg3
= (int) SWIG_AsInt(obj2
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 (arg1
)->SetImageList(arg2
,arg3
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 Py_INCREF(Py_None
); resultobj
= Py_None
;
21273 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21276 wxImageList
*arg2
= (wxImageList
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 PyObject
* obj2
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "imageList",(char *) "which", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21289 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21290 arg3
= (int) SWIG_AsInt(obj2
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 (arg1
)->AssignImageList(arg2
,arg3
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 Py_INCREF(Py_None
); resultobj
= Py_None
;
21306 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21310 PyObject
* obj0
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "self", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21334 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21338 PyObject
* obj0
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21362 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self",(char *) "item", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 arg2
= (long) SWIG_AsLong(obj1
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 (arg1
)->RefreshItem(arg2
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 Py_INCREF(Py_None
); resultobj
= Py_None
;
21391 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 PyObject
* obj2
= 0 ;
21399 char *kwnames
[] = {
21400 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21406 arg2
= (long) SWIG_AsLong(obj1
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21408 arg3
= (long) SWIG_AsLong(obj2
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 (arg1
)->RefreshItems(arg2
,arg3
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 Py_INCREF(Py_None
); resultobj
= Py_None
;
21424 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21427 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self",(char *) "flag", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 arg2
= (int) SWIG_AsInt(obj1
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (bool)(arg1
)->Arrange(arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21458 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self",(char *) "item", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 arg2
= (long) SWIG_AsLong(obj1
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (bool)(arg1
)->DeleteItem(arg2
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21490 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (bool)(arg1
)->DeleteAllItems();
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21518 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "col", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21532 arg2
= (int) SWIG_AsInt(obj1
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21550 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (bool)(arg1
)->DeleteAllColumns();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21578 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 (arg1
)->ClearAll();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 Py_INCREF(Py_None
); resultobj
= Py_None
;
21603 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "item", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21616 arg2
= (long) SWIG_AsLong(obj1
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->EditLabel(arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "item", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21646 arg2
= (long) SWIG_AsLong(obj1
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21664 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21668 wxString
*arg3
= 0 ;
21669 bool arg4
= (bool) False
;
21671 bool temp3
= False
;
21672 PyObject
* obj0
= 0 ;
21673 PyObject
* obj1
= 0 ;
21674 PyObject
* obj2
= 0 ;
21675 PyObject
* obj3
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 arg2
= (long) SWIG_AsLong(obj1
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 arg3
= wxString_in_helper(obj2
);
21687 if (arg3
== NULL
) SWIG_fail
;
21691 arg4
= (bool) SWIG_AsBool(obj3
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_FromLong((long)result
);
21716 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 PyObject
* obj2
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "start",(char *) "data", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 arg2
= (long) SWIG_AsLong(obj1
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21734 arg3
= (long) SWIG_AsLong(obj2
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_FromLong((long)result
);
21750 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21754 wxPoint
*arg3
= 0 ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 PyObject
* obj2
= 0 ;
21761 PyObject
* obj3
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 arg2
= (long) SWIG_AsLong(obj1
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21775 arg4
= (int) SWIG_AsInt(obj3
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= SWIG_FromLong((long)result
);
21791 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21794 wxPoint
*arg2
= 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "point", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_FromLong((long)result
);
21822 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21823 resultobj
= t_output_helper(resultobj
,o
);
21831 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21833 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21834 wxListItem
*arg2
= 0 ;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self",(char *) "info", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21848 if (arg2
== NULL
) {
21849 PyErr_SetString(PyExc_TypeError
,"null reference");
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (long)(arg1
)->InsertItem(*arg2
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_FromLong((long)result
);
21866 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21870 wxString
*arg3
= 0 ;
21872 bool temp3
= False
;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "index",(char *) "label", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 arg2
= (long) SWIG_AsLong(obj1
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 arg3
= wxString_in_helper(obj2
);
21887 if (arg3
== NULL
) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_FromLong((long)result
);
21912 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 PyObject
* obj2
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21928 arg2
= (long) SWIG_AsLong(obj1
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21930 arg3
= (int) SWIG_AsInt(obj2
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_FromLong((long)result
);
21946 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21950 wxString
*arg3
= 0 ;
21953 bool temp3
= False
;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 PyObject
* obj2
= 0 ;
21957 PyObject
* obj3
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21965 arg2
= (long) SWIG_AsLong(obj1
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 arg3
= wxString_in_helper(obj2
);
21969 if (arg3
== NULL
) SWIG_fail
;
21972 arg4
= (int) SWIG_AsInt(obj3
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= SWIG_FromLong((long)result
);
21996 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22000 wxListItem
*arg3
= 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 PyObject
* obj2
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "col",(char *) "info", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 arg2
= (long) SWIG_AsLong(obj1
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22014 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22017 if (arg3
== NULL
) {
22018 PyErr_SetString(PyExc_TypeError
,"null reference");
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= SWIG_FromLong((long)result
);
22035 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22039 wxString
*arg3
= 0 ;
22040 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22041 int arg5
= (int) -1 ;
22043 bool temp3
= False
;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 PyObject
* obj2
= 0 ;
22047 PyObject
* obj3
= 0 ;
22048 PyObject
* obj4
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 arg2
= (long) SWIG_AsLong(obj1
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 arg3
= wxString_in_helper(obj2
);
22060 if (arg3
== NULL
) SWIG_fail
;
22064 arg4
= (int) SWIG_AsInt(obj3
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 arg5
= (int) SWIG_AsInt(obj4
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_FromLong((long)result
);
22093 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "count", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 arg2
= (long) SWIG_AsLong(obj1
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 (arg1
)->SetItemCount(arg2
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 Py_INCREF(Py_None
); resultobj
= Py_None
;
22122 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 PyObject
* obj2
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "dx",(char *) "dy", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22138 arg2
= (int) SWIG_AsInt(obj1
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22140 arg3
= (int) SWIG_AsInt(obj2
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22158 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22162 wxColour
*arg3
= 0 ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 PyObject
* obj2
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self",(char *) "item",(char *) "col", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22174 arg2
= (long) SWIG_AsLong(obj1
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "item", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22208 arg2
= (long) SWIG_AsLong(obj1
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 wxColour
* resultptr
;
22219 resultptr
= new wxColour((wxColour
&) result
);
22220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22228 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22232 wxColour
*arg3
= 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 PyObject
* obj2
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self",(char *) "item",(char *) "col", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22244 arg2
= (long) SWIG_AsLong(obj1
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22248 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 Py_INCREF(Py_None
); resultobj
= Py_None
;
22264 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self",(char *) "item", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22278 arg2
= (long) SWIG_AsLong(obj1
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22288 wxColour
* resultptr
;
22289 resultptr
= new wxColour((wxColour
&) result
);
22290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22298 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22301 PyObject
*arg2
= (PyObject
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self",(char *) "func", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22329 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= wxPyMake_wxObject(result
);
22357 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
22359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22360 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22362 return Py_BuildValue((char *)"");
22364 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
;
22366 wxWindow
*arg1
= (wxWindow
*) 0 ;
22367 int arg2
= (int) -1 ;
22368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22372 long arg5
= (long) wxLC_REPORT
;
22373 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22374 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22375 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22377 wxListView
*result
;
22380 bool temp7
= False
;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 PyObject
* obj2
= 0 ;
22384 PyObject
* obj3
= 0 ;
22385 PyObject
* obj4
= 0 ;
22386 PyObject
* obj5
= 0 ;
22387 PyObject
* obj6
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 arg2
= (int) SWIG_AsInt(obj1
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22402 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22408 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22412 arg5
= (long) SWIG_AsLong(obj4
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22419 if (arg6
== NULL
) {
22420 PyErr_SetString(PyExc_TypeError
,"null reference");
22426 arg7
= wxString_in_helper(obj6
);
22427 if (arg7
== NULL
) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22453 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
;
22455 wxListView
*result
;
22456 char *kwnames
[] = {
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (wxListView
*)new wxListView();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22475 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxListView
*arg1
= (wxListView
*) 0 ;
22478 wxWindow
*arg2
= (wxWindow
*) 0 ;
22479 int arg3
= (int) -1 ;
22480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22484 long arg6
= (long) wxLC_REPORT
;
22485 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22486 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22487 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22488 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22492 bool temp8
= False
;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 PyObject
* obj3
= 0 ;
22497 PyObject
* obj4
= 0 ;
22498 PyObject
* obj5
= 0 ;
22499 PyObject
* obj6
= 0 ;
22500 PyObject
* obj7
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 arg3
= (int) SWIG_AsInt(obj2
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22527 arg6
= (long) SWIG_AsLong(obj5
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22531 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22534 if (arg7
== NULL
) {
22535 PyErr_SetString(PyExc_TypeError
,"null reference");
22541 arg8
= wxString_in_helper(obj7
);
22542 if (arg8
== NULL
) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22570 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxListView
*arg1
= (wxListView
*) 0 ;
22574 bool arg3
= (bool) True
;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 PyObject
* obj2
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "n",(char *) "on", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 arg2
= (long) SWIG_AsLong(obj1
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22588 arg3
= (bool) SWIG_AsBool(obj2
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 (arg1
)->Select(arg2
,arg3
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 Py_INCREF(Py_None
); resultobj
= Py_None
;
22605 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxListView
*arg1
= (wxListView
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self",(char *) "index", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 arg2
= (long) SWIG_AsLong(obj1
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 (arg1
)->Focus(arg2
);
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxListView
*arg1
= (wxListView
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_FromLong((long)result
);
22660 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
;
22662 wxListView
*arg1
= (wxListView
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self",(char *) "item", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22674 arg2
= (long) SWIG_AsLong(obj1
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_FromLong((long)result
);
22690 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxListView
*arg1
= (wxListView
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= SWIG_FromLong((long)result
);
22716 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxListView
*arg1
= (wxListView
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 PyObject
* obj1
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self",(char *) "index", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 arg2
= (long) SWIG_AsLong(obj1
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 result
= (bool)(arg1
)->IsSelected(arg2
);
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22748 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
;
22750 wxListView
*arg1
= (wxListView
*) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 PyObject
* obj1
= 0 ;
22755 PyObject
* obj2
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "col",(char *) "image", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 arg2
= (int) SWIG_AsInt(obj1
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22765 arg3
= (int) SWIG_AsInt(obj2
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 (arg1
)->SetColumnImage(arg2
,arg3
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 Py_INCREF(Py_None
); resultobj
= Py_None
;
22781 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxListView
*arg1
= (wxListView
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self",(char *) "col", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 arg2
= (int) SWIG_AsInt(obj1
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 (arg1
)->ClearColumnImage(arg2
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 Py_INCREF(Py_None
); resultobj
= Py_None
;
22810 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
22812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22813 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22815 return Py_BuildValue((char *)"");
22817 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22818 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22823 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22828 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22830 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22837 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxTreeItemId
*result
;
22840 char *kwnames
[] = {
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= (wxTreeItemId
*)new wxTreeItemId();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22859 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22912 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22915 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self",(char *) "other", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22944 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22947 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self",(char *) "other", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22976 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22979 void *arg2
= (void *) 0 ;
22980 PyObject
* obj0
= 0 ;
22981 PyObject
* obj1
= 0 ;
22982 char *kwnames
[] = {
22983 (char *) "self",(char *) "m_pItem", NULL
22986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22989 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22990 if (arg1
) (arg1
)->m_pItem
= arg2
;
22992 Py_INCREF(Py_None
); resultobj
= Py_None
;
22999 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23003 PyObject
* obj0
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 result
= (void *) ((arg1
)->m_pItem
);
23013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23020 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
23022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23023 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23025 return Py_BuildValue((char *)"");
23027 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 PyObject
*arg1
= (PyObject
*) NULL
;
23030 wxPyTreeItemData
*result
;
23031 PyObject
* obj0
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "obj", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23054 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (PyObject
*)(arg1
)->GetData();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= result
;
23080 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23083 PyObject
*arg2
= (PyObject
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 PyObject
* obj1
= 0 ;
23086 char *kwnames
[] = {
23087 (char *) "self",(char *) "obj", NULL
23090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->SetData(arg2
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23108 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23111 wxTreeItemId
*result
;
23112 PyObject
* obj0
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23124 result
= (wxTreeItemId
*) &_result_ref
;
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23137 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23140 wxTreeItemId
*arg2
= 0 ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self",(char *) "id", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23153 if (arg2
== NULL
) {
23154 PyErr_SetString(PyExc_TypeError
,"null reference");
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 Py_INCREF(Py_None
); resultobj
= Py_None
;
23171 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 wxPyTreeItemData_Destroy(arg1
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 Py_INCREF(Py_None
); resultobj
= Py_None
;
23196 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
23198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23199 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23201 return Py_BuildValue((char *)"");
23203 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23206 int arg2
= (int) 0 ;
23207 wxTreeEvent
*result
;
23208 PyObject
* obj0
= 0 ;
23209 PyObject
* obj1
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "commandType",(char *) "id", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23216 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 arg2
= (int) SWIG_AsInt(obj1
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23237 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23240 wxTreeItemId result
;
23241 PyObject
* obj0
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23257 wxTreeItemId
* resultptr
;
23258 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23267 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23270 wxTreeItemId
*arg2
= 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "item", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23283 if (arg2
== NULL
) {
23284 PyErr_SetString(PyExc_TypeError
,"null reference");
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23304 wxTreeItemId result
;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23321 wxTreeItemId
* resultptr
;
23322 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23331 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23334 wxTreeItemId
*arg2
= 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "item", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23347 if (arg2
== NULL
) {
23348 PyErr_SetString(PyExc_TypeError
,"null reference");
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 Py_INCREF(Py_None
); resultobj
= Py_None
;
23365 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 wxPoint
* resultptr
;
23386 resultptr
= new wxPoint((wxPoint
&) result
);
23387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23395 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23398 wxPoint
*arg2
= 0 ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self",(char *) "pt", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 Py_INCREF(Py_None
); resultobj
= Py_None
;
23427 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23430 wxKeyEvent
*result
;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23443 result
= (wxKeyEvent
*) &_result_ref
;
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23456 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 char *kwnames
[] = {
23462 (char *) "self", NULL
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= SWIG_FromInt((int)result
);
23482 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23485 wxKeyEvent
*arg2
= 0 ;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self",(char *) "evt", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23498 if (arg2
== NULL
) {
23499 PyErr_SetString(PyExc_TypeError
,"null reference");
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 Py_INCREF(Py_None
); resultobj
= Py_None
;
23516 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23532 result
= (wxString
*) &_result_ref
;
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23551 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
;
23553 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23554 wxString
*arg2
= 0 ;
23555 bool temp2
= False
;
23556 PyObject
* obj0
= 0 ;
23557 PyObject
* obj1
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self",(char *) "label", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23566 arg2
= wxString_in_helper(obj1
);
23567 if (arg2
== NULL
) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 (arg1
)->SetLabel((wxString
const &)*arg2
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 Py_INCREF(Py_None
); resultobj
= Py_None
;
23592 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23620 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "editCancelled", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 arg2
= (bool) SWIG_AsBool(obj1
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 (arg1
)->SetEditCanceled(arg2
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 Py_INCREF(Py_None
); resultobj
= Py_None
;
23649 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23652 wxString
*arg2
= 0 ;
23653 bool temp2
= False
;
23654 PyObject
* obj0
= 0 ;
23655 PyObject
* obj1
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self",(char *) "toolTip", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 arg2
= wxString_in_helper(obj1
);
23665 if (arg2
== NULL
) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 Py_INCREF(Py_None
); resultobj
= Py_None
;
23690 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
23692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23693 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23695 return Py_BuildValue((char *)"");
23697 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxWindow
*arg1
= (wxWindow
*) 0 ;
23700 int arg2
= (int) -1 ;
23701 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23702 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23703 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23704 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23705 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23706 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23707 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23708 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23710 wxPyTreeCtrl
*result
;
23713 bool temp7
= False
;
23714 PyObject
* obj0
= 0 ;
23715 PyObject
* obj1
= 0 ;
23716 PyObject
* obj2
= 0 ;
23717 PyObject
* obj3
= 0 ;
23718 PyObject
* obj4
= 0 ;
23719 PyObject
* obj5
= 0 ;
23720 PyObject
* obj6
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 arg2
= (int) SWIG_AsInt(obj1
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23735 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23741 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23745 arg5
= (long) SWIG_AsLong(obj4
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23749 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23752 if (arg6
== NULL
) {
23753 PyErr_SetString(PyExc_TypeError
,"null reference");
23759 arg7
= wxString_in_helper(obj6
);
23760 if (arg7
== NULL
) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= wxPyMake_wxObject(result
);
23788 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxPyTreeCtrl
*result
;
23791 char *kwnames
[] = {
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= wxPyMake_wxObject(result
);
23812 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23815 wxWindow
*arg2
= (wxWindow
*) 0 ;
23816 int arg3
= (int) -1 ;
23817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23821 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23824 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23829 bool temp8
= False
;
23830 PyObject
* obj0
= 0 ;
23831 PyObject
* obj1
= 0 ;
23832 PyObject
* obj2
= 0 ;
23833 PyObject
* obj3
= 0 ;
23834 PyObject
* obj4
= 0 ;
23835 PyObject
* obj5
= 0 ;
23836 PyObject
* obj6
= 0 ;
23837 PyObject
* obj7
= 0 ;
23838 char *kwnames
[] = {
23839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 arg3
= (int) SWIG_AsInt(obj2
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23864 arg6
= (long) SWIG_AsLong(obj5
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23868 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23871 if (arg7
== NULL
) {
23872 PyErr_SetString(PyExc_TypeError
,"null reference");
23878 arg8
= wxString_in_helper(obj7
);
23879 if (arg8
== NULL
) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23910 PyObject
*arg2
= (PyObject
*) 0 ;
23911 PyObject
*arg3
= (PyObject
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 PyObject
* obj2
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "self",(char *) "_class", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
23964 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23967 unsigned int result
;
23968 PyObject
* obj0
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23990 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23993 unsigned int arg2
;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "indent", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24003 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetIndent(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24022 unsigned int result
;
24023 PyObject
* obj0
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24045 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24048 unsigned int arg2
;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self",(char *) "spacing", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24058 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 (arg1
)->SetSpacing(arg2
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 Py_INCREF(Py_None
); resultobj
= Py_None
;
24074 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24077 wxImageList
*result
;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= wxPyMake_wxObject(result
);
24102 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24105 wxImageList
*result
;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= wxPyMake_wxObject(result
);
24130 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24133 wxImageList
*arg2
= (wxImageList
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self",(char *) "imageList", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 (arg1
)->SetImageList(arg2
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 Py_INCREF(Py_None
); resultobj
= Py_None
;
24159 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24162 wxImageList
*arg2
= (wxImageList
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "imageList", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 (arg1
)->SetStateImageList(arg2
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 Py_INCREF(Py_None
); resultobj
= Py_None
;
24188 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24191 wxImageList
*arg2
= (wxImageList
*) 0 ;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "imageList", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24202 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->AssignImageList(arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24220 wxImageList
*arg2
= (wxImageList
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self",(char *) "imageList", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24231 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 (arg1
)->AssignStateImageList(arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 Py_INCREF(Py_None
); resultobj
= Py_None
;
24246 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24249 wxTreeItemId
*arg2
= 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "item", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24263 if (arg2
== NULL
) {
24264 PyErr_SetString(PyExc_TypeError
,"null reference");
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24287 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24290 wxTreeItemId
*arg2
= 0 ;
24291 int arg3
= (int) wxTreeItemIcon_Normal
;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 PyObject
* obj2
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "item",(char *) "which", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24306 if (arg2
== NULL
) {
24307 PyErr_SetString(PyExc_TypeError
,"null reference");
24311 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_FromInt((int)result
);
24328 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24331 wxTreeItemId
*arg2
= 0 ;
24332 wxPyTreeItemData
*result
;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "item", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24345 if (arg2
== NULL
) {
24346 PyErr_SetString(PyExc_TypeError
,"null reference");
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24363 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24366 wxTreeItemId
*arg2
= 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self",(char *) "item", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24380 if (arg2
== NULL
) {
24381 PyErr_SetString(PyExc_TypeError
,"null reference");
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= result
;
24398 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24401 wxTreeItemId
*arg2
= 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "item", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24415 if (arg2
== NULL
) {
24416 PyErr_SetString(PyExc_TypeError
,"null reference");
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24427 wxColour
* resultptr
;
24428 resultptr
= new wxColour((wxColour
&) result
);
24429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24437 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24440 wxTreeItemId
*arg2
= 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self",(char *) "item", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24454 if (arg2
== NULL
) {
24455 PyErr_SetString(PyExc_TypeError
,"null reference");
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24466 wxColour
* resultptr
;
24467 resultptr
= new wxColour((wxColour
&) result
);
24468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24476 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24479 wxTreeItemId
*arg2
= 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 char *kwnames
[] = {
24484 (char *) "self",(char *) "item", NULL
24487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24493 if (arg2
== NULL
) {
24494 PyErr_SetString(PyExc_TypeError
,"null reference");
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 wxFont
* resultptr
;
24506 resultptr
= new wxFont((wxFont
&) result
);
24507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24515 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24518 wxTreeItemId
*arg2
= 0 ;
24519 wxString
*arg3
= 0 ;
24520 bool temp3
= False
;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 PyObject
* obj2
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "item",(char *) "text", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24534 if (arg2
== NULL
) {
24535 PyErr_SetString(PyExc_TypeError
,"null reference");
24539 arg3
= wxString_in_helper(obj2
);
24540 if (arg3
== NULL
) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 Py_INCREF(Py_None
); resultobj
= Py_None
;
24565 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24568 wxTreeItemId
*arg2
= 0 ;
24570 int arg4
= (int) wxTreeItemIcon_Normal
;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 PyObject
* obj2
= 0 ;
24574 PyObject
* obj3
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24585 if (arg2
== NULL
) {
24586 PyErr_SetString(PyExc_TypeError
,"null reference");
24589 arg3
= (int) SWIG_AsInt(obj2
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24612 wxTreeItemId
*arg2
= 0 ;
24613 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item",(char *) "data", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24627 if (arg2
== NULL
) {
24628 PyErr_SetString(PyExc_TypeError
,"null reference");
24631 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24650 wxTreeItemId
*arg2
= 0 ;
24651 PyObject
*arg3
= (PyObject
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "item",(char *) "obj", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24665 if (arg2
== NULL
) {
24666 PyErr_SetString(PyExc_TypeError
,"null reference");
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 Py_INCREF(Py_None
); resultobj
= Py_None
;
24684 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24687 wxTreeItemId
*arg2
= 0 ;
24688 bool arg3
= (bool) True
;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 PyObject
* obj2
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "item",(char *) "has", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24702 if (arg2
== NULL
) {
24703 PyErr_SetString(PyExc_TypeError
,"null reference");
24707 arg3
= (bool) SWIG_AsBool(obj2
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 Py_INCREF(Py_None
); resultobj
= Py_None
;
24724 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24727 wxTreeItemId
*arg2
= 0 ;
24728 bool arg3
= (bool) True
;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 PyObject
* obj2
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self",(char *) "item",(char *) "bold", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24742 if (arg2
== NULL
) {
24743 PyErr_SetString(PyExc_TypeError
,"null reference");
24747 arg3
= (bool) SWIG_AsBool(obj2
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24764 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24767 wxTreeItemId
*arg2
= 0 ;
24768 wxColour
*arg3
= 0 ;
24770 PyObject
* obj0
= 0 ;
24771 PyObject
* obj1
= 0 ;
24772 PyObject
* obj2
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "item",(char *) "col", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24783 if (arg2
== NULL
) {
24784 PyErr_SetString(PyExc_TypeError
,"null reference");
24789 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 Py_INCREF(Py_None
); resultobj
= Py_None
;
24805 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24808 wxTreeItemId
*arg2
= 0 ;
24809 wxColour
*arg3
= 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 PyObject
* obj2
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self",(char *) "item",(char *) "col", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24824 if (arg2
== NULL
) {
24825 PyErr_SetString(PyExc_TypeError
,"null reference");
24830 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 Py_INCREF(Py_None
); resultobj
= Py_None
;
24846 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24849 wxTreeItemId
*arg2
= 0 ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 PyObject
* obj2
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "item",(char *) "font", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24864 if (arg2
== NULL
) {
24865 PyErr_SetString(PyExc_TypeError
,"null reference");
24868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24871 if (arg3
== NULL
) {
24872 PyErr_SetString(PyExc_TypeError
,"null reference");
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 Py_INCREF(Py_None
); resultobj
= Py_None
;
24889 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24892 wxTreeItemId
*arg2
= 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "item", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24906 if (arg2
== NULL
) {
24907 PyErr_SetString(PyExc_TypeError
,"null reference");
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24926 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24929 wxTreeItemId
*arg2
= 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "item", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24943 if (arg2
== NULL
) {
24944 PyErr_SetString(PyExc_TypeError
,"null reference");
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24963 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24966 wxTreeItemId
*arg2
= 0 ;
24968 PyObject
* obj0
= 0 ;
24969 PyObject
* obj1
= 0 ;
24970 char *kwnames
[] = {
24971 (char *) "self",(char *) "item", NULL
24974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24980 if (arg2
== NULL
) {
24981 PyErr_SetString(PyExc_TypeError
,"null reference");
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25000 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25003 wxTreeItemId
*arg2
= 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "item", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25017 if (arg2
== NULL
) {
25018 PyErr_SetString(PyExc_TypeError
,"null reference");
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25037 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
;
25039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25040 wxTreeItemId
*arg2
= 0 ;
25042 PyObject
* obj0
= 0 ;
25043 PyObject
* obj1
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "self",(char *) "item", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25054 if (arg2
== NULL
) {
25055 PyErr_SetString(PyExc_TypeError
,"null reference");
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25074 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25077 wxTreeItemId
*arg2
= 0 ;
25078 bool arg3
= (bool) True
;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 PyObject
* obj2
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self",(char *) "item",(char *) "recursively", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25093 if (arg2
== NULL
) {
25094 PyErr_SetString(PyExc_TypeError
,"null reference");
25098 arg3
= (bool) SWIG_AsBool(obj2
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25115 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25118 wxTreeItemId result
;
25119 PyObject
* obj0
= 0 ;
25120 char *kwnames
[] = {
25121 (char *) "self", NULL
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25135 wxTreeItemId
* resultptr
;
25136 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25145 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25148 wxTreeItemId result
;
25149 PyObject
* obj0
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25165 wxTreeItemId
* resultptr
;
25166 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25175 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25179 PyObject
* obj0
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= result
;
25201 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25204 wxTreeItemId
*arg2
= 0 ;
25205 wxTreeItemId result
;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self",(char *) "item", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25218 if (arg2
== NULL
) {
25219 PyErr_SetString(PyExc_TypeError
,"null reference");
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25230 wxTreeItemId
* resultptr
;
25231 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25240 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25243 wxTreeItemId
*arg2
= 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self",(char *) "item", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25257 if (arg2
== NULL
) {
25258 PyErr_SetString(PyExc_TypeError
,"null reference");
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= result
;
25275 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25278 wxTreeItemId
*arg2
= 0 ;
25279 void *arg3
= (void *) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 PyObject
* obj1
= 0 ;
25283 PyObject
* obj2
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "item",(char *) "cookie", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25294 if (arg2
== NULL
) {
25295 PyErr_SetString(PyExc_TypeError
,"null reference");
25298 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= result
;
25313 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25316 wxTreeItemId
*arg2
= 0 ;
25317 wxTreeItemId result
;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "item", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25330 if (arg2
== NULL
) {
25331 PyErr_SetString(PyExc_TypeError
,"null reference");
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25342 wxTreeItemId
* resultptr
;
25343 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25352 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
;
25354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25355 wxTreeItemId
*arg2
= 0 ;
25356 wxTreeItemId result
;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "item", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25369 if (arg2
== NULL
) {
25370 PyErr_SetString(PyExc_TypeError
,"null reference");
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25381 wxTreeItemId
* resultptr
;
25382 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25391 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
;
25393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25394 wxTreeItemId
*arg2
= 0 ;
25395 wxTreeItemId result
;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self",(char *) "item", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25408 if (arg2
== NULL
) {
25409 PyErr_SetString(PyExc_TypeError
,"null reference");
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25420 wxTreeItemId
* resultptr
;
25421 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25430 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25433 wxTreeItemId result
;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25450 wxTreeItemId
* resultptr
;
25451 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25460 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25463 wxTreeItemId
*arg2
= 0 ;
25464 wxTreeItemId result
;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "item", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25477 if (arg2
== NULL
) {
25478 PyErr_SetString(PyExc_TypeError
,"null reference");
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25489 wxTreeItemId
* resultptr
;
25490 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25499 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25502 wxTreeItemId
*arg2
= 0 ;
25503 wxTreeItemId result
;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "item", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25516 if (arg2
== NULL
) {
25517 PyErr_SetString(PyExc_TypeError
,"null reference");
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25528 wxTreeItemId
* resultptr
;
25529 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25538 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25541 wxString
*arg2
= 0 ;
25542 int arg3
= (int) -1 ;
25543 int arg4
= (int) -1 ;
25544 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25545 wxTreeItemId result
;
25546 bool temp2
= False
;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 PyObject
* obj2
= 0 ;
25550 PyObject
* obj3
= 0 ;
25551 PyObject
* obj4
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25560 arg2
= wxString_in_helper(obj1
);
25561 if (arg2
== NULL
) SWIG_fail
;
25565 arg3
= (int) SWIG_AsInt(obj2
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25569 arg4
= (int) SWIG_AsInt(obj3
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25584 wxTreeItemId
* resultptr
;
25585 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25602 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25605 wxTreeItemId
*arg2
= 0 ;
25606 wxString
*arg3
= 0 ;
25607 int arg4
= (int) -1 ;
25608 int arg5
= (int) -1 ;
25609 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25610 wxTreeItemId result
;
25611 bool temp3
= False
;
25612 PyObject
* obj0
= 0 ;
25613 PyObject
* obj1
= 0 ;
25614 PyObject
* obj2
= 0 ;
25615 PyObject
* obj3
= 0 ;
25616 PyObject
* obj4
= 0 ;
25617 PyObject
* obj5
= 0 ;
25618 char *kwnames
[] = {
25619 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25628 if (arg2
== NULL
) {
25629 PyErr_SetString(PyExc_TypeError
,"null reference");
25633 arg3
= wxString_in_helper(obj2
);
25634 if (arg3
== NULL
) SWIG_fail
;
25638 arg4
= (int) SWIG_AsInt(obj3
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 arg5
= (int) SWIG_AsInt(obj4
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25657 wxTreeItemId
* resultptr
;
25658 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25675 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25678 wxTreeItemId
*arg2
= 0 ;
25679 wxTreeItemId
*arg3
= 0 ;
25680 wxString
*arg4
= 0 ;
25681 int arg5
= (int) -1 ;
25682 int arg6
= (int) -1 ;
25683 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25684 wxTreeItemId result
;
25685 bool temp4
= False
;
25686 PyObject
* obj0
= 0 ;
25687 PyObject
* obj1
= 0 ;
25688 PyObject
* obj2
= 0 ;
25689 PyObject
* obj3
= 0 ;
25690 PyObject
* obj4
= 0 ;
25691 PyObject
* obj5
= 0 ;
25692 PyObject
* obj6
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25703 if (arg2
== NULL
) {
25704 PyErr_SetString(PyExc_TypeError
,"null reference");
25707 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25710 if (arg3
== NULL
) {
25711 PyErr_SetString(PyExc_TypeError
,"null reference");
25715 arg4
= wxString_in_helper(obj3
);
25716 if (arg4
== NULL
) SWIG_fail
;
25720 arg5
= (int) SWIG_AsInt(obj4
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25724 arg6
= (int) SWIG_AsInt(obj5
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 wxTreeItemId
* resultptr
;
25740 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25757 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25760 wxTreeItemId
*arg2
= 0 ;
25762 wxString
*arg4
= 0 ;
25763 int arg5
= (int) -1 ;
25764 int arg6
= (int) -1 ;
25765 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25766 wxTreeItemId result
;
25767 bool temp4
= False
;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 PyObject
* obj2
= 0 ;
25771 PyObject
* obj3
= 0 ;
25772 PyObject
* obj4
= 0 ;
25773 PyObject
* obj5
= 0 ;
25774 PyObject
* obj6
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25785 if (arg2
== NULL
) {
25786 PyErr_SetString(PyExc_TypeError
,"null reference");
25789 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 arg4
= wxString_in_helper(obj3
);
25793 if (arg4
== NULL
) SWIG_fail
;
25797 arg5
= (int) SWIG_AsInt(obj4
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 arg6
= (int) SWIG_AsInt(obj5
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 wxTreeItemId
* resultptr
;
25817 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25834 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25837 wxTreeItemId
*arg2
= 0 ;
25838 wxString
*arg3
= 0 ;
25839 int arg4
= (int) -1 ;
25840 int arg5
= (int) -1 ;
25841 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25842 wxTreeItemId result
;
25843 bool temp3
= False
;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 PyObject
* obj2
= 0 ;
25847 PyObject
* obj3
= 0 ;
25848 PyObject
* obj4
= 0 ;
25849 PyObject
* obj5
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25860 if (arg2
== NULL
) {
25861 PyErr_SetString(PyExc_TypeError
,"null reference");
25865 arg3
= wxString_in_helper(obj2
);
25866 if (arg3
== NULL
) SWIG_fail
;
25870 arg4
= (int) SWIG_AsInt(obj3
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 arg5
= (int) SWIG_AsInt(obj4
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25878 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25889 wxTreeItemId
* resultptr
;
25890 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25907 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25910 wxTreeItemId
*arg2
= 0 ;
25911 PyObject
* obj0
= 0 ;
25912 PyObject
* obj1
= 0 ;
25913 char *kwnames
[] = {
25914 (char *) "self",(char *) "item", NULL
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25923 if (arg2
== NULL
) {
25924 PyErr_SetString(PyExc_TypeError
,"null reference");
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25944 wxTreeItemId
*arg2
= 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self",(char *) "item", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25957 if (arg2
== NULL
) {
25958 PyErr_SetString(PyExc_TypeError
,"null reference");
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 Py_INCREF(Py_None
); resultobj
= Py_None
;
25975 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
;
25977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25978 PyObject
* obj0
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->DeleteAllItems();
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 Py_INCREF(Py_None
); resultobj
= Py_None
;
26000 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26003 wxTreeItemId
*arg2
= 0 ;
26004 PyObject
* obj0
= 0 ;
26005 PyObject
* obj1
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self",(char *) "item", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26016 if (arg2
== NULL
) {
26017 PyErr_SetString(PyExc_TypeError
,"null reference");
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 Py_INCREF(Py_None
); resultobj
= Py_None
;
26034 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
;
26036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26037 wxTreeItemId
*arg2
= 0 ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 char *kwnames
[] = {
26041 (char *) "self",(char *) "item", NULL
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26050 if (arg2
== NULL
) {
26051 PyErr_SetString(PyExc_TypeError
,"null reference");
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 Py_INCREF(Py_None
); resultobj
= Py_None
;
26068 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26071 wxTreeItemId
*arg2
= 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "item", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26084 if (arg2
== NULL
) {
26085 PyErr_SetString(PyExc_TypeError
,"null reference");
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 Py_INCREF(Py_None
); resultobj
= Py_None
;
26102 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
;
26104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26105 wxTreeItemId
*arg2
= 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self",(char *) "item", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26118 if (arg2
== NULL
) {
26119 PyErr_SetString(PyExc_TypeError
,"null reference");
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 Py_INCREF(Py_None
); resultobj
= Py_None
;
26136 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 (arg1
)->Unselect();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 Py_INCREF(Py_None
); resultobj
= Py_None
;
26161 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26164 wxTreeItemId
*arg2
= 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "item", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26177 if (arg2
== NULL
) {
26178 PyErr_SetString(PyExc_TypeError
,"null reference");
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 Py_INCREF(Py_None
); resultobj
= Py_None
;
26195 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26198 PyObject
* obj0
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->UnselectAll();
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 Py_INCREF(Py_None
); resultobj
= Py_None
;
26220 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26223 wxTreeItemId
*arg2
= 0 ;
26224 bool arg3
= (bool) True
;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 PyObject
* obj2
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self",(char *) "item",(char *) "select", NULL
26232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26238 if (arg2
== NULL
) {
26239 PyErr_SetString(PyExc_TypeError
,"null reference");
26243 arg3
= (bool) SWIG_AsBool(obj2
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 Py_INCREF(Py_None
); resultobj
= Py_None
;
26260 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26263 wxTreeItemId
*arg2
= 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self",(char *) "item", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26276 if (arg2
== NULL
) {
26277 PyErr_SetString(PyExc_TypeError
,"null reference");
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26294 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26297 wxTreeItemId
*arg2
= 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self",(char *) "item", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26310 if (arg2
== NULL
) {
26311 PyErr_SetString(PyExc_TypeError
,"null reference");
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 Py_INCREF(Py_None
); resultobj
= Py_None
;
26328 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, 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_ScrollTo",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
)->ScrollTo((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_EditLabel(PyObject
*, 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_EditLabel",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
)->EditLabel((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_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26399 wxTextCtrl
*result
;
26400 PyObject
* obj0
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= wxPyMake_wxObject(result
);
26424 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26427 wxTreeItemId
*arg2
= 0 ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "item", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26440 if (arg2
== NULL
) {
26441 PyErr_SetString(PyExc_TypeError
,"null reference");
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26448 wxPyEndAllowThreads(__tstate
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26451 Py_INCREF(Py_None
); resultobj
= Py_None
;
26458 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
;
26460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26461 wxPoint
*arg2
= 0 ;
26463 wxTreeItemId result
;
26466 PyObject
* obj0
= 0 ;
26467 PyObject
* obj1
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "point", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26478 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26488 wxTreeItemId
* resultptr
;
26489 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26493 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26494 resultobj
= t_output_helper(resultobj
,o
);
26502 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26505 wxTreeItemId
*arg2
= 0 ;
26506 bool arg3
= (bool) False
;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 PyObject
* obj2
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26521 if (arg2
== NULL
) {
26522 PyErr_SetString(PyExc_TypeError
,"null reference");
26526 arg3
= (bool) SWIG_AsBool(obj2
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= result
;
26543 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
26545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26546 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26548 return Py_BuildValue((char *)"");
26550 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26551 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26556 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26561 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26563 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26570 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxWindow
*arg1
= (wxWindow
*) 0 ;
26573 int arg2
= (int) (int)-1 ;
26574 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26575 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26580 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26581 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26582 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26583 int arg8
= (int) 0 ;
26584 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26585 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26586 wxGenericDirCtrl
*result
;
26587 bool temp3
= False
;
26590 bool temp7
= False
;
26591 bool temp9
= False
;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26594 PyObject
* obj2
= 0 ;
26595 PyObject
* obj3
= 0 ;
26596 PyObject
* obj4
= 0 ;
26597 PyObject
* obj5
= 0 ;
26598 PyObject
* obj6
= 0 ;
26599 PyObject
* obj7
= 0 ;
26600 PyObject
* obj8
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26609 arg2
= (int const) SWIG_AsInt(obj1
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26614 arg3
= wxString_in_helper(obj2
);
26615 if (arg3
== NULL
) SWIG_fail
;
26622 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26628 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26632 arg6
= (long) SWIG_AsLong(obj5
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26637 arg7
= wxString_in_helper(obj6
);
26638 if (arg7
== NULL
) SWIG_fail
;
26643 arg8
= (int) SWIG_AsInt(obj7
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26648 arg9
= wxString_in_helper(obj8
);
26649 if (arg9
== NULL
) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26691 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxGenericDirCtrl
*result
;
26694 char *kwnames
[] = {
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26713 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
;
26715 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26716 wxWindow
*arg2
= (wxWindow
*) 0 ;
26717 int arg3
= (int) (int)-1 ;
26718 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26719 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26720 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26721 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26722 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26723 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26724 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26725 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26726 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26727 int arg9
= (int) 0 ;
26728 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26729 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26731 bool temp4
= False
;
26734 bool temp8
= False
;
26735 bool temp10
= False
;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 PyObject
* obj2
= 0 ;
26739 PyObject
* obj3
= 0 ;
26740 PyObject
* obj4
= 0 ;
26741 PyObject
* obj5
= 0 ;
26742 PyObject
* obj6
= 0 ;
26743 PyObject
* obj7
= 0 ;
26744 PyObject
* obj8
= 0 ;
26745 PyObject
* obj9
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26756 arg3
= (int const) SWIG_AsInt(obj2
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26761 arg4
= wxString_in_helper(obj3
);
26762 if (arg4
== NULL
) SWIG_fail
;
26769 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26775 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26779 arg7
= (long) SWIG_AsLong(obj6
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26784 arg8
= wxString_in_helper(obj7
);
26785 if (arg8
== NULL
) SWIG_fail
;
26790 arg9
= (int) SWIG_AsInt(obj8
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26795 arg10
= wxString_in_helper(obj9
);
26796 if (arg10
== NULL
) SWIG_fail
;
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26840 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26843 wxString
*arg2
= 0 ;
26845 bool temp2
= False
;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "path", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26856 arg2
= wxString_in_helper(obj1
);
26857 if (arg2
== NULL
) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
;
26886 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26916 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26917 PyObject
*resultobj
;
26918 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26919 wxString
*arg2
= 0 ;
26920 bool temp2
= False
;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 char *kwnames
[] = {
26924 (char *) "self",(char *) "path", NULL
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26931 arg2
= wxString_in_helper(obj1
);
26932 if (arg2
== NULL
) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 Py_INCREF(Py_None
); resultobj
= Py_None
;
26957 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26989 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
;
26991 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26993 PyObject
* obj0
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27021 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27024 wxString
*arg2
= 0 ;
27025 bool temp2
= False
;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 char *kwnames
[] = {
27029 (char *) "self",(char *) "path", NULL
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27036 arg2
= wxString_in_helper(obj1
);
27037 if (arg2
== NULL
) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 (arg1
)->SetPath((wxString
const &)*arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 Py_INCREF(Py_None
); resultobj
= Py_None
;
27062 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27066 PyObject
* obj0
= 0 ;
27067 PyObject
* obj1
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "show", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27075 arg2
= (bool) SWIG_AsBool(obj1
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 (arg1
)->ShowHidden(arg2
);
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 Py_INCREF(Py_None
); resultobj
= Py_None
;
27091 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
;
27093 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27095 PyObject
* obj0
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 result
= (bool)(arg1
)->GetShowHidden();
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27119 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
;
27121 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27151 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27154 wxString
*arg2
= 0 ;
27155 bool temp2
= False
;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self",(char *) "filter", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 arg2
= wxString_in_helper(obj1
);
27167 if (arg2
== NULL
) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 (arg1
)->SetFilter((wxString
const &)*arg2
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 Py_INCREF(Py_None
); resultobj
= Py_None
;
27192 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
;
27194 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_FromInt((int)result
);
27218 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "n", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27231 arg2
= (int) SWIG_AsInt(obj1
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 (arg1
)->SetFilterIndex(arg2
);
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 Py_INCREF(Py_None
); resultobj
= Py_None
;
27247 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27250 wxTreeItemId result
;
27251 PyObject
* obj0
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "self", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (arg1
)->GetRootId();
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27267 wxTreeItemId
* resultptr
;
27268 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27277 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27280 wxPyTreeCtrl
*result
;
27281 PyObject
* obj0
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= wxPyMake_wxObject(result
);
27305 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27308 wxDirFilterListCtrl
*result
;
27309 PyObject
* obj0
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27331 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27334 wxTreeItemId arg2
;
27335 wxString
*arg3
= 0 ;
27337 wxTreeItemId result
;
27338 wxTreeItemId
*argp2
;
27339 bool temp3
= False
;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 PyObject
* obj2
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self",(char *) "parentId",(char *) "path", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27352 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27353 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27356 arg3
= wxString_in_helper(obj2
);
27357 if (arg3
== NULL
) SWIG_fail
;
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27368 wxTreeItemId
* resultptr
;
27369 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27373 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27374 resultobj
= t_output_helper(resultobj
,o
);
27390 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->DoResize();
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 (arg1
)->ReCreateTree();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 Py_INCREF(Py_None
); resultobj
= Py_None
;
27440 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
27442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27443 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27445 return Py_BuildValue((char *)"");
27447 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27450 int arg2
= (int) (int)-1 ;
27451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27455 long arg5
= (long) 0 ;
27456 wxDirFilterListCtrl
*result
;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 PyObject
* obj2
= 0 ;
27462 PyObject
* obj3
= 0 ;
27463 PyObject
* obj4
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 arg2
= (int const) SWIG_AsInt(obj1
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27478 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27484 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27488 arg5
= (long) SWIG_AsLong(obj4
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27505 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
;
27507 wxDirFilterListCtrl
*result
;
27508 char *kwnames
[] = {
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27527 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
;
27529 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27530 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27531 int arg3
= (int) (int)-1 ;
27532 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27533 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27534 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27535 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27536 long arg6
= (long) 0 ;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 PyObject
* obj2
= 0 ;
27543 PyObject
* obj3
= 0 ;
27544 PyObject
* obj4
= 0 ;
27545 PyObject
* obj5
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27556 arg3
= (int const) SWIG_AsInt(obj2
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27572 arg6
= (long) SWIG_AsLong(obj5
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27591 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27594 wxString
*arg2
= 0 ;
27596 bool temp2
= False
;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 PyObject
* obj2
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27608 arg2
= wxString_in_helper(obj1
);
27609 if (arg2
== NULL
) SWIG_fail
;
27612 arg3
= (int) SWIG_AsInt(obj2
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27639 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27641 return Py_BuildValue((char *)"");
27643 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxWindow
*arg1
= (wxWindow
*) 0 ;
27647 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27648 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27649 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27650 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27651 long arg5
= (long) 0 ;
27652 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27653 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27654 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27655 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27656 wxPyControl
*result
;
27659 bool temp7
= False
;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 PyObject
* obj2
= 0 ;
27663 PyObject
* obj3
= 0 ;
27664 PyObject
* obj4
= 0 ;
27665 PyObject
* obj5
= 0 ;
27666 PyObject
* obj6
= 0 ;
27667 char *kwnames
[] = {
27668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27674 arg2
= (int const) SWIG_AsInt(obj1
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27685 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27689 arg5
= (long) SWIG_AsLong(obj4
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27693 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27696 if (arg6
== NULL
) {
27697 PyErr_SetString(PyExc_TypeError
,"null reference");
27703 arg7
= wxString_in_helper(obj6
);
27704 if (arg7
== NULL
) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27730 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 wxPyControl
*result
;
27733 char *kwnames
[] = {
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 result
= (wxPyControl
*)new wxPyControl();
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27752 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27755 PyObject
*arg2
= (PyObject
*) 0 ;
27756 PyObject
*arg3
= (PyObject
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 PyObject
* obj2
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "self",(char *) "self",(char *) "_class", NULL
27764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 Py_INCREF(Py_None
); resultobj
= Py_None
;
27783 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27790 PyObject
* obj0
= 0 ;
27791 PyObject
* obj1
= 0 ;
27792 PyObject
* obj2
= 0 ;
27793 PyObject
* obj3
= 0 ;
27794 PyObject
* obj4
= 0 ;
27795 char *kwnames
[] = {
27796 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27802 arg2
= (int) SWIG_AsInt(obj1
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27804 arg3
= (int) SWIG_AsInt(obj2
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27806 arg4
= (int) SWIG_AsInt(obj3
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27808 arg5
= (int) SWIG_AsInt(obj4
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 Py_INCREF(Py_None
); resultobj
= Py_None
;
27824 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27825 PyObject
*resultobj
;
27826 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27831 int arg6
= (int) wxSIZE_AUTO
;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 PyObject
* obj2
= 0 ;
27835 PyObject
* obj3
= 0 ;
27836 PyObject
* obj4
= 0 ;
27837 PyObject
* obj5
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27845 arg2
= (int) SWIG_AsInt(obj1
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27847 arg3
= (int) SWIG_AsInt(obj2
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27849 arg4
= (int) SWIG_AsInt(obj3
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27851 arg5
= (int) SWIG_AsInt(obj4
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 arg6
= (int) SWIG_AsInt(obj5
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 Py_INCREF(Py_None
); resultobj
= Py_None
;
27871 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 PyObject
* obj2
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self",(char *) "width",(char *) "height", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27886 arg2
= (int) SWIG_AsInt(obj1
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27888 arg3
= (int) SWIG_AsInt(obj2
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27892 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27897 Py_INCREF(Py_None
); resultobj
= Py_None
;
27904 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27909 PyObject
* obj0
= 0 ;
27910 PyObject
* obj1
= 0 ;
27911 PyObject
* obj2
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self",(char *) "x",(char *) "y", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27919 arg2
= (int) SWIG_AsInt(obj1
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27921 arg3
= (int) SWIG_AsInt(obj2
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 Py_INCREF(Py_None
); resultobj
= Py_None
;
27937 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27940 int *arg2
= (int *) 0 ;
27941 int *arg3
= (int *) 0 ;
27944 PyObject
* obj0
= 0 ;
27945 char *kwnames
[] = {
27946 (char *) "self", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27964 resultobj
= t_output_helper(resultobj
,o
);
27967 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27968 resultobj
= t_output_helper(resultobj
,o
);
27976 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27979 int *arg2
= (int *) 0 ;
27980 int *arg3
= (int *) 0 ;
27983 PyObject
* obj0
= 0 ;
27984 char *kwnames
[] = {
27985 (char *) "self", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28003 resultobj
= t_output_helper(resultobj
,o
);
28006 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28007 resultobj
= t_output_helper(resultobj
,o
);
28015 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28018 int *arg2
= (int *) 0 ;
28019 int *arg3
= (int *) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 char *kwnames
[] = {
28024 (char *) "self", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28039 Py_INCREF(Py_None
); resultobj
= Py_None
;
28041 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28042 resultobj
= t_output_helper(resultobj
,o
);
28045 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28046 resultobj
= t_output_helper(resultobj
,o
);
28054 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
;
28056 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28058 PyObject
* obj0
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28074 wxSize
* resultptr
;
28075 resultptr
= new wxSize((wxSize
&) result
);
28076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28084 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
;
28086 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28088 PyObject
* obj0
= 0 ;
28089 char *kwnames
[] = {
28090 (char *) "self", NULL
28093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28104 wxSize
* resultptr
;
28105 resultptr
= new wxSize((wxSize
&) result
);
28106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28114 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28117 PyObject
* obj0
= 0 ;
28118 char *kwnames
[] = {
28119 (char *) "self", NULL
28122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 (arg1
)->base_InitDialog();
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 Py_INCREF(Py_None
); resultobj
= Py_None
;
28139 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "self", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (bool)(arg1
)->base_TransferDataToWindow();
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28167 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
;
28169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28171 PyObject
* obj0
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "self", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28195 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28196 PyObject
*resultobj
;
28197 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28199 PyObject
* obj0
= 0 ;
28200 char *kwnames
[] = {
28201 (char *) "self", NULL
28204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 result
= (bool)(arg1
)->base_Validate();
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28223 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
;
28225 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28227 PyObject
* obj0
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28251 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28255 PyObject
* obj0
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28279 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 char *kwnames
[] = {
28285 (char *) "self", NULL
28288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28299 wxSize
* resultptr
;
28300 resultptr
= new wxSize((wxSize
&) result
);
28301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28309 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28312 wxWindow
*arg2
= (wxWindow
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self",(char *) "child", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 (arg1
)->base_AddChild(arg2
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 Py_INCREF(Py_None
); resultobj
= Py_None
;
28338 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28340 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28341 wxWindow
*arg2
= (wxWindow
*) 0 ;
28342 PyObject
* obj0
= 0 ;
28343 PyObject
* obj1
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self",(char *) "child", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 (arg1
)->base_RemoveChild(arg2
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (bool)(arg1
)->base_ShouldInheritColours();
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28395 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28398 wxColour
*arg2
= 0 ;
28400 PyObject
* obj0
= 0 ;
28401 PyObject
* obj1
= 0 ;
28402 char *kwnames
[] = {
28403 (char *) "self",(char *) "c", NULL
28406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 Py_INCREF(Py_None
); resultobj
= Py_None
;
28427 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
28429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28430 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28432 return Py_BuildValue((char *)"");
28434 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28437 int arg2
= (int) 0 ;
28438 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28439 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28440 wxHelpEvent
*result
;
28442 PyObject
* obj0
= 0 ;
28443 PyObject
* obj1
= 0 ;
28444 PyObject
* obj2
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "type",(char *) "winid",(char *) "pt", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28451 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28455 arg2
= (int) SWIG_AsInt(obj1
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28478 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
;
28480 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28482 PyObject
* obj0
= 0 ;
28483 char *kwnames
[] = {
28484 (char *) "self", NULL
28487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28498 wxPoint
* resultptr
;
28499 resultptr
= new wxPoint((wxPoint
&) result
);
28500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28508 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28511 wxPoint
*arg2
= 0 ;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self",(char *) "pos", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 char *kwnames
[] = {
28546 (char *) "self", NULL
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28556 result
= (wxString
*) &_result_ref
;
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28566 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28575 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
;
28577 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28578 wxString
*arg2
= 0 ;
28579 bool temp2
= False
;
28580 PyObject
* obj0
= 0 ;
28581 PyObject
* obj1
= 0 ;
28582 char *kwnames
[] = {
28583 (char *) "self",(char *) "link", NULL
28586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28590 arg2
= wxString_in_helper(obj1
);
28591 if (arg2
== NULL
) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 (arg1
)->SetLink((wxString
const &)*arg2
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 Py_INCREF(Py_None
); resultobj
= Py_None
;
28616 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
;
28618 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28620 PyObject
* obj0
= 0 ;
28621 char *kwnames
[] = {
28622 (char *) "self", NULL
28625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28632 result
= (wxString
*) &_result_ref
;
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28642 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28651 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
;
28653 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28654 wxString
*arg2
= 0 ;
28655 bool temp2
= False
;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 char *kwnames
[] = {
28659 (char *) "self",(char *) "target", NULL
28662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28666 arg2
= wxString_in_helper(obj1
);
28667 if (arg2
== NULL
) SWIG_fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 (arg1
)->SetTarget((wxString
const &)*arg2
);
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 Py_INCREF(Py_None
); resultobj
= Py_None
;
28692 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
28694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28695 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28697 return Py_BuildValue((char *)"");
28699 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxWindow
*arg1
= (wxWindow
*) NULL
;
28702 bool arg2
= (bool) True
;
28703 wxContextHelp
*result
;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "window",(char *) "doNow", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28716 arg2
= (bool) SWIG_AsBool(obj1
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28733 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 Py_INCREF(Py_None
); resultobj
= Py_None
;
28758 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
;
28760 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28761 wxWindow
*arg2
= (wxWindow
*) NULL
;
28763 PyObject
* obj0
= 0 ;
28764 PyObject
* obj1
= 0 ;
28765 char *kwnames
[] = {
28766 (char *) "self",(char *) "window", NULL
28769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28792 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28793 PyObject
*resultobj
;
28794 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28796 PyObject
* obj0
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (bool)(arg1
)->EndContextHelp();
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28820 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
28822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28823 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28825 return Py_BuildValue((char *)"");
28827 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxWindow
*arg1
= (wxWindow
*) 0 ;
28830 int arg2
= (int) wxID_CONTEXT_HELP
;
28831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28835 long arg5
= (long) wxBU_AUTODRAW
;
28836 wxContextHelpButton
*result
;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 PyObject
* obj2
= 0 ;
28842 PyObject
* obj3
= 0 ;
28843 PyObject
* obj4
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28852 arg2
= (int) SWIG_AsInt(obj1
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28858 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28864 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28868 arg5
= (long) SWIG_AsLong(obj4
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28885 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
28887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28888 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28890 return Py_BuildValue((char *)"");
28892 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
;
28894 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28895 wxHelpProvider
*result
;
28896 PyObject
* obj0
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "helpProvider", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28918 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
;
28920 wxHelpProvider
*result
;
28921 char *kwnames
[] = {
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28940 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28943 wxWindow
*arg2
= (wxWindow
*) 0 ;
28945 PyObject
* obj0
= 0 ;
28946 PyObject
* obj1
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "window", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28976 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28979 wxWindow
*arg2
= (wxWindow
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "self",(char *) "window", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (bool)(arg1
)->ShowHelp(arg2
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29008 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
;
29010 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29011 wxWindow
*arg2
= (wxWindow
*) 0 ;
29012 wxString
*arg3
= 0 ;
29013 bool temp3
= False
;
29014 PyObject
* obj0
= 0 ;
29015 PyObject
* obj1
= 0 ;
29016 PyObject
* obj2
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self",(char *) "window",(char *) "text", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29027 arg3
= wxString_in_helper(obj2
);
29028 if (arg3
== NULL
) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 Py_INCREF(Py_None
); resultobj
= Py_None
;
29053 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29054 PyObject
*resultobj
;
29055 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29057 wxString
*arg3
= 0 ;
29058 bool temp3
= False
;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "self",(char *) "id",(char *) "text", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29069 arg2
= (int) SWIG_AsInt(obj1
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 arg3
= wxString_in_helper(obj2
);
29073 if (arg3
== NULL
) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 Py_INCREF(Py_None
); resultobj
= Py_None
;
29098 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29101 wxWindow
*arg2
= (wxWindow
*) 0 ;
29102 PyObject
* obj0
= 0 ;
29103 PyObject
* obj1
= 0 ;
29104 char *kwnames
[] = {
29105 (char *) "self",(char *) "window", NULL
29108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 (arg1
)->RemoveHelp(arg2
);
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 Py_INCREF(Py_None
); resultobj
= Py_None
;
29127 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29128 PyObject
*resultobj
;
29129 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29130 PyObject
* obj0
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 wxHelpProvider_Destroy(arg1
);
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 Py_INCREF(Py_None
); resultobj
= Py_None
;
29152 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29155 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29157 return Py_BuildValue((char *)"");
29159 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
;
29161 wxSimpleHelpProvider
*result
;
29162 char *kwnames
[] = {
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29181 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29184 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29186 return Py_BuildValue((char *)"");
29188 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxBitmap
*arg1
= 0 ;
29191 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29192 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29193 wxGenericDragImage
*result
;
29194 PyObject
* obj0
= 0 ;
29195 PyObject
* obj1
= 0 ;
29196 char *kwnames
[] = {
29197 (char *) "image",(char *) "cursor", NULL
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29204 if (arg1
== NULL
) {
29205 PyErr_SetString(PyExc_TypeError
,"null reference");
29209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29212 if (arg2
== NULL
) {
29213 PyErr_SetString(PyExc_TypeError
,"null reference");
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29231 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29234 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29235 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29236 wxGenericDragImage
*result
;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 char *kwnames
[] = {
29240 (char *) "image",(char *) "cursor", NULL
29243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29247 if (arg1
== NULL
) {
29248 PyErr_SetString(PyExc_TypeError
,"null reference");
29252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29255 if (arg2
== NULL
) {
29256 PyErr_SetString(PyExc_TypeError
,"null reference");
29261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29262 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29274 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxString
*arg1
= 0 ;
29277 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29278 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29279 wxGenericDragImage
*result
;
29280 bool temp1
= False
;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "str",(char *) "cursor", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29289 arg1
= wxString_in_helper(obj0
);
29290 if (arg1
== NULL
) SWIG_fail
;
29294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29297 if (arg2
== NULL
) {
29298 PyErr_SetString(PyExc_TypeError
,"null reference");
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29324 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxPyTreeCtrl
*arg1
= 0 ;
29327 wxTreeItemId
*arg2
= 0 ;
29328 wxGenericDragImage
*result
;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 char *kwnames
[] = {
29332 (char *) "treeCtrl",(char *) "id", NULL
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29339 if (arg1
== NULL
) {
29340 PyErr_SetString(PyExc_TypeError
,"null reference");
29343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29346 if (arg2
== NULL
) {
29347 PyErr_SetString(PyExc_TypeError
,"null reference");
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29364 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
;
29366 wxPyListCtrl
*arg1
= 0 ;
29368 wxGenericDragImage
*result
;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 char *kwnames
[] = {
29372 (char *) "listCtrl",(char *) "id", NULL
29375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29379 if (arg1
== NULL
) {
29380 PyErr_SetString(PyExc_TypeError
,"null reference");
29383 arg2
= (long) SWIG_AsLong(obj1
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29399 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 char *kwnames
[] = {
29404 (char *) "self", NULL
29407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 wxPyEndAllowThreads(__tstate
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29417 Py_INCREF(Py_None
); resultobj
= Py_None
;
29424 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
;
29426 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29427 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29428 PyObject
* obj0
= 0 ;
29429 PyObject
* obj1
= 0 ;
29430 char *kwnames
[] = {
29431 (char *) "self",(char *) "bitmap", NULL
29434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 (arg1
)->SetBackingBitmap(arg2
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 Py_INCREF(Py_None
); resultobj
= Py_None
;
29453 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29456 wxPoint
*arg2
= 0 ;
29457 wxWindow
*arg3
= (wxWindow
*) 0 ;
29458 bool arg4
= (bool) False
;
29459 wxRect
*arg5
= (wxRect
*) NULL
;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 PyObject
* obj2
= 0 ;
29465 PyObject
* obj3
= 0 ;
29466 PyObject
* obj4
= 0 ;
29467 char *kwnames
[] = {
29468 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29481 arg4
= (bool) SWIG_AsBool(obj3
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29485 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29504 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29507 wxPoint
*arg2
= 0 ;
29508 wxWindow
*arg3
= (wxWindow
*) 0 ;
29509 wxWindow
*arg4
= (wxWindow
*) 0 ;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 PyObject
* obj2
= 0 ;
29515 PyObject
* obj3
= 0 ;
29516 char *kwnames
[] = {
29517 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29527 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29529 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29547 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (bool)(arg1
)->EndDrag();
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29575 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29578 wxPoint
*arg2
= 0 ;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self",(char *) "pt", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29610 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
;
29612 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29614 PyObject
* obj0
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (bool)(arg1
)->Show();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29638 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
;
29640 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29642 PyObject
* obj0
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (bool)(arg1
)->Hide();
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29666 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29667 PyObject
*resultobj
;
29668 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29669 wxPoint
*arg2
= 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self",(char *) "pos", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 wxRect
* resultptr
;
29694 resultptr
= new wxRect((wxRect
&) result
);
29695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29703 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
;
29705 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29707 wxPoint
*arg3
= 0 ;
29710 PyObject
* obj0
= 0 ;
29711 PyObject
* obj1
= 0 ;
29712 PyObject
* obj2
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self",(char *) "dc",(char *) "pos", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29723 if (arg2
== NULL
) {
29724 PyErr_SetString(PyExc_TypeError
,"null reference");
29729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29747 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
;
29749 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29751 wxMemoryDC
*arg3
= 0 ;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 PyObject
* obj2
= 0 ;
29760 PyObject
* obj3
= 0 ;
29761 PyObject
* obj4
= 0 ;
29762 char *kwnames
[] = {
29763 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29772 if (arg2
== NULL
) {
29773 PyErr_SetString(PyExc_TypeError
,"null reference");
29776 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29779 if (arg3
== NULL
) {
29780 PyErr_SetString(PyExc_TypeError
,"null reference");
29785 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29789 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29807 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
;
29809 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29810 wxPoint
*arg2
= 0 ;
29811 wxPoint
*arg3
= 0 ;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 PyObject
* obj2
= 0 ;
29820 PyObject
* obj3
= 0 ;
29821 PyObject
* obj4
= 0 ;
29822 char *kwnames
[] = {
29823 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29835 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29837 arg4
= (bool) SWIG_AsBool(obj3
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29839 arg5
= (bool) SWIG_AsBool(obj4
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29857 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
29859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29860 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29862 return Py_BuildValue((char *)"");
29864 static PyMethodDef SwigMethods
[] = {
29865 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
29871 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
29886 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
29897 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
29904 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
29922 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
29935 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
29939 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29940 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29941 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29942 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29943 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29944 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
29945 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29946 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29947 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29948 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
29949 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29950 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29951 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29952 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29953 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29954 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29955 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
29956 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29957 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29958 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29959 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29960 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29961 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29962 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29963 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29964 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29965 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29966 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29967 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29968 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29969 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29970 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29971 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29972 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29973 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29974 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29975 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29976 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29977 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
29978 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29979 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29980 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29981 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29982 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29985 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
29986 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
, NULL
},
29987 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29988 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29989 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29990 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29991 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29992 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29993 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29994 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29995 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29996 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29997 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29998 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29999 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30000 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30001 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30002 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30003 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30004 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30005 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30006 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30007 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30008 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30009 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30010 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30011 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30012 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30013 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30014 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30015 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
30016 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30017 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30018 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30019 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30020 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30021 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30022 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30023 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30024 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30025 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30026 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30027 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30028 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30029 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30030 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30031 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30032 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30033 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30034 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30035 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30036 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30037 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30038 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30039 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30040 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30041 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30042 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30043 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30044 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30045 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30046 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30047 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30048 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30049 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30050 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30051 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30052 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30053 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30054 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30055 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30056 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30057 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30058 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30059 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30060 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30061 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30062 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30063 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30064 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30065 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30066 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30067 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30068 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30069 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
30070 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30071 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30072 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30073 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30074 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
30075 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30076 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30077 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30078 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30079 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30080 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30081 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30082 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30083 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30084 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30085 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
30086 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30087 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30088 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30089 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30090 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30091 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30092 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30093 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30094 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30095 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30096 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30097 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
30098 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30099 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30100 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30101 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30102 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30103 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30104 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30105 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30106 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30107 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30108 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
30109 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30110 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30111 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30112 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
30113 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30114 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30115 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30116 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30117 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30118 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30119 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30120 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30121 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30122 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30123 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30124 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30125 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30126 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30127 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30128 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30129 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
30130 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30131 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30132 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30133 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30134 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30135 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
30136 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30137 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30138 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30139 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30140 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30141 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30142 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30143 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30144 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30145 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30146 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30147 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30148 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30149 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30150 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30151 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30152 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30153 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30154 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30155 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30156 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30157 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30158 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30159 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30160 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
30161 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30162 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30163 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
30164 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30165 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30166 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30167 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30168 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30169 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30170 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30171 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30172 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30173 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30174 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30175 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30176 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30177 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30178 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30179 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30180 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30181 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30182 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30183 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
30184 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30185 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30186 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30187 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30188 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30189 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
30190 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30191 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30192 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30193 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30194 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30195 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30196 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30197 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30198 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
30199 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30200 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
30201 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30202 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30203 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30204 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30205 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
30206 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30207 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
30208 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30209 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30210 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30211 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30212 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
30213 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30214 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30215 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30216 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30217 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
30218 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30219 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30220 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30221 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30222 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30223 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30224 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30225 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30226 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30227 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30228 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30229 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30230 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30231 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30232 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30233 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30234 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30235 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30236 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30237 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30238 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30239 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30240 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30241 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30242 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30243 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30244 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30245 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30246 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30247 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
30248 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30249 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30250 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30251 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30252 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30253 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30254 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30255 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30256 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30257 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30258 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30259 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30260 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30261 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30262 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30263 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30264 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30265 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30266 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30267 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30268 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30269 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30270 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30271 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30272 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30273 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30274 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30275 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30276 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30277 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30278 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30279 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30280 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30281 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30282 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30283 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30284 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30285 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30286 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30287 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30288 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30289 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30290 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30291 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30292 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
30293 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30294 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30295 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30296 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30297 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
30298 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30299 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30300 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30301 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30302 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30303 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30304 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30305 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30306 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30307 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30308 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30309 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
30310 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30311 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30312 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30313 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30314 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30315 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30316 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30317 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30318 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30319 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30320 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30321 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30322 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30323 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30324 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30325 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30326 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30327 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30328 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30329 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30330 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30331 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30332 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30333 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30334 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30335 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30336 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30337 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30338 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30339 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30340 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30341 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30342 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30343 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30344 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30345 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30346 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30347 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30348 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30349 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30350 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30351 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30352 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30353 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30354 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30355 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30356 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30357 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30358 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30359 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30360 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30361 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
30362 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30363 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30364 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30365 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30366 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30367 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30368 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30369 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30370 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30371 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30372 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30373 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30374 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30375 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30376 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30377 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30378 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30379 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30380 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30381 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30382 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30383 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30384 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30385 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30386 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30387 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30388 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
30389 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30390 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30391 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30392 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30393 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30394 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30395 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30396 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30397 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30398 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30399 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30400 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30401 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30402 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30403 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30404 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30405 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30406 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30407 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30408 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30410 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30411 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30412 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30413 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30414 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30415 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30416 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30417 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30418 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30420 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30424 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30425 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30428 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30430 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30431 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30432 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30433 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30434 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30436 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30437 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30438 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30439 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30440 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30441 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30445 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30447 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30449 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30450 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30451 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30453 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30456 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
30459 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30462 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30463 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30465 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30467 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
30471 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30477 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
30479 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30485 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
30486 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30487 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30494 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30498 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
30502 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30507 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30511 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30512 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30515 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30517 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30521 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30523 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30525 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30544 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30571 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
30576 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
30598 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
30603 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
30627 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
30635 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
30640 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
30642 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
30651 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
30653 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
30671 { NULL
, NULL
, 0, NULL
}
30675 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30677 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30678 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30680 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30681 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30683 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30684 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30686 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30687 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30689 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30690 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30692 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30693 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30695 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30696 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30698 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30699 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30701 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30702 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30704 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30705 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30707 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30708 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30710 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30711 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30713 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30714 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30716 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30717 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30719 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30720 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30722 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30723 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30725 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30726 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30728 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30729 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30731 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30734 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30735 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30737 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30738 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30740 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30741 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30743 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30746 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30747 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30749 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30750 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30752 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30753 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30755 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30758 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30759 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30761 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30762 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30764 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30765 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30767 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30768 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30770 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30771 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30773 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30774 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30776 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30777 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30779 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30780 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30782 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30783 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30785 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30786 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30788 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30789 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30791 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30792 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30794 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30795 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30797 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30798 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30800 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30801 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30803 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30804 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30806 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30807 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30809 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30810 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30812 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30813 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30815 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30816 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30818 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30821 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30822 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30824 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30825 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30827 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30828 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30830 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30831 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30833 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30834 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30836 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30837 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30839 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30840 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30842 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30843 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30845 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30846 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30848 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30849 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30851 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30852 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30854 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30855 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30857 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30858 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30860 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30861 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30863 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30864 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30866 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30867 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30869 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30870 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30872 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30873 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30875 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30876 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30878 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30879 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30881 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30882 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30884 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30885 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30887 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30888 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30890 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30891 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30893 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30894 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30896 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30897 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30899 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30900 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30902 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30903 return (void *)((wxControl
*) ((wxGauge
*) x
));
30905 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30906 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30908 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30909 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30911 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30912 return (void *)((wxControl
*) ((wxButton
*) x
));
30914 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30915 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30917 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30918 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30920 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30921 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30923 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30924 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30926 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30927 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30929 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30930 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30932 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30933 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30935 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30936 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30938 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30939 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30941 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30942 return (void *)((wxControl
*) ((wxSlider
*) x
));
30944 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30945 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30947 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30948 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30950 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30951 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30953 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30954 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30956 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30957 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30959 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30960 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30962 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30963 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30965 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30966 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30968 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30969 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30971 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30972 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30974 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30975 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30977 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30978 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30980 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30983 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30984 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30986 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30987 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30989 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30990 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30992 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30995 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30996 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30998 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31001 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31004 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31005 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31007 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31008 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31010 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31013 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31016 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31019 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31022 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31025 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31026 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31028 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31031 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31034 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31037 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31040 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31043 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31046 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31049 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31052 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31055 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31058 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31061 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31064 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31067 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31070 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31073 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31076 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31079 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31082 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31085 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31088 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31089 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31091 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31094 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31097 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31100 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31101 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31103 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31104 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31106 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31107 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31109 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31110 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31112 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31113 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31115 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31116 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31118 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31119 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31121 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31122 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31124 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31125 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31127 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31128 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31130 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31133 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31134 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31136 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31139 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31140 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31142 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31143 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31145 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31146 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31148 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31149 return (void *)((wxObject
*) ((wxSizer
*) x
));
31151 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31152 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31154 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31157 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31160 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31163 static void *_p_wxEventTo_p_wxObject(void *x
) {
31164 return (void *)((wxObject
*) ((wxEvent
*) x
));
31166 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31167 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31169 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31170 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31172 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31173 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31175 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31178 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31181 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31184 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31185 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31187 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31188 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31190 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31191 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31193 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31194 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31196 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31197 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31199 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31200 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31202 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31205 static void *_p_wxControlTo_p_wxObject(void *x
) {
31206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31208 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31211 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31214 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31217 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31220 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31223 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31224 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31226 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31229 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31230 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31232 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31233 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31235 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31238 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31241 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31244 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31245 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31247 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31250 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31253 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31254 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31256 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31259 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31262 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31263 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31265 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31266 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31268 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31271 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31272 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31274 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31275 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31277 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31278 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31280 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31281 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31283 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31284 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31286 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31287 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31289 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31292 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31293 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31295 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31296 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31298 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31299 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31301 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31302 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31304 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31305 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31307 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31310 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31313 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31314 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31316 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31317 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31319 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31320 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31322 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31323 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31325 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31326 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31328 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31329 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31331 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31332 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31334 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31337 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31340 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31343 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31346 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31349 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31352 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31355 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31358 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31359 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31361 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31364 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31367 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31370 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31373 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31374 return (void *)((wxObject
*) ((wxListItem
*) x
));
31376 static void *_p_wxImageTo_p_wxObject(void *x
) {
31377 return (void *)((wxObject
*) ((wxImage
*) x
));
31379 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31380 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31382 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31383 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31385 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31388 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31389 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31391 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31394 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31395 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31397 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31400 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31403 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31404 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31406 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31407 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31409 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31410 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31412 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31413 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31415 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31418 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31419 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31421 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31422 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31424 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31425 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31427 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31428 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31430 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31431 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31433 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31434 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31436 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31437 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31439 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31442 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31445 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31446 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31448 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31451 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31452 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31454 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31455 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31457 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31460 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31463 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31464 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31466 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31469 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31472 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31473 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31475 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31476 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31478 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31479 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31481 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31482 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31484 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31485 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31487 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31488 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31490 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31491 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31493 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31494 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31496 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31497 return (void *)((wxWindow
*) ((wxControl
*) x
));
31499 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31500 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31502 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31503 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31505 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31506 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31508 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31509 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31511 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31512 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31514 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31515 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31517 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31518 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31520 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31521 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31523 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31524 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31526 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31527 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31529 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31530 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31532 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31533 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31535 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31536 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31538 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31539 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31541 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31542 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31544 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31545 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31547 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31548 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31550 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31551 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31553 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31554 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31556 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31557 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31559 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31560 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31562 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31563 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31565 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31566 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31568 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31569 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31571 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31572 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31574 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31575 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31577 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31578 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31580 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31581 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31583 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31584 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31586 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31587 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31589 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31590 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31592 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31593 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31595 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31596 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31598 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31599 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31601 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31602 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31604 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31605 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31607 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31608 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31610 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31611 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31613 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31614 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31616 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31617 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31619 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31620 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31622 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31623 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31625 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31626 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31628 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31629 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31631 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31632 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31634 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31635 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31637 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31638 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31640 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31641 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31643 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31644 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31646 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}};
31647 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}};
31648 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}};
31649 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}};
31650 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}};
31651 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}};
31652 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}};
31653 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}};
31654 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}};
31655 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}};
31656 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}};
31657 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}};
31658 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}};
31659 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}};
31660 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}};
31661 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}};
31662 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}};
31663 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}};
31664 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}};
31665 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}};
31666 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}};
31667 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}};
31668 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}};
31669 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}};
31670 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}};
31671 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}};
31672 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}};
31673 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}};
31674 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}};
31675 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}};
31676 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}};
31677 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}};
31678 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}};
31679 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}};
31680 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}};
31681 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}};
31682 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}};
31683 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}};
31684 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}};
31685 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}};
31686 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}};
31687 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}};
31688 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}};
31689 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}};
31690 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}};
31691 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}};
31692 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}};
31693 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}};
31694 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}};
31695 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}};
31696 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}};
31697 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}};
31698 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}};
31699 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}};
31700 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}};
31701 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}};
31702 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}};
31703 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}};
31704 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}};
31705 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}};
31706 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}};
31707 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}};
31708 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}};
31709 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}};
31710 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}};
31711 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}};
31712 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}};
31713 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}};
31714 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}};
31715 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}};
31716 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}};
31717 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}};
31718 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}};
31719 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}};
31720 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}};
31721 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}};
31722 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}};
31723 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}};
31724 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}};
31725 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}};
31726 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}};
31727 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}};
31728 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}};
31729 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}};
31731 static swig_type_info
*swig_types_initial
[] = {
31732 _swigt__p_wxTextUrlEvent
,
31733 _swigt__p_wxBookCtrlEvent
,
31735 _swigt__p_wxCheckBox
,
31736 _swigt__p_wxPyTreeCtrl
,
31738 _swigt__p_wxGenericDirCtrl
,
31740 _swigt__p_wxPyTreeItemData
,
31741 _swigt__p_wxItemContainer
,
31742 _swigt__p_wxDirFilterListCtrl
,
31743 _swigt__p_wxPyListCtrl
,
31744 _swigt__p_wxStaticLine
,
31745 _swigt__p_wxControl
,
31746 _swigt__p_wxPyControl
,
31748 _swigt__p_wxToolBarBase
,
31750 _swigt__p_wxToggleButton
,
31751 _swigt__p_wxRadioButton
,
31752 _swigt__p_wxChoice
,
31753 _swigt__p_wxMemoryDC
,
31754 _swigt__p_wxListItemAttr
,
31759 _swigt__p_wxListView
,
31761 _swigt__p_wxTextCtrl
,
31762 _swigt__p_wxNotebook
,
31763 _swigt__p_wxNotifyEvent
,
31764 _swigt__p_wxArrayString
,
31765 _swigt__p_wxListbook
,
31766 _swigt__p_wxStaticBitmap
,
31767 _swigt__p_wxSlider
,
31768 _swigt__p_wxStaticBox
,
31769 _swigt__p_wxArrayInt
,
31770 _swigt__p_wxContextHelp
,
31772 _swigt__p_wxEvtHandler
,
31773 _swigt__p_wxListEvent
,
31774 _swigt__p_wxListBox
,
31775 _swigt__p_wxCheckListBox
,
31776 _swigt__p_wxBookCtrl
,
31777 _swigt__p_wxSpinButton
,
31778 _swigt__p_wxButton
,
31779 _swigt__p_wxBitmapButton
,
31781 _swigt__p_wxContextHelpButton
,
31782 _swigt__p_wxRadioBox
,
31783 _swigt__p_wxScrollBar
,
31785 _swigt__p_wxTreeItemId
,
31786 _swigt__p_wxComboBox
,
31787 _swigt__p_wxHelpEvent
,
31788 _swigt__p_wxListItem
,
31789 _swigt__p_wxNotebookSizer
,
31790 _swigt__p_wxSpinEvent
,
31791 _swigt__p_wxGenericDragImage
,
31792 _swigt__p_wxSpinCtrl
,
31793 _swigt__p_wxImageList
,
31794 _swigt__p_wxHelpProvider
,
31795 _swigt__p_wxTextAttr
,
31796 _swigt__p_wxSimpleHelpProvider
,
31798 _swigt__p_wxListbookEvent
,
31799 _swigt__p_wxNotebookEvent
,
31800 _swigt__p_wxObject
,
31801 _swigt__p_wxCursor
,
31802 _swigt__p_wxKeyEvent
,
31803 _swigt__p_wxWindow
,
31804 _swigt__p_wxString
,
31805 _swigt__p_wxBitmap
,
31806 _swigt__p_wxTreeEvent
,
31807 _swigt__p_wxMouseEvent
,
31808 _swigt__p_wxCommandEvent
,
31809 _swigt__p_wxStaticText
,
31810 _swigt__p_wxControlWithItems
,
31811 _swigt__p_wxToolBarToolBase
,
31812 _swigt__p_wxColour
,
31813 _swigt__p_wxToolBar
,
31814 _swigt__p_wxBookCtrlSizer
,
31815 _swigt__p_wxValidator
,
31820 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31822 static swig_const_info swig_const_table
[] = {
31823 {0, 0, 0, 0.0, 0, 0}};
31832 SWIGEXPORT(void) SWIG_init(void) {
31833 static PyObject
*SWIG_globals
= 0;
31834 static int typeinit
= 0;
31837 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31838 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31839 d
= PyModule_GetDict(m
);
31842 for (i
= 0; swig_types_initial
[i
]; i
++) {
31843 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31847 SWIG_InstallConstants(d
,swig_const_table
);
31849 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31850 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31851 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31852 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31853 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31854 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31855 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31856 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31857 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31858 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31859 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31860 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31861 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31862 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31863 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31864 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31865 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31866 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31867 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31868 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31869 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31870 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31871 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31872 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31873 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31874 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31875 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31876 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31877 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31878 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31879 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31880 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31881 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31882 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31883 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31884 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31885 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31886 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31887 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31888 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31889 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31890 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31891 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31892 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31893 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31894 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31895 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31896 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31897 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31898 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31899 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31900 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31901 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31902 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31903 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31904 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31905 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31906 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31907 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31908 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31909 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31910 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31911 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31912 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31913 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31914 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31915 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31916 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31917 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31918 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31919 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31920 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31921 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31922 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31923 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31924 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31925 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31926 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31927 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31928 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31929 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31930 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31931 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31932 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31933 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31934 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31935 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31936 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31937 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31938 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31939 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31940 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31941 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31942 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31943 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31944 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31945 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31946 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31947 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31948 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31949 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31950 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31951 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31952 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31953 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31954 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31955 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31956 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31957 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31958 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31959 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31960 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31961 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
31962 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
31963 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
31964 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
31965 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
31966 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
31967 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
31968 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
31969 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31970 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
31971 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
31972 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
31973 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
31974 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
31975 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
31976 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
31977 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
31978 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
31979 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
31980 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
31981 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
31982 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
31983 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
31984 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
31985 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
31986 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
31987 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
31988 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
31989 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
31990 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
31991 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
31992 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
31993 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
31994 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
31995 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
31996 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
31997 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
31998 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
31999 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32000 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32001 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32002 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32003 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32004 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32005 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32006 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32007 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32008 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32009 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32010 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32011 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32012 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32013 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32014 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32015 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32016 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32017 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32018 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32019 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32020 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32021 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32022 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32023 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32024 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32025 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32026 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32027 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32028 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32029 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32030 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32031 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32032 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32033 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32034 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32035 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32036 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32037 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32038 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32039 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32040 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32041 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32042 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32043 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32044 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32045 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32050 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32051 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32052 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32053 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32054 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32055 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32056 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32057 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32058 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32061 // Map renamed classes back to their common name for OOR
32062 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32064 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32065 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32066 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32067 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32068 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32069 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32070 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32071 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32072 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32073 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32074 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32075 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32076 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32077 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32078 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32079 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32080 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32081 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32082 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32083 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32084 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32085 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32086 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32087 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32088 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32089 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32090 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32091 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32092 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32093 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32094 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32095 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32096 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32097 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32098 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32099 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32100 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32101 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32102 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32106 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32107 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32108 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32111 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32112 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32113 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32114 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32115 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32118 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32119 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32121 // Map renamed classes back to their common name for OOR
32122 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32123 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32125 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32126 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32127 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32128 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32129 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32130 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32131 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32132 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32133 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32134 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32136 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");