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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
374 const wxArrayString wxPyEmptyStringArray
;
376 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
379 SWIG_PyObj_AsInt(PyObject
*obj
)
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
387 SWIG_PyObj_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
400 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
401 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
402 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
403 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
404 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
405 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
407 #include <wx/checklst.h>
410 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
411 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
413 wxPyClientData
* data
= new wxPyClientData(clientData
);
414 self
->Insert(item
, pos
, data
);
416 self
->Insert(item
, pos
);
418 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
420 self
->GetSelections(lst
);
421 PyObject
*tup
= PyTuple_New(lst
.GetCount());
422 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
423 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
427 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
429 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
430 self
->GetItem(item
)->SetTextColour(c
);
433 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
435 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
436 self
->GetItem(item
)->SetBackgroundColour(c
);
439 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
441 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
442 self
->GetItem(item
)->SetFont(f
);
445 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
447 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
453 } else if (target
== Py_None
) {
457 if (!PyTuple_Check(target
)) {
459 target
= PyTuple_New(1);
460 PyTuple_SetItem(target
, 0, o2
);
463 PyTuple_SetItem(o3
, 0, o
);
466 target
= PySequence_Concat(o2
, o3
);
473 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
474 self
->AppendText(text
);
476 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
477 return self
->GetValue().Mid(from
, to
- from
);
479 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
480 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
481 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
483 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
485 #include <wx/slider.h>
488 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
489 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
491 #if defined(__WXMAC__) || defined(__WXX11__)
492 // implement dummy classes and such for wxMac
494 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
496 class wxToggleButton
: public wxControl
499 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
500 const wxPoint
&, const wxSize
&, long,
501 const wxValidator
&, const wxString
&)
502 { wxPyRaiseNotImplemented(); }
505 { wxPyRaiseNotImplemented(); }
509 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
511 SWIGSTATIC(PyObject
* )
512 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
514 return (value
> (unsigned long)(LONG_MAX
)) ?
515 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
519 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
520 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
522 Py_INCREF(udata
->m_obj
);
529 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
530 self
->SetClientData(new wxPyUserData(clientData
));
532 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
){
533 wxPyUserData
* udata
= NULL
;
534 if (clientData
&& clientData
!= Py_None
)
535 udata
= new wxPyUserData(clientData
);
536 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
537 shortHelp
, longHelp
, udata
);
539 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
){
540 wxPyUserData
* udata
= NULL
;
541 if (clientData
&& clientData
!= Py_None
)
542 udata
= new wxPyUserData(clientData
);
543 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
544 shortHelp
, longHelp
, udata
);
546 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
547 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
549 Py_INCREF(udata
->m_obj
);
556 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
557 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
560 #include <wx/listctrl.h>
563 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
564 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
565 // Python aware sorting function for wxPyListCtrl
566 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
568 PyObject
* func
= (PyObject
*)funcPtr
;
569 wxPyBeginBlockThreads();
571 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
572 PyObject
* result
= PyEval_CallObject(func
, args
);
575 retval
= PyInt_AsLong(result
);
579 wxPyEndBlockThreads();
583 // C++ Version of a Python aware class
584 class wxPyListCtrl
: public wxListCtrl
{
585 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
587 wxPyListCtrl() : wxListCtrl() {}
588 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
592 const wxValidator
& validator
,
593 const wxString
& name
) :
594 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
596 bool Create(wxWindow
* parent
, wxWindowID id
,
600 const wxValidator
& validator
,
601 const wxString
& name
) {
602 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
605 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
606 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
607 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
612 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
614 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
615 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
616 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
618 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
620 item
.SetMask( wxLIST_MASK_STATE
|
628 if (self
->GetColumn(col
, item
))
629 return new wxListItem(item
);
633 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
634 wxListItem
* info
= new wxListItem
;
635 info
->m_itemId
= itemId
;
637 info
->m_mask
= 0xFFFF;
638 self
->GetItem(*info
);
641 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
643 self
->GetItemPosition(item
, pos
);
646 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
648 self
->GetItemRect(item
, rect
, code
);
651 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
652 if (!PyCallable_Check(func
))
654 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
656 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
664 #include <wx/treectrl.h>
665 #include "wx/wxPython/pytree.h"
667 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
668 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
669 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
670 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
671 // C++ version of Python aware wxTreeCtrl
672 class wxPyTreeCtrl
: public wxTreeCtrl
{
673 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
675 wxPyTreeCtrl() : wxTreeCtrl() {}
676 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
680 const wxValidator
& validator
,
681 const wxString
& name
) :
682 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
684 bool Create(wxWindow
*parent
, wxWindowID id
,
688 const wxValidator
& validator
,
689 const wxString
& name
) {
690 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 int OnCompareItems(const wxTreeItemId
& item1
,
695 const wxTreeItemId
& item2
) {
698 wxPyBeginBlockThreads();
699 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
700 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
701 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
702 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
706 wxPyEndBlockThreads();
708 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
714 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
718 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
721 SWIGSTATIC(unsigned int)
722 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
724 return numeric_cast(unsigned int,
725 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
728 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
729 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
731 data
= new wxPyTreeItemData();
732 data
->SetId(item
); // set the id
733 self
->SetItemData(item
, data
);
737 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
738 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
740 data
= new wxPyTreeItemData();
741 data
->SetId(item
); // set the id
742 self
->SetItemData(item
, data
);
744 return data
->GetData();
746 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
747 data
->SetId(item
); // set the id
748 self
->SetItemData(item
, data
);
750 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
751 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
753 data
= new wxPyTreeItemData(obj
);
754 data
->SetId(item
); // set the id
755 self
->SetItemData(item
, data
);
759 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
760 wxPyBeginBlockThreads();
761 PyObject
* rval
= PyList_New(0);
762 wxArrayTreeItemIds array
;
764 num
= self
->GetSelections(array
);
765 for (x
=0; x
< num
; x
++) {
766 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
767 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
768 PyList_Append(rval
, item
);
770 wxPyEndBlockThreads();
773 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
775 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
776 wxPyBeginBlockThreads();
777 PyObject
* tup
= PyTuple_New(2);
778 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
779 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
780 wxPyEndBlockThreads();
783 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
784 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
785 wxPyBeginBlockThreads();
786 PyObject
* tup
= PyTuple_New(2);
787 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
788 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
789 wxPyEndBlockThreads();
792 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
794 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
795 wxPyBeginBlockThreads();
796 wxRect
* r
= new wxRect(rect
);
797 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
798 wxPyEndBlockThreads();
804 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
805 // C++ version of Python aware wxControl
806 class wxPyControl
: public wxControl
808 DECLARE_DYNAMIC_CLASS(wxPyControl
)
810 wxPyControl() : wxControl() {}
811 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
812 const wxPoint
& pos
= wxDefaultPosition
,
813 const wxSize
& size
= wxDefaultSize
,
815 const wxValidator
& validator
=wxDefaultValidator
,
816 const wxString
& name
= wxPyControlNameStr
)
817 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
820 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
821 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
822 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
823 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
825 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
826 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
827 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
829 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
830 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
832 DEC_PYCALLBACK__(InitDialog
);
833 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
834 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
835 DEC_PYCALLBACK_BOOL_(Validate
);
837 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
838 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
839 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
841 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
842 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
847 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
849 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
850 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
851 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
852 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
854 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
855 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
856 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
858 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
859 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
861 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
862 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
863 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
864 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
866 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
867 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
868 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
870 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
871 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
876 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
878 #include <wx/generic/dragimgg.h>
883 static int _wrap_ButtonNameStr_set(PyObject
*) {
884 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
889 static PyObject
*_wrap_ButtonNameStr_get() {
894 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
896 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
903 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 wxWindow
*arg1
= (wxWindow
*) 0 ;
908 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
909 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
910 wxSize
const &arg5_defvalue
= wxDefaultSize
;
911 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
912 long arg6
= (long) 0 ;
913 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
914 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
915 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
916 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
922 PyObject
* obj0
= 0 ;
923 PyObject
* obj1
= 0 ;
924 PyObject
* obj2
= 0 ;
925 PyObject
* obj3
= 0 ;
926 PyObject
* obj4
= 0 ;
927 PyObject
* obj5
= 0 ;
928 PyObject
* obj6
= 0 ;
929 PyObject
* obj7
= 0 ;
931 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
937 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
938 if (PyErr_Occurred()) SWIG_fail
;
941 arg3
= wxString_in_helper(obj2
);
942 if (arg3
== NULL
) SWIG_fail
;
948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
954 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
959 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
960 if (PyErr_Occurred()) SWIG_fail
;
964 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
971 arg8
= wxString_in_helper(obj7
);
972 if (arg8
== NULL
) SWIG_fail
;
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) SWIG_fail
;
984 resultobj
= wxPyMake_wxObject(result
);
1008 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
*resultobj
;
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 result
= (wxButton
*)new wxButton();
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1024 resultobj
= wxPyMake_wxObject(result
);
1032 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
*resultobj
;
1034 wxButton
*arg1
= (wxButton
*) 0 ;
1035 wxWindow
*arg2
= (wxWindow
*) 0 ;
1037 wxString
*arg4
= 0 ;
1038 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1039 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1040 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1041 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1042 long arg7
= (long) 0 ;
1043 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1044 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1045 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1046 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1048 bool temp4
= False
;
1051 bool temp9
= False
;
1052 PyObject
* obj0
= 0 ;
1053 PyObject
* obj1
= 0 ;
1054 PyObject
* obj2
= 0 ;
1055 PyObject
* obj3
= 0 ;
1056 PyObject
* obj4
= 0 ;
1057 PyObject
* obj5
= 0 ;
1058 PyObject
* obj6
= 0 ;
1059 PyObject
* obj7
= 0 ;
1060 PyObject
* obj8
= 0 ;
1062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1069 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1070 if (PyErr_Occurred()) SWIG_fail
;
1073 arg4
= wxString_in_helper(obj3
);
1074 if (arg4
== NULL
) SWIG_fail
;
1080 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1086 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1091 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1096 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1103 arg9
= wxString_in_helper(obj8
);
1104 if (arg9
== NULL
) SWIG_fail
;
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) SWIG_fail
;
1115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1138 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
*resultobj
;
1140 wxButton
*arg1
= (wxButton
*) 0 ;
1141 PyObject
* obj0
= 0 ;
1143 (char *) "self", NULL
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 (arg1
)->SetDefault();
1152 wxPyEndAllowThreads(__tstate
);
1153 if (PyErr_Occurred()) SWIG_fail
;
1155 Py_INCREF(Py_None
); resultobj
= Py_None
;
1162 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 result
= wxButton::GetDefaultSize();
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1179 resultptr
= new wxSize((wxSize
&) result
);
1180 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1188 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1191 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1193 return Py_BuildValue((char *)"");
1195 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxWindow
*arg1
= (wxWindow
*) 0 ;
1199 wxBitmap
*arg3
= 0 ;
1200 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1201 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1202 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1203 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1204 long arg6
= (long) wxBU_AUTODRAW
;
1205 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1206 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1207 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1208 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1209 wxBitmapButton
*result
;
1212 bool temp8
= False
;
1213 PyObject
* obj0
= 0 ;
1214 PyObject
* obj1
= 0 ;
1215 PyObject
* obj2
= 0 ;
1216 PyObject
* obj3
= 0 ;
1217 PyObject
* obj4
= 0 ;
1218 PyObject
* obj5
= 0 ;
1219 PyObject
* obj6
= 0 ;
1220 PyObject
* obj7
= 0 ;
1222 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1228 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1231 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1233 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1249 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1250 if (PyErr_Occurred()) SWIG_fail
;
1254 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1261 arg8
= wxString_in_helper(obj7
);
1262 if (arg8
== NULL
) SWIG_fail
;
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1274 resultobj
= wxPyMake_wxObject(result
);
1290 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1292 wxBitmapButton
*result
;
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 result
= (wxBitmapButton
*)new wxBitmapButton();
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= wxPyMake_wxObject(result
);
1314 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
*resultobj
;
1316 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1317 wxWindow
*arg2
= (wxWindow
*) 0 ;
1319 wxBitmap
*arg4
= 0 ;
1320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1324 long arg7
= (long) wxBU_AUTODRAW
;
1325 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1326 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1327 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1328 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1332 bool temp9
= False
;
1333 PyObject
* obj0
= 0 ;
1334 PyObject
* obj1
= 0 ;
1335 PyObject
* obj2
= 0 ;
1336 PyObject
* obj3
= 0 ;
1337 PyObject
* obj4
= 0 ;
1338 PyObject
* obj5
= 0 ;
1339 PyObject
* obj6
= 0 ;
1340 PyObject
* obj7
= 0 ;
1341 PyObject
* obj8
= 0 ;
1343 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1350 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1353 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1360 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1366 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1371 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1376 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1383 arg9
= wxString_in_helper(obj8
);
1384 if (arg9
== NULL
) SWIG_fail
;
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1410 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
*resultobj
;
1412 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1414 PyObject
* obj0
= 0 ;
1416 (char *) "self", NULL
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 result
= (arg1
)->GetBitmapLabel();
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1429 wxBitmap
* resultptr
;
1430 resultptr
= new wxBitmap((wxBitmap
&) result
);
1431 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1439 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1443 PyObject
* obj0
= 0 ;
1445 (char *) "self", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 result
= (arg1
)->GetBitmapDisabled();
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1458 wxBitmap
* resultptr
;
1459 resultptr
= new wxBitmap((wxBitmap
&) result
);
1460 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1468 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
*resultobj
;
1470 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1472 PyObject
* obj0
= 0 ;
1474 (char *) "self", NULL
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 result
= (arg1
)->GetBitmapFocus();
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1487 wxBitmap
* resultptr
;
1488 resultptr
= new wxBitmap((wxBitmap
&) result
);
1489 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1497 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1499 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1501 PyObject
* obj0
= 0 ;
1503 (char *) "self", NULL
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 result
= (arg1
)->GetBitmapSelected();
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) SWIG_fail
;
1516 wxBitmap
* resultptr
;
1517 resultptr
= new wxBitmap((wxBitmap
&) result
);
1518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1526 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
*resultobj
;
1528 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1529 wxBitmap
*arg2
= 0 ;
1530 PyObject
* obj0
= 0 ;
1531 PyObject
* obj1
= 0 ;
1533 (char *) "self",(char *) "bitmap", NULL
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1549 Py_INCREF(Py_None
); resultobj
= Py_None
;
1556 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1559 wxBitmap
*arg2
= 0 ;
1560 PyObject
* obj0
= 0 ;
1561 PyObject
* obj1
= 0 ;
1563 (char *) "self",(char *) "bitmap", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1579 Py_INCREF(Py_None
); resultobj
= Py_None
;
1586 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1588 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1589 wxBitmap
*arg2
= 0 ;
1590 PyObject
* obj0
= 0 ;
1591 PyObject
* obj1
= 0 ;
1593 (char *) "self",(char *) "bitmap", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1609 Py_INCREF(Py_None
); resultobj
= Py_None
;
1616 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1619 wxBitmap
*arg2
= 0 ;
1620 PyObject
* obj0
= 0 ;
1621 PyObject
* obj1
= 0 ;
1623 (char *) "self",(char *) "bitmap", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1639 Py_INCREF(Py_None
); resultobj
= Py_None
;
1646 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
*resultobj
;
1648 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1652 PyObject
* obj1
= 0 ;
1653 PyObject
* obj2
= 0 ;
1655 (char *) "self",(char *) "x",(char *) "y", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1661 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1665 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 (arg1
)->SetMargins(arg2
,arg3
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1675 Py_INCREF(Py_None
); resultobj
= Py_None
;
1682 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1700 resultobj
= SWIG_PyObj_FromInt((int)result
);
1707 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "self", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1725 resultobj
= SWIG_PyObj_FromInt((int)result
);
1732 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1735 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1737 return Py_BuildValue((char *)"");
1739 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1740 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1745 static PyObject
*_wrap_CheckBoxNameStr_get() {
1750 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1752 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1759 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxWindow
*arg1
= (wxWindow
*) 0 ;
1763 wxString
*arg3
= 0 ;
1764 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1765 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1766 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1767 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1768 long arg6
= (long) 0 ;
1769 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1770 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1771 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1772 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1774 bool temp3
= False
;
1777 bool temp8
= False
;
1778 PyObject
* obj0
= 0 ;
1779 PyObject
* obj1
= 0 ;
1780 PyObject
* obj2
= 0 ;
1781 PyObject
* obj3
= 0 ;
1782 PyObject
* obj4
= 0 ;
1783 PyObject
* obj5
= 0 ;
1784 PyObject
* obj6
= 0 ;
1785 PyObject
* obj7
= 0 ;
1787 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1793 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 arg3
= wxString_in_helper(obj2
);
1798 if (arg3
== NULL
) SWIG_fail
;
1804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1815 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1820 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1827 arg8
= wxString_in_helper(obj7
);
1828 if (arg8
== NULL
) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1862 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 result
= (wxCheckBox
*)new wxCheckBox();
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1884 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
*resultobj
;
1886 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1887 wxWindow
*arg2
= (wxWindow
*) 0 ;
1889 wxString
*arg4
= 0 ;
1890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1894 long arg7
= (long) 0 ;
1895 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1896 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1897 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1900 bool temp4
= False
;
1903 bool temp9
= False
;
1904 PyObject
* obj0
= 0 ;
1905 PyObject
* obj1
= 0 ;
1906 PyObject
* obj2
= 0 ;
1907 PyObject
* obj3
= 0 ;
1908 PyObject
* obj4
= 0 ;
1909 PyObject
* obj5
= 0 ;
1910 PyObject
* obj6
= 0 ;
1911 PyObject
* obj7
= 0 ;
1912 PyObject
* obj8
= 0 ;
1914 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1921 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1925 arg4
= wxString_in_helper(obj3
);
1926 if (arg4
== NULL
) SWIG_fail
;
1932 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1938 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1943 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1948 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1955 arg9
= wxString_in_helper(obj8
);
1956 if (arg9
== NULL
) SWIG_fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1990 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1994 PyObject
* obj0
= 0 ;
1996 (char *) "self", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 result
= (bool)(arg1
)->GetValue();
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2015 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2017 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2019 PyObject
* obj0
= 0 ;
2021 (char *) "self", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (bool)(arg1
)->IsChecked();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2040 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2045 PyObject
* obj1
= 0 ;
2047 (char *) "self",(char *) "state", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2053 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 (arg1
)->SetValue(arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 Py_INCREF(Py_None
); resultobj
= Py_None
;
2070 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2076 (char *) "self", NULL
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 resultobj
= SWIG_PyObj_FromInt((int)result
);
2095 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2102 (char *) "self",(char *) "state", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2108 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 Py_INCREF(Py_None
); resultobj
= Py_None
;
2125 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2131 (char *) "self", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2150 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, 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_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2175 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2178 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2180 return Py_BuildValue((char *)"");
2182 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2183 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2188 static PyObject
*_wrap_ChoiceNameStr_get() {
2193 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2195 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2202 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxWindow
*arg1
= (wxWindow
*) 0 ;
2206 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2207 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2208 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2209 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2210 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2211 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2212 long arg6
= (long) 0 ;
2213 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2214 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2215 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2216 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2220 bool temp5
= False
;
2221 bool temp8
= False
;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2224 PyObject
* obj2
= 0 ;
2225 PyObject
* obj3
= 0 ;
2226 PyObject
* obj4
= 0 ;
2227 PyObject
* obj5
= 0 ;
2228 PyObject
* obj6
= 0 ;
2229 PyObject
* obj7
= 0 ;
2231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2249 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2254 if (! PySequence_Check(obj4
)) {
2255 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2258 arg5
= new wxArrayString
;
2260 int i
, len
=PySequence_Length(obj4
);
2261 for (i
=0; i
<len
; i
++) {
2262 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2264 PyObject
* str
= PyObject_Unicode(item
);
2266 PyObject
* str
= PyObject_Str(item
);
2268 arg5
->Add(Py2wxString(str
));
2276 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2281 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2283 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2288 arg8
= wxString_in_helper(obj7
);
2289 if (arg8
== NULL
) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2302 if (temp5
) delete arg5
;
2311 if (temp5
) delete arg5
;
2321 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= (wxChoice
*)new wxChoice();
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2343 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
;
2345 wxChoice
*arg1
= (wxChoice
*) 0 ;
2346 wxWindow
*arg2
= (wxWindow
*) 0 ;
2348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2352 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2353 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2354 long arg7
= (long) 0 ;
2355 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2356 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2357 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2358 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2362 bool temp6
= False
;
2363 bool temp9
= False
;
2364 PyObject
* obj0
= 0 ;
2365 PyObject
* obj1
= 0 ;
2366 PyObject
* obj2
= 0 ;
2367 PyObject
* obj3
= 0 ;
2368 PyObject
* obj4
= 0 ;
2369 PyObject
* obj5
= 0 ;
2370 PyObject
* obj6
= 0 ;
2371 PyObject
* obj7
= 0 ;
2372 PyObject
* obj8
= 0 ;
2374 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2381 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2398 if (! PySequence_Check(obj5
)) {
2399 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2402 arg6
= new wxArrayString
;
2404 int i
, len
=PySequence_Length(obj5
);
2405 for (i
=0; i
<len
; i
++) {
2406 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2408 PyObject
* str
= PyObject_Unicode(item
);
2410 PyObject
* str
= PyObject_Str(item
);
2412 arg6
->Add(Py2wxString(str
));
2420 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2425 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2432 arg9
= wxString_in_helper(obj8
);
2433 if (arg9
== NULL
) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2446 if (temp6
) delete arg6
;
2455 if (temp6
) delete arg6
;
2465 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2467 wxChoice
*arg1
= (wxChoice
*) 0 ;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2472 (char *) "self",(char *) "n", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2478 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 (arg1
)->SetSelection(arg2
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 Py_INCREF(Py_None
); resultobj
= Py_None
;
2495 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxChoice
*arg1
= (wxChoice
*) 0 ;
2498 wxString
*arg2
= 0 ;
2499 bool temp2
= False
;
2500 PyObject
* obj0
= 0 ;
2501 PyObject
* obj1
= 0 ;
2503 (char *) "self",(char *) "string", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2509 arg2
= wxString_in_helper(obj1
);
2510 if (arg2
== NULL
) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2520 Py_INCREF(Py_None
); resultobj
= Py_None
;
2535 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 wxChoice
*arg1
= (wxChoice
*) 0 ;
2539 wxString
*arg3
= 0 ;
2540 bool temp3
= False
;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2543 PyObject
* obj2
= 0 ;
2545 (char *) "self",(char *) "n",(char *) "string", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2551 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2555 arg3
= wxString_in_helper(obj2
);
2556 if (arg3
== NULL
) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2584 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2586 return Py_BuildValue((char *)"");
2588 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2589 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2594 static PyObject
*_wrap_ComboBoxNameStr_get() {
2599 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2601 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2608 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxWindow
*arg1
= (wxWindow
*) 0 ;
2612 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2613 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2618 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2619 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2620 long arg7
= (long) 0 ;
2621 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2622 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2623 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2624 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2626 bool temp3
= False
;
2629 bool temp6
= False
;
2630 bool temp9
= False
;
2631 PyObject
* obj0
= 0 ;
2632 PyObject
* obj1
= 0 ;
2633 PyObject
* obj2
= 0 ;
2634 PyObject
* obj3
= 0 ;
2635 PyObject
* obj4
= 0 ;
2636 PyObject
* obj5
= 0 ;
2637 PyObject
* obj6
= 0 ;
2638 PyObject
* obj7
= 0 ;
2639 PyObject
* obj8
= 0 ;
2641 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2652 arg3
= wxString_in_helper(obj2
);
2653 if (arg3
== NULL
) SWIG_fail
;
2660 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2666 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2671 if (! PySequence_Check(obj5
)) {
2672 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2675 arg6
= new wxArrayString
;
2677 int i
, len
=PySequence_Length(obj5
);
2678 for (i
=0; i
<len
; i
++) {
2679 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2681 PyObject
* str
= PyObject_Unicode(item
);
2683 PyObject
* str
= PyObject_Str(item
);
2685 arg6
->Add(Py2wxString(str
));
2693 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2698 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2705 arg9
= wxString_in_helper(obj8
);
2706 if (arg9
== NULL
) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 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
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2723 if (temp6
) delete arg6
;
2736 if (temp6
) delete arg6
;
2746 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 result
= (wxComboBox
*)new wxComboBox();
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2768 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2771 wxWindow
*arg2
= (wxWindow
*) 0 ;
2773 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2774 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2775 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2776 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2777 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2778 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2779 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2780 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2781 long arg8
= (long) 0 ;
2782 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2783 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2784 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2785 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2787 bool temp4
= False
;
2790 bool temp7
= False
;
2791 bool temp10
= False
;
2792 PyObject
* obj0
= 0 ;
2793 PyObject
* obj1
= 0 ;
2794 PyObject
* obj2
= 0 ;
2795 PyObject
* obj3
= 0 ;
2796 PyObject
* obj4
= 0 ;
2797 PyObject
* obj5
= 0 ;
2798 PyObject
* obj6
= 0 ;
2799 PyObject
* obj7
= 0 ;
2800 PyObject
* obj8
= 0 ;
2801 PyObject
* obj9
= 0 ;
2803 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2810 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2815 arg4
= wxString_in_helper(obj3
);
2816 if (arg4
== NULL
) SWIG_fail
;
2823 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2829 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2834 if (! PySequence_Check(obj6
)) {
2835 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2838 arg7
= new wxArrayString
;
2840 int i
, len
=PySequence_Length(obj6
);
2841 for (i
=0; i
<len
; i
++) {
2842 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2844 PyObject
* str
= PyObject_Unicode(item
);
2846 PyObject
* str
= PyObject_Str(item
);
2848 arg7
->Add(Py2wxString(str
));
2856 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2861 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2868 arg10
= wxString_in_helper(obj9
);
2869 if (arg10
== NULL
) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 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
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2886 if (temp7
) delete arg7
;
2899 if (temp7
) delete arg7
;
2909 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2915 (char *) "self", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= ((wxComboBox
const *)arg1
)->GetValue();
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2940 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2943 wxString
*arg2
= 0 ;
2944 bool temp2
= False
;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2948 (char *) "self",(char *) "value", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2954 arg2
= wxString_in_helper(obj1
);
2955 if (arg2
== NULL
) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 (arg1
)->SetValue((wxString
const &)*arg2
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2965 Py_INCREF(Py_None
); resultobj
= Py_None
;
2980 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2983 PyObject
* obj0
= 0 ;
2985 (char *) "self", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 Py_INCREF(Py_None
); resultobj
= Py_None
;
3004 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3009 (char *) "self", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3028 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 Py_INCREF(Py_None
); resultobj
= Py_None
;
3052 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
;
3054 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3056 PyObject
* obj0
= 0 ;
3057 PyObject
* obj1
= 0 ;
3059 (char *) "self",(char *) "pos", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3065 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 (arg1
)->SetInsertionPoint(arg2
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3075 Py_INCREF(Py_None
); resultobj
= Py_None
;
3082 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3086 PyObject
* obj0
= 0 ;
3088 (char *) "self", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_PyObj_FromLong((long)result
);
3107 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3111 PyObject
* obj0
= 0 ;
3113 (char *) "self", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= SWIG_PyObj_FromLong((long)result
);
3132 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3137 wxString
*arg4
= 0 ;
3138 bool temp4
= False
;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3141 PyObject
* obj2
= 0 ;
3142 PyObject
* obj3
= 0 ;
3144 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3150 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3158 arg4
= wxString_in_helper(obj3
);
3159 if (arg4
== NULL
) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3169 Py_INCREF(Py_None
); resultobj
= Py_None
;
3184 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3186 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3189 PyObject
* obj1
= 0 ;
3191 (char *) "self",(char *) "n", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3197 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 (arg1
)->SetSelection(arg2
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3207 Py_INCREF(Py_None
); resultobj
= Py_None
;
3214 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3216 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3220 PyObject
* obj1
= 0 ;
3221 PyObject
* obj2
= 0 ;
3223 (char *) "self",(char *) "from",(char *) "to", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3229 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3233 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 (arg1
)->SetSelection(arg2
,arg3
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 Py_INCREF(Py_None
); resultobj
= Py_None
;
3250 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3254 PyObject
* obj0
= 0 ;
3255 PyObject
* obj1
= 0 ;
3257 (char *) "self",(char *) "editable", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3263 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 (arg1
)->SetEditable(arg2
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 Py_INCREF(Py_None
); resultobj
= Py_None
;
3280 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3283 PyObject
* obj0
= 0 ;
3285 (char *) "self", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 (arg1
)->SetInsertionPointEnd();
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 Py_INCREF(Py_None
); resultobj
= Py_None
;
3304 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3311 PyObject
* obj2
= 0 ;
3313 (char *) "self",(char *) "from",(char *) "to", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3319 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 (arg1
)->Remove(arg2
,arg3
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3343 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3345 return Py_BuildValue((char *)"");
3347 static int _wrap_GaugeNameStr_set(PyObject
*) {
3348 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3353 static PyObject
*_wrap_GaugeNameStr_get() {
3358 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3360 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3367 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxWindow
*arg1
= (wxWindow
*) 0 ;
3372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3376 long arg6
= (long) wxGA_HORIZONTAL
;
3377 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3378 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3379 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3380 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3384 bool temp8
= False
;
3385 PyObject
* obj0
= 0 ;
3386 PyObject
* obj1
= 0 ;
3387 PyObject
* obj2
= 0 ;
3388 PyObject
* obj3
= 0 ;
3389 PyObject
* obj4
= 0 ;
3390 PyObject
* obj5
= 0 ;
3391 PyObject
* obj6
= 0 ;
3392 PyObject
* obj7
= 0 ;
3394 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3400 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3404 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3421 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3426 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3433 arg8
= wxString_in_helper(obj7
);
3434 if (arg8
== NULL
) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3460 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (wxGauge
*)new wxGauge();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3482 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxGauge
*arg1
= (wxGauge
*) 0 ;
3485 wxWindow
*arg2
= (wxWindow
*) 0 ;
3488 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3489 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3490 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3491 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3492 long arg7
= (long) wxGA_HORIZONTAL
;
3493 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3494 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3495 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3496 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3500 bool temp9
= False
;
3501 PyObject
* obj0
= 0 ;
3502 PyObject
* obj1
= 0 ;
3503 PyObject
* obj2
= 0 ;
3504 PyObject
* obj3
= 0 ;
3505 PyObject
* obj4
= 0 ;
3506 PyObject
* obj5
= 0 ;
3507 PyObject
* obj6
= 0 ;
3508 PyObject
* obj7
= 0 ;
3509 PyObject
* obj8
= 0 ;
3511 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3518 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3522 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3528 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3534 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3539 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3544 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3551 arg9
= wxString_in_helper(obj8
);
3552 if (arg9
== NULL
) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3578 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxGauge
*arg1
= (wxGauge
*) 0 ;
3582 PyObject
* obj0
= 0 ;
3583 PyObject
* obj1
= 0 ;
3585 (char *) "self",(char *) "range", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 (arg1
)->SetRange(arg2
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxGauge
*arg1
= (wxGauge
*) 0 ;
3612 PyObject
* obj0
= 0 ;
3614 (char *) "self", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= SWIG_PyObj_FromInt((int)result
);
3633 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxGauge
*arg1
= (wxGauge
*) 0 ;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3640 (char *) "self",(char *) "pos", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3646 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 (arg1
)->SetValue(arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 Py_INCREF(Py_None
); resultobj
= Py_None
;
3663 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxGauge
*arg1
= (wxGauge
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3669 (char *) "self", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 resultobj
= SWIG_PyObj_FromInt((int)result
);
3688 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxGauge
*arg1
= (wxGauge
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3694 (char *) "self", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3713 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxGauge
*arg1
= (wxGauge
*) 0 ;
3717 PyObject
* obj0
= 0 ;
3718 PyObject
* obj1
= 0 ;
3720 (char *) "self",(char *) "w", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 (arg1
)->SetShadowWidth(arg2
);
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxGauge
*arg1
= (wxGauge
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 resultobj
= SWIG_PyObj_FromInt((int)result
);
3768 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxGauge
*arg1
= (wxGauge
*) 0 ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3775 (char *) "self",(char *) "w", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3781 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 (arg1
)->SetBezelFace(arg2
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 Py_INCREF(Py_None
); resultobj
= Py_None
;
3798 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxGauge
*arg1
= (wxGauge
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_PyObj_FromInt((int)result
);
3823 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3826 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3828 return Py_BuildValue((char *)"");
3830 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3831 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3836 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3841 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3843 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3850 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3851 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3856 static PyObject
*_wrap_StaticBoxNameStr_get() {
3861 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3863 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3870 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3871 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3876 static PyObject
*_wrap_StaticTextNameStr_get() {
3881 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3883 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3890 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxWindow
*arg1
= (wxWindow
*) 0 ;
3894 wxString
*arg3
= 0 ;
3895 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3896 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3897 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3898 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3899 long arg6
= (long) 0 ;
3900 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3901 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3902 wxStaticBox
*result
;
3903 bool temp3
= False
;
3906 bool temp7
= False
;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3909 PyObject
* obj2
= 0 ;
3910 PyObject
* obj3
= 0 ;
3911 PyObject
* obj4
= 0 ;
3912 PyObject
* obj5
= 0 ;
3913 PyObject
* obj6
= 0 ;
3915 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3921 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3925 arg3
= wxString_in_helper(obj2
);
3926 if (arg3
== NULL
) SWIG_fail
;
3932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3943 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3949 arg7
= wxString_in_helper(obj6
);
3950 if (arg7
== NULL
) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= wxPyMake_wxObject(result
);
3986 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxStaticBox
*result
;
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 result
= (wxStaticBox
*)new wxStaticBox();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= wxPyMake_wxObject(result
);
4010 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4013 wxWindow
*arg2
= (wxWindow
*) 0 ;
4015 wxString
*arg4
= 0 ;
4016 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4017 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4018 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4019 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4020 long arg7
= (long) 0 ;
4021 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4022 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4024 bool temp4
= False
;
4027 bool temp8
= False
;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4030 PyObject
* obj2
= 0 ;
4031 PyObject
* obj3
= 0 ;
4032 PyObject
* obj4
= 0 ;
4033 PyObject
* obj5
= 0 ;
4034 PyObject
* obj6
= 0 ;
4035 PyObject
* obj7
= 0 ;
4037 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4044 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4048 arg4
= wxString_in_helper(obj3
);
4049 if (arg4
== NULL
) SWIG_fail
;
4055 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4061 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4066 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4072 arg8
= wxString_in_helper(obj7
);
4073 if (arg8
== NULL
) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4107 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4110 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4112 return Py_BuildValue((char *)"");
4114 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxWindow
*arg1
= (wxWindow
*) 0 ;
4118 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4119 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4120 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4121 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4122 long arg5
= (long) wxLI_HORIZONTAL
;
4123 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4124 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4125 wxStaticLine
*result
;
4128 bool temp6
= False
;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4131 PyObject
* obj2
= 0 ;
4132 PyObject
* obj3
= 0 ;
4133 PyObject
* obj4
= 0 ;
4134 PyObject
* obj5
= 0 ;
4136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4159 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4165 arg6
= wxString_in_helper(obj5
);
4166 if (arg6
== NULL
) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4192 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxStaticLine
*result
;
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (wxStaticLine
*)new wxStaticLine();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4214 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4217 wxWindow
*arg2
= (wxWindow
*) 0 ;
4219 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4220 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4221 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4222 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4223 long arg6
= (long) wxLI_HORIZONTAL
;
4224 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4225 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4229 bool temp7
= False
;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 PyObject
* obj2
= 0 ;
4233 PyObject
* obj3
= 0 ;
4234 PyObject
* obj4
= 0 ;
4235 PyObject
* obj5
= 0 ;
4236 PyObject
* obj6
= 0 ;
4238 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4245 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4262 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4268 arg7
= wxString_in_helper(obj6
);
4269 if (arg7
== NULL
) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4295 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "self", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4320 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (int)wxStaticLine::GetDefaultSize();
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 resultobj
= SWIG_PyObj_FromInt((int)result
);
4342 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4345 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4347 return Py_BuildValue((char *)"");
4349 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxWindow
*arg1
= (wxWindow
*) 0 ;
4353 wxString
*arg3
= 0 ;
4354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4358 long arg6
= (long) 0 ;
4359 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4361 wxStaticText
*result
;
4362 bool temp3
= False
;
4365 bool temp7
= False
;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 PyObject
* obj3
= 0 ;
4370 PyObject
* obj4
= 0 ;
4371 PyObject
* obj5
= 0 ;
4372 PyObject
* obj6
= 0 ;
4374 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4380 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4384 arg3
= wxString_in_helper(obj2
);
4385 if (arg3
== NULL
) SWIG_fail
;
4391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4402 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4408 arg7
= wxString_in_helper(obj6
);
4409 if (arg7
== NULL
) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4443 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxStaticText
*result
;
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (wxStaticText
*)new wxStaticText();
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4465 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4468 wxWindow
*arg2
= (wxWindow
*) 0 ;
4470 wxString
*arg4
= 0 ;
4471 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4472 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4473 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4474 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4475 long arg7
= (long) 0 ;
4476 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4477 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4479 bool temp4
= False
;
4482 bool temp8
= False
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 PyObject
* obj2
= 0 ;
4486 PyObject
* obj3
= 0 ;
4487 PyObject
* obj4
= 0 ;
4488 PyObject
* obj5
= 0 ;
4489 PyObject
* obj6
= 0 ;
4490 PyObject
* obj7
= 0 ;
4492 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4499 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4503 arg4
= wxString_in_helper(obj3
);
4504 if (arg4
== NULL
) SWIG_fail
;
4510 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4516 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4521 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4527 arg8
= wxString_in_helper(obj7
);
4528 if (arg8
== NULL
) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4562 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4565 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4567 return Py_BuildValue((char *)"");
4569 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxWindow
*arg1
= (wxWindow
*) 0 ;
4573 wxBitmap
*arg3
= 0 ;
4574 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4575 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4576 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4577 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4578 long arg6
= (long) 0 ;
4579 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4580 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4581 wxStaticBitmap
*result
;
4584 bool temp7
= False
;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 PyObject
* obj3
= 0 ;
4589 PyObject
* obj4
= 0 ;
4590 PyObject
* obj5
= 0 ;
4591 PyObject
* obj6
= 0 ;
4593 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4604 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4620 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4626 arg7
= wxString_in_helper(obj6
);
4627 if (arg7
== NULL
) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4653 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxStaticBitmap
*result
;
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4675 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4678 wxWindow
*arg2
= (wxWindow
*) 0 ;
4680 wxBitmap
*arg4
= 0 ;
4681 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4682 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4683 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4684 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4685 long arg7
= (long) 0 ;
4686 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4687 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4691 bool temp8
= False
;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 PyObject
* obj3
= 0 ;
4696 PyObject
* obj4
= 0 ;
4697 PyObject
* obj5
= 0 ;
4698 PyObject
* obj6
= 0 ;
4699 PyObject
* obj7
= 0 ;
4701 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4706 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4708 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4718 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4724 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4729 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4735 arg8
= wxString_in_helper(obj7
);
4736 if (arg8
== NULL
) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4762 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4766 PyObject
* obj0
= 0 ;
4768 (char *) "self", NULL
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (arg1
)->GetBitmap();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 wxBitmap
* resultptr
;
4782 resultptr
= new wxBitmap((wxBitmap
&) result
);
4783 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4791 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4794 wxBitmap
*arg2
= 0 ;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4798 (char *) "self",(char *) "bitmap", NULL
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 Py_INCREF(Py_None
); resultobj
= Py_None
;
4821 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "self",(char *) "icon", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 Py_INCREF(Py_None
); resultobj
= Py_None
;
4851 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4854 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4856 return Py_BuildValue((char *)"");
4858 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4859 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4864 static PyObject
*_wrap_ListBoxNameStr_get() {
4869 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4871 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4878 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxWindow
*arg1
= (wxWindow
*) 0 ;
4882 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4883 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4884 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4885 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4886 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4887 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4888 long arg6
= (long) 0 ;
4889 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4890 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4891 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4892 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4896 bool temp5
= False
;
4897 bool temp8
= False
;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4900 PyObject
* obj2
= 0 ;
4901 PyObject
* obj3
= 0 ;
4902 PyObject
* obj4
= 0 ;
4903 PyObject
* obj5
= 0 ;
4904 PyObject
* obj6
= 0 ;
4905 PyObject
* obj7
= 0 ;
4907 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4913 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4925 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4930 if (! PySequence_Check(obj4
)) {
4931 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4934 arg5
= new wxArrayString
;
4936 int i
, len
=PySequence_Length(obj4
);
4937 for (i
=0; i
<len
; i
++) {
4938 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4940 PyObject
* str
= PyObject_Unicode(item
);
4942 PyObject
* str
= PyObject_Str(item
);
4944 arg5
->Add(Py2wxString(str
));
4952 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4957 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4964 arg8
= wxString_in_helper(obj7
);
4965 if (arg8
== NULL
) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4978 if (temp5
) delete arg5
;
4987 if (temp5
) delete arg5
;
4997 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (wxListBox
*)new wxListBox();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5019 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxListBox
*arg1
= (wxListBox
*) 0 ;
5022 wxWindow
*arg2
= (wxWindow
*) 0 ;
5024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5028 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5029 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5030 long arg7
= (long) 0 ;
5031 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5032 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5033 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5034 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5038 bool temp6
= False
;
5039 bool temp9
= False
;
5040 PyObject
* obj0
= 0 ;
5041 PyObject
* obj1
= 0 ;
5042 PyObject
* obj2
= 0 ;
5043 PyObject
* obj3
= 0 ;
5044 PyObject
* obj4
= 0 ;
5045 PyObject
* obj5
= 0 ;
5046 PyObject
* obj6
= 0 ;
5047 PyObject
* obj7
= 0 ;
5048 PyObject
* obj8
= 0 ;
5050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5057 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5063 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5069 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5074 if (! PySequence_Check(obj5
)) {
5075 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5078 arg6
= new wxArrayString
;
5080 int i
, len
=PySequence_Length(obj5
);
5081 for (i
=0; i
<len
; i
++) {
5082 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5084 PyObject
* str
= PyObject_Unicode(item
);
5086 PyObject
* str
= PyObject_Str(item
);
5088 arg6
->Add(Py2wxString(str
));
5096 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5101 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5108 arg9
= wxString_in_helper(obj8
);
5109 if (arg9
== NULL
) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5122 if (temp6
) delete arg6
;
5131 if (temp6
) delete arg6
;
5141 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxListBox
*arg1
= (wxListBox
*) 0 ;
5144 wxString
*arg2
= 0 ;
5146 PyObject
*arg4
= (PyObject
*) NULL
;
5147 bool temp2
= False
;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5150 PyObject
* obj2
= 0 ;
5151 PyObject
* obj3
= 0 ;
5153 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5159 arg2
= wxString_in_helper(obj1
);
5160 if (arg2
== NULL
) SWIG_fail
;
5164 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 Py_INCREF(Py_None
); resultobj
= Py_None
;
5192 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxListBox
*arg1
= (wxListBox
*) 0 ;
5195 wxArrayString
*arg2
= 0 ;
5197 bool temp2
= False
;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5200 PyObject
* obj2
= 0 ;
5202 (char *) "self",(char *) "items",(char *) "pos", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5208 if (! PySequence_Check(obj1
)) {
5209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5212 arg2
= new wxArrayString
;
5214 int i
, len
=PySequence_Length(obj1
);
5215 for (i
=0; i
<len
; i
++) {
5216 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5218 PyObject
* str
= PyObject_Unicode(item
);
5220 PyObject
* str
= PyObject_Str(item
);
5222 arg2
->Add(Py2wxString(str
));
5228 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5240 if (temp2
) delete arg2
;
5245 if (temp2
) delete arg2
;
5251 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxListBox
*arg1
= (wxListBox
*) 0 ;
5254 wxArrayString
*arg2
= 0 ;
5255 bool temp2
= False
;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5259 (char *) "self",(char *) "items", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5265 if (! PySequence_Check(obj1
)) {
5266 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5269 arg2
= new wxArrayString
;
5271 int i
, len
=PySequence_Length(obj1
);
5272 for (i
=0; i
<len
; i
++) {
5273 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5275 PyObject
* str
= PyObject_Unicode(item
);
5277 PyObject
* str
= PyObject_Str(item
);
5279 arg2
->Add(Py2wxString(str
));
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->Set((wxArrayString
const &)*arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5293 if (temp2
) delete arg2
;
5298 if (temp2
) delete arg2
;
5304 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxListBox
*arg1
= (wxListBox
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5312 (char *) "self",(char *) "n", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5318 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5335 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxListBox
*arg1
= (wxListBox
*) 0 ;
5339 bool arg3
= (bool) True
;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5342 PyObject
* obj2
= 0 ;
5344 (char *) "self",(char *) "n",(char *) "select", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5350 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5355 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->SetSelection(arg2
,arg3
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxListBox
*arg1
= (wxListBox
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "n", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->Select(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxListBox
*arg1
= (wxListBox
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "n", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 (arg1
)->Deselect(arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 Py_INCREF(Py_None
); resultobj
= Py_None
;
5433 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxListBox
*arg1
= (wxListBox
*) 0 ;
5436 int arg2
= (int) -1 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5440 (char *) "self",(char *) "itemToLeaveSelected", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5447 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 (arg1
)->DeselectAll(arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 Py_INCREF(Py_None
); resultobj
= Py_None
;
5465 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxListBox
*arg1
= (wxListBox
*) 0 ;
5468 wxString
*arg2
= 0 ;
5469 bool arg3
= (bool) True
;
5471 bool temp2
= False
;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5474 PyObject
* obj2
= 0 ;
5476 (char *) "self",(char *) "s",(char *) "select", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5482 arg2
= wxString_in_helper(obj1
);
5483 if (arg2
== NULL
) SWIG_fail
;
5488 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5514 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxListBox
*arg1
= (wxListBox
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "self", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5539 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxListBox
*arg1
= (wxListBox
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "n", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5552 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->SetFirstItem(arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxListBox
*arg1
= (wxListBox
*) 0 ;
5572 wxString
*arg2
= 0 ;
5573 bool temp2
= False
;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "s", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5583 arg2
= wxString_in_helper(obj1
);
5584 if (arg2
== NULL
) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxListBox
*arg1
= (wxListBox
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "n", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5622 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->EnsureVisible(arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 Py_INCREF(Py_None
); resultobj
= Py_None
;
5639 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxListBox
*arg1
= (wxListBox
*) 0 ;
5642 wxString
*arg2
= 0 ;
5643 bool temp2
= False
;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5647 (char *) "self",(char *) "s", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5653 arg2
= wxString_in_helper(obj1
);
5654 if (arg2
== NULL
) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 Py_INCREF(Py_None
); resultobj
= Py_None
;
5679 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxListBox
*arg1
= (wxListBox
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5685 (char *) "self", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5704 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxListBox
*arg1
= (wxListBox
*) 0 ;
5708 wxColour
*arg3
= 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 PyObject
* obj2
= 0 ;
5714 (char *) "self",(char *) "item",(char *) "c", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5725 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5741 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxListBox
*arg1
= (wxListBox
*) 0 ;
5745 wxColour
*arg3
= 0 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5749 PyObject
* obj2
= 0 ;
5751 (char *) "self",(char *) "item",(char *) "c", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 Py_INCREF(Py_None
); resultobj
= Py_None
;
5778 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxListBox
*arg1
= (wxListBox
*) 0 ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5785 PyObject
* obj2
= 0 ;
5787 (char *) "self",(char *) "item",(char *) "f", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5793 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5798 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5817 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5819 return Py_BuildValue((char *)"");
5821 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxWindow
*arg1
= (wxWindow
*) 0 ;
5825 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5826 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5829 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5830 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5831 long arg6
= (long) 0 ;
5832 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5833 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5834 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5836 wxCheckListBox
*result
;
5839 bool temp5
= False
;
5840 bool temp8
= False
;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 PyObject
* obj2
= 0 ;
5844 PyObject
* obj3
= 0 ;
5845 PyObject
* obj4
= 0 ;
5846 PyObject
* obj5
= 0 ;
5847 PyObject
* obj6
= 0 ;
5848 PyObject
* obj7
= 0 ;
5850 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5868 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5873 if (! PySequence_Check(obj4
)) {
5874 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5877 arg5
= new wxArrayString
;
5879 int i
, len
=PySequence_Length(obj4
);
5880 for (i
=0; i
<len
; i
++) {
5881 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5883 PyObject
* str
= PyObject_Unicode(item
);
5885 PyObject
* str
= PyObject_Str(item
);
5887 arg5
->Add(Py2wxString(str
));
5895 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5900 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5907 arg8
= wxString_in_helper(obj7
);
5908 if (arg8
== NULL
) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5921 if (temp5
) delete arg5
;
5930 if (temp5
) delete arg5
;
5940 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxCheckListBox
*result
;
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxCheckListBox
*)new wxCheckListBox();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5962 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5965 wxWindow
*arg2
= (wxWindow
*) 0 ;
5967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5971 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5972 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5973 long arg7
= (long) 0 ;
5974 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5975 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5976 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5977 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5981 bool temp6
= False
;
5982 bool temp9
= False
;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5985 PyObject
* obj2
= 0 ;
5986 PyObject
* obj3
= 0 ;
5987 PyObject
* obj4
= 0 ;
5988 PyObject
* obj5
= 0 ;
5989 PyObject
* obj6
= 0 ;
5990 PyObject
* obj7
= 0 ;
5991 PyObject
* obj8
= 0 ;
5993 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6000 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6017 if (! PySequence_Check(obj5
)) {
6018 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6021 arg6
= new wxArrayString
;
6023 int i
, len
=PySequence_Length(obj5
);
6024 for (i
=0; i
<len
; i
++) {
6025 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6027 PyObject
* str
= PyObject_Unicode(item
);
6029 PyObject
* str
= PyObject_Str(item
);
6031 arg6
->Add(Py2wxString(str
));
6039 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6044 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6051 arg9
= wxString_in_helper(obj8
);
6052 if (arg9
== NULL
) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 if (temp6
) delete arg6
;
6074 if (temp6
) delete arg6
;
6084 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "index", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6098 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (bool)(arg1
)->IsChecked(arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6119 int arg3
= (int) True
;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6122 PyObject
* obj2
= 0 ;
6124 (char *) "self",(char *) "index",(char *) "check", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6130 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6135 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 (arg1
)->Check(arg2
,arg3
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 Py_INCREF(Py_None
); resultobj
= Py_None
;
6153 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6159 (char *) "self", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (int)(arg1
)->GetItemHeight();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= SWIG_PyObj_FromInt((int)result
);
6178 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "pt", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_PyObj_FromInt((int)result
);
6210 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6220 (char *) "self",(char *) "x",(char *) "y", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6226 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6230 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= SWIG_PyObj_FromInt((int)result
);
6247 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6250 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6252 return Py_BuildValue((char *)"");
6254 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6255 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6260 static PyObject
*_wrap_TextCtrlNameStr_get() {
6265 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6267 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6274 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6275 PyObject
*resultobj
;
6278 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxTextAttr
*)new wxTextAttr();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6293 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6294 PyObject
*resultobj
;
6295 wxColour
*arg1
= 0 ;
6296 wxColour
const &arg2_defvalue
= wxNullColour
;
6297 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6298 wxFont
const &arg3_defvalue
= wxNullFont
;
6299 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6300 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6306 PyObject
* obj2
= 0 ;
6307 PyObject
* obj3
= 0 ;
6309 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6312 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6321 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6328 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6346 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6351 argc
= PyObject_Length(args
);
6352 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6353 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6356 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6358 if ((argc
>= 1) && (argc
<= 4)) {
6361 _v
= wxColour_typecheck(argv
[0]);
6365 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6368 _v
= wxColour_typecheck(argv
[1]);
6372 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6376 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6385 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6388 SWIG_PyObj_AsInt(argv
[3]);
6389 if (PyErr_Occurred()) {
6397 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6404 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6409 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "self", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 Py_INCREF(Py_None
); resultobj
= Py_None
;
6433 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6438 (char *) "self", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6460 wxColour
*arg2
= 0 ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6465 (char *) "self",(char *) "colText", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6472 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 Py_INCREF(Py_None
); resultobj
= Py_None
;
6488 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6491 wxColour
*arg2
= 0 ;
6493 PyObject
* obj0
= 0 ;
6494 PyObject
* obj1
= 0 ;
6496 (char *) "self",(char *) "colBack", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6503 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 Py_INCREF(Py_None
); resultobj
= Py_None
;
6519 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6523 long arg3
= (long) wxTEXT_ATTR_FONT
;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 PyObject
* obj2
= 0 ;
6528 (char *) "self",(char *) "font",(char *) "flags", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6539 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 Py_INCREF(Py_None
); resultobj
= Py_None
;
6557 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6564 (char *) "self",(char *) "alignment", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6570 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 Py_INCREF(Py_None
); resultobj
= Py_None
;
6587 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6590 wxArrayInt
*arg2
= 0 ;
6591 bool temp2
= False
;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6595 (char *) "self",(char *) "tabs", NULL
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6601 if (! PySequence_Check(obj1
)) {
6602 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6605 arg2
= new wxArrayInt
;
6607 int i
, len
=PySequence_Length(obj1
);
6608 for (i
=0; i
<len
; i
++) {
6609 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6610 PyObject
* number
= PyNumber_Int(item
);
6611 arg2
->Add(PyInt_AS_LONG(number
));
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 if (temp2
) delete arg2
;
6630 if (temp2
) delete arg2
;
6636 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6643 (char *) "self",(char *) "indent", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 (arg1
)->SetLeftIndent(arg2
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 Py_INCREF(Py_None
); resultobj
= Py_None
;
6666 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6673 (char *) "self",(char *) "indent", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6679 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 (arg1
)->SetRightIndent(arg2
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 Py_INCREF(Py_None
); resultobj
= Py_None
;
6696 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
;
6698 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6703 (char *) "self",(char *) "flags", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6709 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 (arg1
)->SetFlags(arg2
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 Py_INCREF(Py_None
); resultobj
= Py_None
;
6726 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6776 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "self", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6801 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "self", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6826 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6851 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6855 PyObject
* obj0
= 0 ;
6857 (char *) "self", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6876 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 (char *) "self", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6901 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6903 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "flag", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6915 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6932 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "self", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6947 result
= (wxColour
*) &_result_ref
;
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6960 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6975 result
= (wxColour
*) &_result_ref
;
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6988 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6994 (char *) "self", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7003 result
= (wxFont
*) &_result_ref
;
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
7016 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_PyObj_FromInt((int)result
);
7041 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7056 result
= (wxArrayInt
*) &_result_ref
;
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= PyList_New(0);
7065 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7066 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7067 PyList_Append(resultobj
, val
);
7077 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "self", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_PyObj_FromLong((long)result
);
7102 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= SWIG_PyObj_FromLong((long)result
);
7127 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "self", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= SWIG_PyObj_FromLong((long)result
);
7152 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7158 (char *) "self", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7177 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxTextAttr
*arg1
= 0 ;
7180 wxTextAttr
*arg2
= 0 ;
7181 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7185 PyObject
* obj2
= 0 ;
7187 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7199 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7208 wxTextAttr
* resultptr
;
7209 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7210 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7218 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7221 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7223 return Py_BuildValue((char *)"");
7225 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxWindow
*arg1
= (wxWindow
*) 0 ;
7229 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7230 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7235 long arg6
= (long) 0 ;
7236 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7237 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7238 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7239 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7241 bool temp3
= False
;
7244 bool temp8
= False
;
7245 PyObject
* obj0
= 0 ;
7246 PyObject
* obj1
= 0 ;
7247 PyObject
* obj2
= 0 ;
7248 PyObject
* obj3
= 0 ;
7249 PyObject
* obj4
= 0 ;
7250 PyObject
* obj5
= 0 ;
7251 PyObject
* obj6
= 0 ;
7252 PyObject
* obj7
= 0 ;
7254 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7260 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7265 arg3
= wxString_in_helper(obj2
);
7266 if (arg3
== NULL
) SWIG_fail
;
7273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7279 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7284 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7289 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7296 arg8
= wxString_in_helper(obj7
);
7297 if (arg8
== NULL
) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7309 resultobj
= wxPyMake_wxObject(result
);
7333 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (wxTextCtrl
*)new wxTextCtrl();
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= wxPyMake_wxObject(result
);
7357 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7360 wxWindow
*arg2
= (wxWindow
*) 0 ;
7362 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7363 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7364 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7365 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7366 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7367 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7368 long arg7
= (long) 0 ;
7369 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7370 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7371 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7372 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7374 bool temp4
= False
;
7377 bool temp9
= False
;
7378 PyObject
* obj0
= 0 ;
7379 PyObject
* obj1
= 0 ;
7380 PyObject
* obj2
= 0 ;
7381 PyObject
* obj3
= 0 ;
7382 PyObject
* obj4
= 0 ;
7383 PyObject
* obj5
= 0 ;
7384 PyObject
* obj6
= 0 ;
7385 PyObject
* obj7
= 0 ;
7386 PyObject
* obj8
= 0 ;
7388 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7395 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7400 arg4
= wxString_in_helper(obj3
);
7401 if (arg4
== NULL
) SWIG_fail
;
7408 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7414 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7419 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7424 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7431 arg9
= wxString_in_helper(obj8
);
7432 if (arg9
== NULL
) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7466 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7472 (char *) "self", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7497 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7500 wxString
*arg2
= 0 ;
7501 bool temp2
= False
;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "value", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7511 arg2
= wxString_in_helper(obj1
);
7512 if (arg2
== NULL
) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 (arg1
)->SetValue((wxString
const &)*arg2
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7544 PyObject
* obj1
= 0 ;
7545 PyObject
* obj2
= 0 ;
7547 (char *) "self",(char *) "from",(char *) "to", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7553 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7557 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7580 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7586 PyObject
* obj1
= 0 ;
7588 (char *) "self",(char *) "lineNo", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7594 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= SWIG_PyObj_FromInt((int)result
);
7611 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7619 (char *) "self",(char *) "lineNo", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7625 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7648 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_PyObj_FromInt((int)result
);
7673 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7679 (char *) "self", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7698 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7723 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7729 (char *) "self", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7748 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7754 (char *) "self", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7773 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7776 long *arg2
= (long *) 0 ;
7777 long *arg3
= (long *) 0 ;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7799 resultobj
= t_output_helper(resultobj
,o
);
7802 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7803 resultobj
= t_output_helper(resultobj
,o
);
7811 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7817 (char *) "self", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7842 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 Py_INCREF(Py_None
); resultobj
= Py_None
;
7866 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7871 wxString
*arg4
= 0 ;
7872 bool temp4
= False
;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7876 PyObject
* obj3
= 0 ;
7878 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7884 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 arg4
= wxString_in_helper(obj3
);
7893 if (arg4
== NULL
) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7925 PyObject
* obj2
= 0 ;
7927 (char *) "self",(char *) "from",(char *) "to", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7933 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7937 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 (arg1
)->Remove(arg2
,arg3
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7957 wxString
*arg2
= 0 ;
7959 bool temp2
= False
;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7963 (char *) "self",(char *) "file", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7969 arg2
= wxString_in_helper(obj1
);
7970 if (arg2
== NULL
) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7995 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7998 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8001 bool temp2
= False
;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "self",(char *) "file", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8012 arg2
= wxString_in_helper(obj1
);
8013 if (arg2
== NULL
) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8039 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "self", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 (arg1
)->MarkDirty();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 Py_INCREF(Py_None
); resultobj
= Py_None
;
8063 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 (arg1
)->DiscardEdits();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8090 unsigned long arg2
;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8094 (char *) "self",(char *) "len", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8100 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 (arg1
)->SetMaxLength(arg2
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8120 wxString
*arg2
= 0 ;
8121 bool temp2
= False
;
8122 PyObject
* obj0
= 0 ;
8123 PyObject
* obj1
= 0 ;
8125 (char *) "self",(char *) "text", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8131 arg2
= wxString_in_helper(obj1
);
8132 if (arg2
== NULL
) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 (arg1
)->WriteText((wxString
const &)*arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8160 wxString
*arg2
= 0 ;
8161 bool temp2
= False
;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8165 (char *) "self",(char *) "text", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8171 arg2
= wxString_in_helper(obj1
);
8172 if (arg2
== NULL
) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 (arg1
)->AppendText((wxString
const &)*arg2
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8200 wxKeyEvent
*arg2
= 0 ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8205 (char *) "self",(char *) "event", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8228 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8233 wxTextAttr
*arg4
= 0 ;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8237 PyObject
* obj2
= 0 ;
8238 PyObject
* obj3
= 0 ;
8240 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8246 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8250 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8271 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8275 wxTextAttr
*arg3
= 0 ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8281 (char *) "self",(char *) "position",(char *) "style", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8287 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8292 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8311 wxTextAttr
*arg2
= 0 ;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8316 (char *) "self",(char *) "style", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8354 result
= (wxTextAttr
*) &_result_ref
;
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8367 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8375 PyObject
* obj2
= 0 ;
8377 (char *) "self",(char *) "x",(char *) "y", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8383 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8387 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_PyObj_FromLong((long)result
);
8404 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8408 long *arg3
= (long *) 0 ;
8409 long *arg4
= (long *) 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8415 (char *) "self",(char *) "pos", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8423 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 Py_INCREF(Py_None
); resultobj
= Py_None
;
8435 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8436 resultobj
= t_output_helper(resultobj
,o
);
8439 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8440 resultobj
= t_output_helper(resultobj
,o
);
8448 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8455 (char *) "self",(char *) "pos", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8461 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 (arg1
)->ShowPosition(arg2
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8478 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8482 long *arg3
= (long *) 0 ;
8483 long *arg4
= (long *) 0 ;
8488 PyObject
* obj0
= 0 ;
8489 PyObject
* obj1
= 0 ;
8491 (char *) "self",(char *) "pt", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= SWIG_PyObj_FromInt((int)result
);
8511 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8512 resultobj
= t_output_helper(resultobj
,o
);
8515 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8516 resultobj
= t_output_helper(resultobj
,o
);
8524 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 Py_INCREF(Py_None
); resultobj
= Py_None
;
8572 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 Py_INCREF(Py_None
); resultobj
= Py_None
;
8596 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8621 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8625 PyObject
* obj0
= 0 ;
8627 (char *) "self", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8652 (char *) "self", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8676 (char *) "self", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8695 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8700 (char *) "self", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8723 PyObject
* obj0
= 0 ;
8725 (char *) "self", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8744 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8748 PyObject
* obj0
= 0 ;
8750 (char *) "self", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8769 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "self",(char *) "pos", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8782 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 (arg1
)->SetInsertionPoint(arg2
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 Py_INCREF(Py_None
); resultobj
= Py_None
;
8799 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8804 (char *) "self", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->SetInsertionPointEnd();
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8829 (char *) "self", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_PyObj_FromLong((long)result
);
8848 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8854 (char *) "self", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= SWIG_PyObj_FromLong((long)result
);
8873 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 PyObject
* obj2
= 0 ;
8882 (char *) "self",(char *) "from",(char *) "to", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8888 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 (arg1
)->SetSelection(arg2
,arg3
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 Py_INCREF(Py_None
); resultobj
= Py_None
;
8909 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8914 (char *) "self", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 (arg1
)->SelectAll();
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8940 (char *) "self",(char *) "editable", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8946 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 (arg1
)->SetEditable(arg2
);
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 Py_INCREF(Py_None
); resultobj
= Py_None
;
8963 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8966 bool arg2
= (bool) True
;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8971 (char *) "self",(char *) "show", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8978 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8996 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9000 PyObject
* obj0
= 0 ;
9002 (char *) "self", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (bool)(arg1
)->HideNativeCaret();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9021 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9024 wxString
*arg2
= 0 ;
9025 bool temp2
= False
;
9026 PyObject
* obj0
= 0 ;
9027 PyObject
* obj1
= 0 ;
9029 (char *) "self",(char *) "text", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9035 arg2
= wxString_in_helper(obj1
);
9036 if (arg2
== NULL
) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9069 PyObject
* obj2
= 0 ;
9071 (char *) "self",(char *) "from",(char *) "to", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9077 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9081 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9104 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9107 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9109 return Py_BuildValue((char *)"");
9111 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9114 wxMouseEvent
*arg2
= 0 ;
9117 wxTextUrlEvent
*result
;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9120 PyObject
* obj2
= 0 ;
9121 PyObject
* obj3
= 0 ;
9123 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9128 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9136 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9140 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9157 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9160 wxMouseEvent
*result
;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "self", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9172 result
= (wxMouseEvent
*) &_result_ref
;
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9185 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_PyObj_FromLong((long)result
);
9210 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_PyObj_FromLong((long)result
);
9235 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9238 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9240 return Py_BuildValue((char *)"");
9242 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9243 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9248 static PyObject
*_wrap_ScrollBarNameStr_get() {
9253 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9255 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9262 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxWindow
*arg1
= (wxWindow
*) 0 ;
9265 int arg2
= (int) -1 ;
9266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9270 long arg5
= (long) wxSB_HORIZONTAL
;
9271 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9272 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9273 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9275 wxScrollBar
*result
;
9278 bool temp7
= False
;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9281 PyObject
* obj2
= 0 ;
9282 PyObject
* obj3
= 0 ;
9283 PyObject
* obj4
= 0 ;
9284 PyObject
* obj5
= 0 ;
9285 PyObject
* obj6
= 0 ;
9287 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9307 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9312 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9317 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9324 arg7
= wxString_in_helper(obj6
);
9325 if (arg7
== NULL
) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9351 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9353 wxScrollBar
*result
;
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (wxScrollBar
*)new wxScrollBar();
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9373 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9376 wxWindow
*arg2
= (wxWindow
*) 0 ;
9377 int arg3
= (int) -1 ;
9378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9382 long arg6
= (long) wxSB_HORIZONTAL
;
9383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9385 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9390 bool temp8
= False
;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9394 PyObject
* obj3
= 0 ;
9395 PyObject
* obj4
= 0 ;
9396 PyObject
* obj5
= 0 ;
9397 PyObject
* obj6
= 0 ;
9398 PyObject
* obj7
= 0 ;
9400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9408 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9426 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9431 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9438 arg8
= wxString_in_helper(obj7
);
9439 if (arg8
== NULL
) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9465 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_PyObj_FromInt((int)result
);
9490 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9494 PyObject
* obj0
= 0 ;
9496 (char *) "self", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_PyObj_FromInt((int)result
);
9515 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9521 (char *) "self", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_PyObj_FromInt((int)result
);
9540 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_PyObj_FromInt((int)result
);
9565 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9571 (char *) "self", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9597 (char *) "self",(char *) "viewStart", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9603 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 (arg1
)->SetThumbPosition(arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 Py_INCREF(Py_None
); resultobj
= Py_None
;
9620 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9627 bool arg6
= (bool) True
;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 PyObject
* obj2
= 0 ;
9631 PyObject
* obj3
= 0 ;
9632 PyObject
* obj4
= 0 ;
9633 PyObject
* obj5
= 0 ;
9635 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9649 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9658 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9676 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9679 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9681 return Py_BuildValue((char *)"");
9683 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9684 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9689 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9694 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9696 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9703 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9704 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9709 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9714 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9716 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9723 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxWindow
*arg1
= (wxWindow
*) 0 ;
9726 int arg2
= (int) -1 ;
9727 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9728 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9729 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9730 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9731 long arg5
= (long) wxSP_HORIZONTAL
;
9732 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9733 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9734 wxSpinButton
*result
;
9737 bool temp6
= False
;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 PyObject
* obj2
= 0 ;
9741 PyObject
* obj3
= 0 ;
9742 PyObject
* obj4
= 0 ;
9743 PyObject
* obj5
= 0 ;
9745 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9752 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9770 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9776 arg6
= wxString_in_helper(obj5
);
9777 if (arg6
== NULL
) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9803 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxSpinButton
*result
;
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (wxSpinButton
*)new wxSpinButton();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9825 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9828 wxWindow
*arg2
= (wxWindow
*) 0 ;
9829 int arg3
= (int) -1 ;
9830 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9831 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9832 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9833 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9834 long arg6
= (long) wxSP_HORIZONTAL
;
9835 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9836 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9840 bool temp7
= False
;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 PyObject
* obj2
= 0 ;
9844 PyObject
* obj3
= 0 ;
9845 PyObject
* obj4
= 0 ;
9846 PyObject
* obj5
= 0 ;
9847 PyObject
* obj6
= 0 ;
9849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9857 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9864 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9870 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9875 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9881 arg7
= wxString_in_helper(obj6
);
9882 if (arg7
== NULL
) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9908 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_PyObj_FromInt((int)result
);
9933 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9939 (char *) "self", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_PyObj_FromInt((int)result
);
9958 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9964 (char *) "self", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_PyObj_FromInt((int)result
);
9983 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9990 (char *) "self",(char *) "val", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9996 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 (arg1
)->SetValue(arg2
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 Py_INCREF(Py_None
); resultobj
= Py_None
;
10013 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "minVal", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10026 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 (arg1
)->SetMin(arg2
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 Py_INCREF(Py_None
); resultobj
= Py_None
;
10043 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 PyObject
* obj1
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self",(char *) "maxVal", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10056 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 (arg1
)->SetMax(arg2
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 Py_INCREF(Py_None
); resultobj
= Py_None
;
10073 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 PyObject
* obj2
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10088 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10092 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 (arg1
)->SetRange(arg2
,arg3
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10134 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10137 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10139 return Py_BuildValue((char *)"");
10141 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxWindow
*arg1
= (wxWindow
*) 0 ;
10144 int arg2
= (int) -1 ;
10145 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10146 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10151 long arg6
= (long) wxSP_ARROW_KEYS
;
10152 int arg7
= (int) 0 ;
10153 int arg8
= (int) 100 ;
10154 int arg9
= (int) 0 ;
10155 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10156 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10157 wxSpinCtrl
*result
;
10158 bool temp3
= False
;
10161 bool temp10
= False
;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 PyObject
* obj2
= 0 ;
10165 PyObject
* obj3
= 0 ;
10166 PyObject
* obj4
= 0 ;
10167 PyObject
* obj5
= 0 ;
10168 PyObject
* obj6
= 0 ;
10169 PyObject
* obj7
= 0 ;
10170 PyObject
* obj8
= 0 ;
10171 PyObject
* obj9
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10180 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10186 arg3
= wxString_in_helper(obj2
);
10187 if (arg3
== NULL
) SWIG_fail
;
10194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10205 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10211 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10217 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10223 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10229 arg10
= wxString_in_helper(obj9
);
10230 if (arg10
== NULL
) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10264 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxSpinCtrl
*result
;
10267 char *kwnames
[] = {
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10286 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10289 wxWindow
*arg2
= (wxWindow
*) 0 ;
10290 int arg3
= (int) -1 ;
10291 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10293 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10294 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10295 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10296 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10297 long arg7
= (long) wxSP_ARROW_KEYS
;
10298 int arg8
= (int) 0 ;
10299 int arg9
= (int) 100 ;
10300 int arg10
= (int) 0 ;
10301 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10302 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10304 bool temp4
= False
;
10307 bool temp11
= False
;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 PyObject
* obj2
= 0 ;
10311 PyObject
* obj3
= 0 ;
10312 PyObject
* obj4
= 0 ;
10313 PyObject
* obj5
= 0 ;
10314 PyObject
* obj6
= 0 ;
10315 PyObject
* obj7
= 0 ;
10316 PyObject
* obj8
= 0 ;
10317 PyObject
* obj9
= 0 ;
10318 PyObject
* obj10
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10328 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10334 arg4
= wxString_in_helper(obj3
);
10335 if (arg4
== NULL
) SWIG_fail
;
10342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10353 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10359 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10365 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10371 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10377 arg11
= wxString_in_helper(obj10
);
10378 if (arg11
== NULL
) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10412 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_PyObj_FromInt((int)result
);
10437 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "value", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10450 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 (arg1
)->SetValue(arg2
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 Py_INCREF(Py_None
); resultobj
= Py_None
;
10467 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10470 wxString
*arg2
= 0 ;
10471 bool temp2
= False
;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self",(char *) "text", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10481 arg2
= wxString_in_helper(obj1
);
10482 if (arg2
== NULL
) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 (arg1
)->SetValue((wxString
const &)*arg2
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 Py_INCREF(Py_None
); resultobj
= Py_None
;
10507 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 PyObject
* obj2
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10522 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10526 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 (arg1
)->SetRange(arg2
,arg3
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 Py_INCREF(Py_None
); resultobj
= Py_None
;
10543 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_PyObj_FromInt((int)result
);
10568 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10572 PyObject
* obj0
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_PyObj_FromInt((int)result
);
10593 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 PyObject
* obj2
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self",(char *) "from",(char *) "to", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10608 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10612 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->SetSelection(arg2
,arg3
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 Py_INCREF(Py_None
); resultobj
= Py_None
;
10629 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10632 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10634 return Py_BuildValue((char *)"");
10636 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10639 int arg2
= (int) 0 ;
10640 wxSpinEvent
*result
;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "commandType",(char *) "winid", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10650 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10656 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10674 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_PyObj_FromInt((int)result
);
10699 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 PyObject
* obj1
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "pos", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 (arg1
)->SetPosition(arg2
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10732 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10734 return Py_BuildValue((char *)"");
10736 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10737 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10742 static PyObject
*_wrap_RadioBoxNameStr_get() {
10747 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10749 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10756 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10757 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10762 static PyObject
*_wrap_RadioButtonNameStr_get() {
10767 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10769 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10776 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxWindow
*arg1
= (wxWindow
*) 0 ;
10780 wxString
*arg3
= 0 ;
10781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10785 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10786 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10787 int arg7
= (int) 0 ;
10788 long arg8
= (long) wxRA_HORIZONTAL
;
10789 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10790 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10791 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10792 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10793 wxRadioBox
*result
;
10794 bool temp3
= False
;
10797 bool temp6
= False
;
10798 bool temp10
= False
;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 PyObject
* obj2
= 0 ;
10802 PyObject
* obj3
= 0 ;
10803 PyObject
* obj4
= 0 ;
10804 PyObject
* obj5
= 0 ;
10805 PyObject
* obj6
= 0 ;
10806 PyObject
* obj7
= 0 ;
10807 PyObject
* obj8
= 0 ;
10808 PyObject
* obj9
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10816 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 arg3
= wxString_in_helper(obj2
);
10821 if (arg3
== NULL
) SWIG_fail
;
10827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10838 if (! PySequence_Check(obj5
)) {
10839 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10842 arg6
= new wxArrayString
;
10844 int i
, len
=PySequence_Length(obj5
);
10845 for (i
=0; i
<len
; i
++) {
10846 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10848 PyObject
* str
= PyObject_Unicode(item
);
10850 PyObject
* str
= PyObject_Str(item
);
10852 arg6
->Add(Py2wxString(str
));
10860 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10866 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10871 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10872 if (arg9
== NULL
) {
10873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10878 arg10
= wxString_in_helper(obj9
);
10879 if (arg10
== NULL
) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 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
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10896 if (temp6
) delete arg6
;
10909 if (temp6
) delete arg6
;
10919 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxRadioBox
*result
;
10922 char *kwnames
[] = {
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (wxRadioBox
*)new wxRadioBox();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10941 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10944 wxWindow
*arg2
= (wxWindow
*) 0 ;
10946 wxString
*arg4
= 0 ;
10947 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10948 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10949 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10950 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10951 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10952 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10953 int arg8
= (int) 0 ;
10954 long arg9
= (long) wxRA_HORIZONTAL
;
10955 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10956 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10957 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10958 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10960 bool temp4
= False
;
10963 bool temp7
= False
;
10964 bool temp11
= False
;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 PyObject
* obj2
= 0 ;
10968 PyObject
* obj3
= 0 ;
10969 PyObject
* obj4
= 0 ;
10970 PyObject
* obj5
= 0 ;
10971 PyObject
* obj6
= 0 ;
10972 PyObject
* obj7
= 0 ;
10973 PyObject
* obj8
= 0 ;
10974 PyObject
* obj9
= 0 ;
10975 PyObject
* obj10
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10984 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 arg4
= wxString_in_helper(obj3
);
10989 if (arg4
== NULL
) SWIG_fail
;
10995 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11001 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11006 if (! PySequence_Check(obj6
)) {
11007 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11010 arg7
= new wxArrayString
;
11012 int i
, len
=PySequence_Length(obj6
);
11013 for (i
=0; i
<len
; i
++) {
11014 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11016 PyObject
* str
= PyObject_Unicode(item
);
11018 PyObject
* str
= PyObject_Str(item
);
11020 arg7
->Add(Py2wxString(str
));
11028 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11034 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11039 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11040 if (arg10
== NULL
) {
11041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11046 arg11
= wxString_in_helper(obj10
);
11047 if (arg11
== NULL
) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 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
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11064 if (temp7
) delete arg7
;
11077 if (temp7
) delete arg7
;
11087 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "n", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11100 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 (arg1
)->SetSelection(arg2
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_PyObj_FromInt((int)result
);
11142 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11173 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11176 wxString
*arg2
= 0 ;
11178 bool temp2
= False
;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self",(char *) "s", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11188 arg2
= wxString_in_helper(obj1
);
11189 if (arg2
== NULL
) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_PyObj_FromInt((int)result
);
11239 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11242 wxString
*arg2
= 0 ;
11244 bool temp2
= False
;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self",(char *) "s", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11254 arg2
= wxString_in_helper(obj1
);
11255 if (arg2
== NULL
) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_PyObj_FromInt((int)result
);
11280 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self",(char *) "n", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11317 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11321 wxString
*arg3
= 0 ;
11322 bool temp3
= False
;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 PyObject
* obj2
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "n",(char *) "label", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 arg3
= wxString_in_helper(obj2
);
11338 if (arg3
== NULL
) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11367 bool arg3
= (bool) True
;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "n",(char *) "enable", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11378 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11383 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->Enable(arg2
,arg3
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11405 bool arg3
= (bool) True
;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 PyObject
* obj2
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "n",(char *) "show", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11421 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 (arg1
)->Show(arg2
,arg3
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 Py_INCREF(Py_None
); resultobj
= Py_None
;
11439 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_PyObj_FromInt((int)result
);
11464 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11468 PyObject
* obj0
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_PyObj_FromInt((int)result
);
11489 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 PyObject
* obj2
= 0 ;
11499 PyObject
* obj3
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11507 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11511 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_PyObj_FromInt((int)result
);
11532 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11535 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11537 return Py_BuildValue((char *)"");
11539 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxWindow
*arg1
= (wxWindow
*) 0 ;
11543 wxString
*arg3
= 0 ;
11544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11548 long arg6
= (long) 0 ;
11549 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11550 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11551 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11552 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11553 wxRadioButton
*result
;
11554 bool temp3
= False
;
11557 bool temp8
= False
;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 PyObject
* obj4
= 0 ;
11563 PyObject
* obj5
= 0 ;
11564 PyObject
* obj6
= 0 ;
11565 PyObject
* obj7
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11577 arg3
= wxString_in_helper(obj2
);
11578 if (arg3
== NULL
) SWIG_fail
;
11584 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11590 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11595 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11600 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11601 if (arg7
== NULL
) {
11602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11607 arg8
= wxString_in_helper(obj7
);
11608 if (arg8
== NULL
) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11642 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxRadioButton
*result
;
11645 char *kwnames
[] = {
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (wxRadioButton
*)new wxRadioButton();
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11664 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11667 wxWindow
*arg2
= (wxWindow
*) 0 ;
11669 wxString
*arg4
= 0 ;
11670 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11671 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11672 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11673 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11674 long arg7
= (long) 0 ;
11675 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11676 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11677 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11678 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11680 bool temp4
= False
;
11683 bool temp9
= False
;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 PyObject
* obj3
= 0 ;
11688 PyObject
* obj4
= 0 ;
11689 PyObject
* obj5
= 0 ;
11690 PyObject
* obj6
= 0 ;
11691 PyObject
* obj7
= 0 ;
11692 PyObject
* obj8
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11699 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11701 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11705 arg4
= wxString_in_helper(obj3
);
11706 if (arg4
== NULL
) SWIG_fail
;
11712 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11718 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11723 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11728 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11729 if (arg8
== NULL
) {
11730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11735 arg9
= wxString_in_helper(obj8
);
11736 if (arg9
== NULL
) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11770 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11774 PyObject
* obj0
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (bool)(arg1
)->GetValue();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11795 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "value", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11808 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 (arg1
)->SetValue(arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 Py_INCREF(Py_None
); resultobj
= Py_None
;
11825 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11828 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11830 return Py_BuildValue((char *)"");
11832 static int _wrap_SliderNameStr_set(PyObject
*) {
11833 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11838 static PyObject
*_wrap_SliderNameStr_get() {
11843 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11845 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11852 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxWindow
*arg1
= (wxWindow
*) 0 ;
11859 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11860 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11861 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11862 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11863 long arg8
= (long) wxSL_HORIZONTAL
;
11864 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11865 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11866 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11867 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11871 bool temp10
= False
;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 PyObject
* obj2
= 0 ;
11875 PyObject
* obj3
= 0 ;
11876 PyObject
* obj4
= 0 ;
11877 PyObject
* obj5
= 0 ;
11878 PyObject
* obj6
= 0 ;
11879 PyObject
* obj7
= 0 ;
11880 PyObject
* obj8
= 0 ;
11881 PyObject
* obj9
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11889 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11893 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11897 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11907 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11913 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11918 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11923 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11924 if (arg9
== NULL
) {
11925 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11930 arg10
= wxString_in_helper(obj9
);
11931 if (arg10
== NULL
) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11957 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11960 char *kwnames
[] = {
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (wxSlider
*)new wxSlider();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11979 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxSlider
*arg1
= (wxSlider
*) 0 ;
11982 wxWindow
*arg2
= (wxWindow
*) 0 ;
11987 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11988 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11989 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11990 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11991 long arg9
= (long) wxSL_HORIZONTAL
;
11992 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11993 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11994 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11995 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11999 bool temp11
= False
;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 PyObject
* obj2
= 0 ;
12003 PyObject
* obj3
= 0 ;
12004 PyObject
* obj4
= 0 ;
12005 PyObject
* obj5
= 0 ;
12006 PyObject
* obj6
= 0 ;
12007 PyObject
* obj7
= 0 ;
12008 PyObject
* obj8
= 0 ;
12009 PyObject
* obj9
= 0 ;
12010 PyObject
* obj10
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12019 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12037 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12043 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12048 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12053 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12054 if (arg10
== NULL
) {
12055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12060 arg11
= wxString_in_helper(obj10
);
12061 if (arg11
== NULL
) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12087 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxSlider
*arg1
= (wxSlider
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_PyObj_FromInt((int)result
);
12112 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxSlider
*arg1
= (wxSlider
*) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 char *kwnames
[] = {
12119 (char *) "self",(char *) "value", NULL
12122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12125 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 (arg1
)->SetValue(arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 Py_INCREF(Py_None
); resultobj
= Py_None
;
12142 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxSlider
*arg1
= (wxSlider
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 PyObject
* obj2
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12157 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 (arg1
)->SetRange(arg2
,arg3
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 Py_INCREF(Py_None
); resultobj
= Py_None
;
12178 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxSlider
*arg1
= (wxSlider
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_PyObj_FromInt((int)result
);
12203 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxSlider
*arg1
= (wxSlider
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_PyObj_FromInt((int)result
);
12228 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxSlider
*arg1
= (wxSlider
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self",(char *) "minValue", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12241 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 (arg1
)->SetMin(arg2
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 Py_INCREF(Py_None
); resultobj
= Py_None
;
12258 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxSlider
*arg1
= (wxSlider
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self",(char *) "maxValue", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12271 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 (arg1
)->SetMax(arg2
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 Py_INCREF(Py_None
); resultobj
= Py_None
;
12288 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxSlider
*arg1
= (wxSlider
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj1
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self",(char *) "lineSize", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12301 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 (arg1
)->SetLineSize(arg2
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 Py_INCREF(Py_None
); resultobj
= Py_None
;
12318 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxSlider
*arg1
= (wxSlider
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "pageSize", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12331 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 (arg1
)->SetPageSize(arg2
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 Py_INCREF(Py_None
); resultobj
= Py_None
;
12348 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxSlider
*arg1
= (wxSlider
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_PyObj_FromInt((int)result
);
12373 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxSlider
*arg1
= (wxSlider
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_PyObj_FromInt((int)result
);
12398 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxSlider
*arg1
= (wxSlider
*) 0 ;
12402 PyObject
* obj0
= 0 ;
12403 PyObject
* obj1
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "lenPixels", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12411 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 (arg1
)->SetThumbLength(arg2
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 Py_INCREF(Py_None
); resultobj
= Py_None
;
12428 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxSlider
*arg1
= (wxSlider
*) 0 ;
12432 PyObject
* obj0
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_PyObj_FromInt((int)result
);
12453 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxSlider
*arg1
= (wxSlider
*) 0 ;
12457 int arg3
= (int) 1 ;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 PyObject
* obj2
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self",(char *) "n",(char *) "pos", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12468 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12473 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetTickFreq(arg2
,arg3
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12491 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxSlider
*arg1
= (wxSlider
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= SWIG_PyObj_FromInt((int)result
);
12516 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxSlider
*arg1
= (wxSlider
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 (arg1
)->ClearTicks();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 Py_INCREF(Py_None
); resultobj
= Py_None
;
12540 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
;
12542 wxSlider
*arg1
= (wxSlider
*) 0 ;
12544 PyObject
* obj0
= 0 ;
12545 PyObject
* obj1
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self",(char *) "tickPos", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12553 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->SetTick(arg2
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 Py_INCREF(Py_None
); resultobj
= Py_None
;
12570 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxSlider
*arg1
= (wxSlider
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 (arg1
)->ClearSel();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 Py_INCREF(Py_None
); resultobj
= Py_None
;
12594 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxSlider
*arg1
= (wxSlider
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_PyObj_FromInt((int)result
);
12619 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxSlider
*arg1
= (wxSlider
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_PyObj_FromInt((int)result
);
12644 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxSlider
*arg1
= (wxSlider
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 PyObject
* obj2
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self",(char *) "min",(char *) "max", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12659 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->SetSelection(arg2
,arg3
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 Py_INCREF(Py_None
); resultobj
= Py_None
;
12680 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12683 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12685 return Py_BuildValue((char *)"");
12687 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12688 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12693 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12698 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12700 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12707 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxWindow
*arg1
= (wxWindow
*) 0 ;
12711 wxString
*arg3
= 0 ;
12712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12716 long arg6
= (long) 0 ;
12717 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12718 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12719 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12720 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12721 wxToggleButton
*result
;
12722 bool temp3
= False
;
12725 bool temp8
= False
;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 PyObject
* obj2
= 0 ;
12729 PyObject
* obj3
= 0 ;
12730 PyObject
* obj4
= 0 ;
12731 PyObject
* obj5
= 0 ;
12732 PyObject
* obj6
= 0 ;
12733 PyObject
* obj7
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12741 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12745 arg3
= wxString_in_helper(obj2
);
12746 if (arg3
== NULL
) SWIG_fail
;
12752 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12758 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12763 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12768 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12769 if (arg7
== NULL
) {
12770 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12775 arg8
= wxString_in_helper(obj7
);
12776 if (arg8
== NULL
) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12810 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxToggleButton
*result
;
12813 char *kwnames
[] = {
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (wxToggleButton
*)new wxToggleButton();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12832 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12835 wxWindow
*arg2
= (wxWindow
*) 0 ;
12837 wxString
*arg4
= 0 ;
12838 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12839 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12840 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12841 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12842 long arg7
= (long) 0 ;
12843 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12844 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12845 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12846 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12848 bool temp4
= False
;
12851 bool temp9
= False
;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 PyObject
* obj2
= 0 ;
12855 PyObject
* obj3
= 0 ;
12856 PyObject
* obj4
= 0 ;
12857 PyObject
* obj5
= 0 ;
12858 PyObject
* obj6
= 0 ;
12859 PyObject
* obj7
= 0 ;
12860 PyObject
* obj8
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12869 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12873 arg4
= wxString_in_helper(obj3
);
12874 if (arg4
== NULL
) SWIG_fail
;
12880 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12886 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12891 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12896 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12897 if (arg8
== NULL
) {
12898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12903 arg9
= wxString_in_helper(obj8
);
12904 if (arg9
== NULL
) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12938 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj1
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self",(char *) "value", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12951 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 (arg1
)->SetValue(arg2
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 Py_INCREF(Py_None
); resultobj
= Py_None
;
12968 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12993 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12996 wxString
*arg2
= 0 ;
12997 bool temp2
= False
;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "label", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13007 arg2
= wxString_in_helper(obj1
);
13008 if (arg2
== NULL
) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 (arg1
)->SetLabel((wxString
const &)*arg2
);
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 Py_INCREF(Py_None
); resultobj
= Py_None
;
13033 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13038 return Py_BuildValue((char *)"");
13040 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
13041 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13046 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13051 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13053 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13060 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
13085 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "n", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13099 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= wxPyMake_wxObject(result
);
13118 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_PyObj_FromInt((int)result
);
13143 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13147 wxString
*arg3
= 0 ;
13149 bool temp3
= False
;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 PyObject
* obj2
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self",(char *) "n",(char *) "strText", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13160 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 arg3
= wxString_in_helper(obj2
);
13165 if (arg3
== NULL
) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13190 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 PyObject
* obj1
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self",(char *) "n", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13204 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13227 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13230 wxImageList
*arg2
= (wxImageList
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "imageList", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->SetImageList(arg2
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13257 wxImageList
*arg2
= (wxImageList
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "imageList", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->AssignImageList(arg2
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13284 wxImageList
*result
;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= wxPyMake_wxObject(result
);
13308 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "n", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13322 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= SWIG_PyObj_FromInt((int)result
);
13339 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 PyObject
* obj2
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "n",(char *) "imageId", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13355 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13376 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self",(char *) "size", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13391 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 Py_INCREF(Py_None
); resultobj
= Py_None
;
13407 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "sizePage", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13423 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 wxSize
* resultptr
;
13434 resultptr
= new wxSize((wxSize
&) result
);
13435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13443 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "n", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13457 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (bool)(arg1
)->DeletePage(arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13474 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self",(char *) "n", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13488 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (bool)(arg1
)->RemovePage(arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13505 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (bool)(arg1
)->DeleteAllPages();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13530 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13533 wxWindow
*arg2
= (wxWindow
*) 0 ;
13534 wxString
*arg3
= 0 ;
13535 bool arg4
= (bool) False
;
13536 int arg5
= (int) -1 ;
13538 bool temp3
= False
;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 PyObject
* obj2
= 0 ;
13542 PyObject
* obj3
= 0 ;
13543 PyObject
* obj4
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13552 arg3
= wxString_in_helper(obj2
);
13553 if (arg3
== NULL
) SWIG_fail
;
13558 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13564 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13590 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13594 wxWindow
*arg3
= (wxWindow
*) 0 ;
13595 wxString
*arg4
= 0 ;
13596 bool arg5
= (bool) False
;
13597 int arg6
= (int) -1 ;
13599 bool temp4
= False
;
13600 PyObject
* obj0
= 0 ;
13601 PyObject
* obj1
= 0 ;
13602 PyObject
* obj2
= 0 ;
13603 PyObject
* obj3
= 0 ;
13604 PyObject
* obj4
= 0 ;
13605 PyObject
* obj5
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13613 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13618 arg4
= wxString_in_helper(obj3
);
13619 if (arg4
== NULL
) SWIG_fail
;
13624 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13630 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13656 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self",(char *) "n", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13670 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (int)(arg1
)->SetSelection(arg2
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_PyObj_FromInt((int)result
);
13687 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13690 bool arg2
= (bool) True
;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char *kwnames
[] = {
13694 (char *) "self",(char *) "forward", NULL
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13701 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->AdvanceSelection(arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 Py_INCREF(Py_None
); resultobj
= Py_None
;
13719 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13722 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13724 return Py_BuildValue((char *)"");
13726 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13729 int arg2
= (int) 0 ;
13730 int arg3
= (int) -1 ;
13731 int arg4
= (int) -1 ;
13732 wxBookCtrlEvent
*result
;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 PyObject
* obj2
= 0 ;
13736 PyObject
* obj3
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13744 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13750 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13756 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13762 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13780 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= SWIG_PyObj_FromInt((int)result
);
13805 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "nSel", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13818 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 (arg1
)->SetSelection(arg2
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 Py_INCREF(Py_None
); resultobj
= Py_None
;
13835 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_PyObj_FromInt((int)result
);
13860 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13864 PyObject
* obj0
= 0 ;
13865 PyObject
* obj1
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self",(char *) "nOldSel", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13873 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 (arg1
)->SetOldSelection(arg2
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 Py_INCREF(Py_None
); resultobj
= Py_None
;
13890 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13893 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13895 return Py_BuildValue((char *)"");
13897 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxWindow
*arg1
= (wxWindow
*) 0 ;
13901 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13902 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13903 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13904 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13905 long arg5
= (long) 0 ;
13906 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13907 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13908 wxNotebook
*result
;
13911 bool temp6
= False
;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 PyObject
* obj2
= 0 ;
13915 PyObject
* obj3
= 0 ;
13916 PyObject
* obj4
= 0 ;
13917 PyObject
* obj5
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13942 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13948 arg6
= wxString_in_helper(obj5
);
13949 if (arg6
== NULL
) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= wxPyMake_wxObject(result
);
13977 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxNotebook
*result
;
13980 char *kwnames
[] = {
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (wxNotebook
*)new wxNotebook();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= wxPyMake_wxObject(result
);
14001 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14004 wxWindow
*arg2
= (wxWindow
*) 0 ;
14006 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14007 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14008 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14009 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14010 long arg6
= (long) 0 ;
14011 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14016 bool temp7
= False
;
14017 PyObject
* obj0
= 0 ;
14018 PyObject
* obj1
= 0 ;
14019 PyObject
* obj2
= 0 ;
14020 PyObject
* obj3
= 0 ;
14021 PyObject
* obj4
= 0 ;
14022 PyObject
* obj5
= 0 ;
14023 PyObject
* obj6
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14032 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14049 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14055 arg7
= wxString_in_helper(obj6
);
14056 if (arg7
== NULL
) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14082 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_PyObj_FromInt((int)result
);
14107 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "padding", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 Py_INCREF(Py_None
); resultobj
= Py_None
;
14138 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "sz", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14153 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 Py_INCREF(Py_None
); resultobj
= Py_None
;
14169 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14172 wxPoint
*arg2
= 0 ;
14173 long *arg3
= (long *) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 PyObject
* obj1
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self",(char *) "pt", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_PyObj_FromInt((int)result
);
14199 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14200 resultobj
= t_output_helper(resultobj
,o
);
14208 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "sizePage", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 wxSize
* resultptr
;
14235 resultptr
= new wxSize((wxSize
&) result
);
14236 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14244 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14247 wxWindow
*arg2
= (wxWindow
*) 0 ;
14248 wxColour
*arg3
= 0 ;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 PyObject
* obj2
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self",(char *) "window",(char *) "colour", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14262 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 Py_INCREF(Py_None
); resultobj
= Py_None
;
14278 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14281 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14283 return Py_BuildValue((char *)"");
14285 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14288 int arg2
= (int) 0 ;
14289 int arg3
= (int) -1 ;
14290 int arg4
= (int) -1 ;
14291 wxNotebookEvent
*result
;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 PyObject
* obj2
= 0 ;
14295 PyObject
* obj3
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14303 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14315 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14321 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14339 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14342 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14344 return Py_BuildValue((char *)"");
14346 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxWindow
*arg1
= (wxWindow
*) 0 ;
14350 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14351 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14352 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14353 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14354 long arg5
= (long) 0 ;
14355 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14356 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14357 wxListbook
*result
;
14360 bool temp6
= False
;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 PyObject
* obj2
= 0 ;
14364 PyObject
* obj3
= 0 ;
14365 PyObject
* obj4
= 0 ;
14366 PyObject
* obj5
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14374 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14386 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14391 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14397 arg6
= wxString_in_helper(obj5
);
14398 if (arg6
== NULL
) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14424 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxListbook
*result
;
14427 char *kwnames
[] = {
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (wxListbook
*)new wxListbook();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14446 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxListbook
*arg1
= (wxListbook
*) 0 ;
14449 wxWindow
*arg2
= (wxWindow
*) 0 ;
14451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14455 long arg6
= (long) 0 ;
14456 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14461 bool temp7
= False
;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 PyObject
* obj3
= 0 ;
14466 PyObject
* obj4
= 0 ;
14467 PyObject
* obj5
= 0 ;
14468 PyObject
* obj6
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14494 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14500 arg7
= wxString_in_helper(obj6
);
14501 if (arg7
== NULL
) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14527 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxListbook
*arg1
= (wxListbook
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14552 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14555 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14557 return Py_BuildValue((char *)"");
14559 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14562 int arg2
= (int) 0 ;
14563 int arg3
= (int) -1 ;
14564 int arg4
= (int) -1 ;
14565 wxListbookEvent
*result
;
14566 PyObject
* obj0
= 0 ;
14567 PyObject
* obj1
= 0 ;
14568 PyObject
* obj2
= 0 ;
14569 PyObject
* obj3
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14577 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14583 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14589 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14595 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14613 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14616 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14618 return Py_BuildValue((char *)"");
14620 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14623 wxBookCtrlSizer
*result
;
14624 PyObject
* obj0
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "nb", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14645 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 (arg1
)->RecalcSizes();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 Py_INCREF(Py_None
); resultobj
= Py_None
;
14669 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (arg1
)->CalcMin();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 wxSize
* resultptr
;
14689 resultptr
= new wxSize((wxSize
&) result
);
14690 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14698 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14701 wxBookCtrl
*result
;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14723 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14726 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14728 return Py_BuildValue((char *)"");
14730 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14733 wxNotebookSizer
*result
;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "nb", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14755 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14758 PyObject
* obj0
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 (arg1
)->RecalcSizes();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (arg1
)->CalcMin();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 wxSize
* resultptr
;
14799 resultptr
= new wxSize((wxSize
&) result
);
14800 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14808 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14811 wxNotebook
*result
;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= wxPyMake_wxObject(result
);
14835 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14838 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14840 return Py_BuildValue((char *)"");
14842 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)(arg1
)->GetId();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_PyObj_FromInt((int)result
);
14867 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (wxControl
*)(arg1
)->GetControl();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= wxPyMake_wxObject(result
);
14894 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14897 wxToolBarBase
*result
;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= wxPyMake_wxObject(result
);
14921 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (int)(arg1
)->IsButton();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_PyObj_FromInt((int)result
);
14946 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (int)(arg1
)->IsControl();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_PyObj_FromInt((int)result
);
14971 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (int)(arg1
)->IsSeparator();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_PyObj_FromInt((int)result
);
14996 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (int)(arg1
)->GetStyle();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_PyObj_FromInt((int)result
);
15021 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (int)(arg1
)->GetKind();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_PyObj_FromInt((int)result
);
15046 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (bool)(arg1
)->IsEnabled();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15071 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (bool)(arg1
)->IsToggled();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15096 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (bool)(arg1
)->CanBeToggled();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15121 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15136 result
= (wxBitmap
*) &_result_ref
;
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15149 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15164 result
= (wxBitmap
*) &_result_ref
;
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15177 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "self", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (arg1
)->GetBitmap();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 wxBitmap
* resultptr
;
15197 resultptr
= new wxBitmap((wxBitmap
&) result
);
15198 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15206 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, 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_GetLabel",kwnames
,&obj0
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (arg1
)->GetLabel();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15237 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (arg1
)->GetShortHelp();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15268 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (arg1
)->GetLongHelp();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15299 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "enable", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15313 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)(arg1
)->Enable(arg2
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 Py_INCREF(Py_None
); resultobj
= Py_None
;
15354 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 PyObject
* obj1
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self",(char *) "toggle", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15368 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (bool)(arg1
)->SetToggle(arg2
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15385 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15388 wxString
*arg2
= 0 ;
15390 bool temp2
= False
;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self",(char *) "help", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15400 arg2
= wxString_in_helper(obj1
);
15401 if (arg2
== NULL
) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15426 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15429 wxString
*arg2
= 0 ;
15431 bool temp2
= False
;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self",(char *) "help", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15441 arg2
= wxString_in_helper(obj1
);
15442 if (arg2
== NULL
) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15470 wxBitmap
*arg2
= 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self",(char *) "bmp", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15480 if (arg2
== NULL
) {
15481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 Py_INCREF(Py_None
); resultobj
= Py_None
;
15497 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15500 wxBitmap
*arg2
= 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self",(char *) "bmp", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15510 if (arg2
== NULL
) {
15511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 Py_INCREF(Py_None
); resultobj
= Py_None
;
15527 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15530 wxString
*arg2
= 0 ;
15531 bool temp2
= False
;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "label", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15541 arg2
= wxString_in_helper(obj1
);
15542 if (arg2
== NULL
) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 (arg1
)->SetLabel((wxString
const &)*arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 Py_INCREF(Py_None
); resultobj
= Py_None
;
15567 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 Py_INCREF(Py_None
); resultobj
= Py_None
;
15591 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15594 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15595 PyObject
* obj0
= 0 ;
15596 PyObject
* obj1
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self",(char *) "tbar", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->Attach(arg2
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= result
;
15643 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15646 PyObject
*arg2
= (PyObject
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self",(char *) "clientData", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 Py_INCREF(Py_None
); resultobj
= Py_None
;
15670 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15673 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15675 return Py_BuildValue((char *)"");
15677 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15681 wxString
*arg3
= 0 ;
15682 wxBitmap
*arg4
= 0 ;
15683 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15684 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15685 int arg6
= (int) wxITEM_NORMAL
;
15686 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15687 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15688 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15690 PyObject
*arg9
= (PyObject
*) NULL
;
15691 wxToolBarToolBase
*result
;
15692 bool temp3
= False
;
15693 bool temp7
= False
;
15694 bool temp8
= False
;
15695 PyObject
* obj0
= 0 ;
15696 PyObject
* obj1
= 0 ;
15697 PyObject
* obj2
= 0 ;
15698 PyObject
* obj3
= 0 ;
15699 PyObject
* obj4
= 0 ;
15700 PyObject
* obj5
= 0 ;
15701 PyObject
* obj6
= 0 ;
15702 PyObject
* obj7
= 0 ;
15703 PyObject
* obj8
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15711 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 arg3
= wxString_in_helper(obj2
);
15716 if (arg3
== NULL
) SWIG_fail
;
15719 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15720 if (arg4
== NULL
) {
15721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15724 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15725 if (arg5
== NULL
) {
15726 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15731 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15737 arg7
= wxString_in_helper(obj6
);
15738 if (arg7
== NULL
) SWIG_fail
;
15744 arg8
= wxString_in_helper(obj7
);
15745 if (arg8
== NULL
) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= wxPyMake_wxObject(result
);
15792 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15797 wxString
*arg4
= 0 ;
15798 wxBitmap
*arg5
= 0 ;
15799 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15800 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15801 int arg7
= (int) wxITEM_NORMAL
;
15802 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15803 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15804 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15805 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15806 PyObject
*arg10
= (PyObject
*) NULL
;
15807 wxToolBarToolBase
*result
;
15808 bool temp4
= False
;
15809 bool temp8
= False
;
15810 bool temp9
= False
;
15811 PyObject
* obj0
= 0 ;
15812 PyObject
* obj1
= 0 ;
15813 PyObject
* obj2
= 0 ;
15814 PyObject
* obj3
= 0 ;
15815 PyObject
* obj4
= 0 ;
15816 PyObject
* obj5
= 0 ;
15817 PyObject
* obj6
= 0 ;
15818 PyObject
* obj7
= 0 ;
15819 PyObject
* obj8
= 0 ;
15820 PyObject
* obj9
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15828 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 arg4
= wxString_in_helper(obj3
);
15837 if (arg4
== NULL
) SWIG_fail
;
15840 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15841 if (arg5
== NULL
) {
15842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15845 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15846 if (arg6
== NULL
) {
15847 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15852 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15858 arg8
= wxString_in_helper(obj7
);
15859 if (arg8
== NULL
) SWIG_fail
;
15865 arg9
= wxString_in_helper(obj8
);
15866 if (arg9
== NULL
) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 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
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= wxPyMake_wxObject(result
);
15913 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15916 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15917 wxToolBarToolBase
*result
;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "tool", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= wxPyMake_wxObject(result
);
15943 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15947 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15948 wxToolBarToolBase
*result
;
15949 PyObject
* obj0
= 0 ;
15950 PyObject
* obj1
= 0 ;
15951 PyObject
* obj2
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "pos",(char *) "tool", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15959 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= wxPyMake_wxObject(result
);
15979 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15982 wxControl
*arg2
= (wxControl
*) 0 ;
15983 wxToolBarToolBase
*result
;
15984 PyObject
* obj0
= 0 ;
15985 PyObject
* obj1
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self",(char *) "control", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= wxPyMake_wxObject(result
);
16009 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16013 wxControl
*arg3
= (wxControl
*) 0 ;
16014 wxToolBarToolBase
*result
;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 PyObject
* obj2
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self",(char *) "pos",(char *) "control", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16025 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= wxPyMake_wxObject(result
);
16045 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "id", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16059 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 resultobj
= wxPyMake_wxObject(result
);
16078 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16081 wxToolBarToolBase
*result
;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= wxPyMake_wxObject(result
);
16105 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16109 wxToolBarToolBase
*result
;
16110 PyObject
* obj0
= 0 ;
16111 PyObject
* obj1
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self",(char *) "pos", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16119 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= wxPyMake_wxObject(result
);
16138 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16142 wxToolBarToolBase
*result
;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "id", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16152 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= wxPyMake_wxObject(result
);
16171 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, 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 *) "pos", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16185 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16202 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16207 PyObject
* obj0
= 0 ;
16208 PyObject
* obj1
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self",(char *) "id", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16216 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (bool)(arg1
)->DeleteTool(arg2
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16233 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 (arg1
)->ClearTools();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 Py_INCREF(Py_None
); resultobj
= Py_None
;
16257 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 result
= (bool)(arg1
)->Realize();
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16282 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 PyObject
* obj1
= 0 ;
16289 PyObject
* obj2
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "id",(char *) "enable", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16297 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 (arg1
)->EnableTool(arg2
,arg3
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 Py_INCREF(Py_None
); resultobj
= Py_None
;
16318 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
;
16320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 PyObject
* obj2
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self",(char *) "id",(char *) "toggle", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16337 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 (arg1
)->ToggleTool(arg2
,arg3
);
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16347 Py_INCREF(Py_None
); resultobj
= Py_None
;
16354 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 PyObject
* obj1
= 0 ;
16361 PyObject
* obj2
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "id",(char *) "toggle", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16369 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 (arg1
)->SetToggle(arg2
,arg3
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "id", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= result
;
16421 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16425 PyObject
*arg3
= (PyObject
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 PyObject
* obj2
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self",(char *) "id",(char *) "clientData", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16436 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self",(char *) "id", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16468 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_PyObj_FromInt((int)result
);
16485 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "id", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16499 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (bool)(arg1
)->GetToolState(arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 PyObject
* obj1
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "id", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16530 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16551 wxString
*arg3
= 0 ;
16552 bool temp3
= False
;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 PyObject
* obj2
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self",(char *) "id",(char *) "helpString", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 arg3
= wxString_in_helper(obj2
);
16568 if (arg3
== NULL
) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 Py_INCREF(Py_None
); resultobj
= Py_None
;
16593 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self",(char *) "id", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (arg1
)->GetToolShortHelp(arg2
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16630 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16634 wxString
*arg3
= 0 ;
16635 bool temp3
= False
;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 PyObject
* obj2
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self",(char *) "id",(char *) "helpString", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16646 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 arg3
= wxString_in_helper(obj2
);
16651 if (arg3
== NULL
) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 Py_INCREF(Py_None
); resultobj
= Py_None
;
16676 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self",(char *) "id", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16690 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (arg1
)->GetToolLongHelp(arg2
);
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16713 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 PyObject
* obj2
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self",(char *) "x",(char *) "y", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16732 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 (arg1
)->SetMargins(arg2
,arg3
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "size", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16764 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 Py_INCREF(Py_None
); resultobj
= Py_None
;
16780 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "packing", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16793 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 (arg1
)->SetToolPacking(arg2
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 Py_INCREF(Py_None
); resultobj
= Py_None
;
16810 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self",(char *) "separation", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16823 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 (arg1
)->SetToolSeparation(arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 Py_INCREF(Py_None
); resultobj
= Py_None
;
16840 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (arg1
)->GetToolMargins();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 wxSize
* resultptr
;
16860 resultptr
= new wxSize((wxSize
&) result
);
16861 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16869 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (arg1
)->GetMargins();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 wxSize
* resultptr
;
16889 resultptr
= new wxSize((wxSize
&) result
);
16890 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16898 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= (int)(arg1
)->GetToolPacking();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_PyObj_FromInt((int)result
);
16923 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (int)(arg1
)->GetToolSeparation();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= SWIG_PyObj_FromInt((int)result
);
16948 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self",(char *) "nRows", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 (arg1
)->SetRows(arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 Py_INCREF(Py_None
); resultobj
= Py_None
;
16978 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 PyObject
* obj2
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self",(char *) "rows",(char *) "cols", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16993 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 Py_INCREF(Py_None
); resultobj
= Py_None
;
17014 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (int)(arg1
)->GetMaxRows();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= SWIG_PyObj_FromInt((int)result
);
17039 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (int)(arg1
)->GetMaxCols();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_PyObj_FromInt((int)result
);
17064 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self",(char *) "size", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17079 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 Py_INCREF(Py_None
); resultobj
= Py_None
;
17095 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (arg1
)->GetToolBitmapSize();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 wxSize
* resultptr
;
17115 resultptr
= new wxSize((wxSize
&) result
);
17116 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17124 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17128 PyObject
* obj0
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (arg1
)->GetToolSize();
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 wxSize
* resultptr
;
17144 resultptr
= new wxSize((wxSize
&) result
);
17145 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17153 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17158 wxToolBarToolBase
*result
;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 PyObject
* obj2
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self",(char *) "x",(char *) "y", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17169 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17173 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 resultobj
= wxPyMake_wxObject(result
);
17192 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17196 wxToolBarToolBase
*result
;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "toolid", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17206 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= wxPyMake_wxObject(result
);
17225 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (bool)(arg1
)->IsVertical();
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17250 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17253 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17255 return Py_BuildValue((char *)"");
17257 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxWindow
*arg1
= (wxWindow
*) 0 ;
17261 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17262 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17263 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17264 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17265 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17266 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17267 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17271 bool temp6
= False
;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 PyObject
* obj2
= 0 ;
17275 PyObject
* obj3
= 0 ;
17276 PyObject
* obj4
= 0 ;
17277 PyObject
* obj5
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17285 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17302 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17308 arg6
= wxString_in_helper(obj5
);
17309 if (arg6
== NULL
) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= wxPyMake_wxObject(result
);
17337 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17340 char *kwnames
[] = {
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (wxToolBar
*)new wxToolBar();
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= wxPyMake_wxObject(result
);
17361 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17364 wxWindow
*arg2
= (wxWindow
*) 0 ;
17366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17370 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17371 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17376 bool temp7
= False
;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 PyObject
* obj2
= 0 ;
17380 PyObject
* obj3
= 0 ;
17381 PyObject
* obj4
= 0 ;
17382 PyObject
* obj5
= 0 ;
17383 PyObject
* obj6
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17392 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17409 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17415 arg7
= wxString_in_helper(obj6
);
17416 if (arg7
== NULL
) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17442 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17447 wxToolBarToolBase
*result
;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 PyObject
* obj2
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "x",(char *) "y", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= wxPyMake_wxObject(result
);
17481 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17484 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17486 return Py_BuildValue((char *)"");
17488 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17489 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17494 static PyObject
*_wrap_ListCtrlNameStr_get() {
17499 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17501 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17508 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxColour
const &arg1_defvalue
= wxNullColour
;
17511 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17512 wxColour
const &arg2_defvalue
= wxNullColour
;
17513 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17514 wxFont
const &arg3_defvalue
= wxNullFont
;
17515 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17516 wxListItemAttr
*result
;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 PyObject
* obj2
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17530 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17540 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17541 if (arg3
== NULL
) {
17542 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17559 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17562 wxColour
*arg2
= 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "colText", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 Py_INCREF(Py_None
); resultobj
= Py_None
;
17590 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17593 wxColour
*arg2
= 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "colBack", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 Py_INCREF(Py_None
); resultobj
= Py_None
;
17621 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "font", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17634 if (arg2
== NULL
) {
17635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 (arg1
)->SetFont((wxFont
const &)*arg2
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 Py_INCREF(Py_None
); resultobj
= Py_None
;
17651 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (bool)(arg1
)->HasTextColour();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17676 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->HasBackgroundColour();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17701 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (bool)(arg1
)->HasFont();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17726 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (arg1
)->GetTextColour();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 wxColour
* resultptr
;
17746 resultptr
= new wxColour((wxColour
&) result
);
17747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17755 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (arg1
)->GetBackgroundColour();
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 wxColour
* resultptr
;
17775 resultptr
= new wxColour((wxColour
&) result
);
17776 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17784 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (arg1
)->GetFont();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 wxFont
* resultptr
;
17804 resultptr
= new wxFont((wxFont
&) result
);
17805 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17813 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 wxListItemAttr_Destroy(arg1
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17840 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17842 return Py_BuildValue((char *)"");
17844 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxListItem
*result
;
17847 char *kwnames
[] = {
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (wxListItem
*)new wxListItem();
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= wxPyMake_wxObject(result
);
17868 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxListItem
*arg1
= (wxListItem
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxListItem
*arg1
= (wxListItem
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 Py_INCREF(Py_None
); resultobj
= Py_None
;
17916 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxListItem
*arg1
= (wxListItem
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->ClearAttributes();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxListItem
*arg1
= (wxListItem
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "mask", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17953 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 (arg1
)->SetMask(arg2
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 Py_INCREF(Py_None
); resultobj
= Py_None
;
17970 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxListItem
*arg1
= (wxListItem
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self",(char *) "id", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17983 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 (arg1
)->SetId(arg2
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 Py_INCREF(Py_None
); resultobj
= Py_None
;
18000 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxListItem
*arg1
= (wxListItem
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self",(char *) "col", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18013 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->SetColumn(arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxListItem
*arg1
= (wxListItem
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self",(char *) "state", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18043 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->SetState(arg2
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxListItem
*arg1
= (wxListItem
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "stateMask", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18073 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 (arg1
)->SetStateMask(arg2
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18090 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxListItem
*arg1
= (wxListItem
*) 0 ;
18093 wxString
*arg2
= 0 ;
18094 bool temp2
= False
;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self",(char *) "text", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18104 arg2
= wxString_in_helper(obj1
);
18105 if (arg2
== NULL
) SWIG_fail
;
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 (arg1
)->SetText((wxString
const &)*arg2
);
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 Py_INCREF(Py_None
); resultobj
= Py_None
;
18130 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxListItem
*arg1
= (wxListItem
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self",(char *) "image", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18143 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetImage(arg2
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 Py_INCREF(Py_None
); resultobj
= Py_None
;
18160 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxListItem
*arg1
= (wxListItem
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "data", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18173 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->SetData(arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxListItem
*arg1
= (wxListItem
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self",(char *) "width", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18203 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->SetWidth(arg2
);
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 Py_INCREF(Py_None
); resultobj
= Py_None
;
18220 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxListItem
*arg1
= (wxListItem
*) 0 ;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "align", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18233 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxListItem
*arg1
= (wxListItem
*) 0 ;
18253 wxColour
*arg2
= 0 ;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self",(char *) "colText", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 Py_INCREF(Py_None
); resultobj
= Py_None
;
18281 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxListItem
*arg1
= (wxListItem
*) 0 ;
18284 wxColour
*arg2
= 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self",(char *) "colBack", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18312 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxListItem
*arg1
= (wxListItem
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "font", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18325 if (arg2
== NULL
) {
18326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->SetFont((wxFont
const &)*arg2
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 Py_INCREF(Py_None
); resultobj
= Py_None
;
18342 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxListItem
*arg1
= (wxListItem
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (long)(arg1
)->GetMask();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_PyObj_FromLong((long)result
);
18367 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxListItem
*arg1
= (wxListItem
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (long)(arg1
)->GetId();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_PyObj_FromLong((long)result
);
18392 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxListItem
*arg1
= (wxListItem
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (int)(arg1
)->GetColumn();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_PyObj_FromInt((int)result
);
18417 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxListItem
*arg1
= (wxListItem
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (long)(arg1
)->GetState();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_PyObj_FromLong((long)result
);
18442 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxListItem
*arg1
= (wxListItem
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 wxString
const &_result_ref
= (arg1
)->GetText();
18457 result
= (wxString
*) &_result_ref
;
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18467 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18476 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxListItem
*arg1
= (wxListItem
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (int)(arg1
)->GetImage();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_PyObj_FromInt((int)result
);
18501 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxListItem
*arg1
= (wxListItem
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (long)(arg1
)->GetData();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_PyObj_FromLong((long)result
);
18526 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxListItem
*arg1
= (wxListItem
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= (int)(arg1
)->GetWidth();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_PyObj_FromInt((int)result
);
18551 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxListItem
*arg1
= (wxListItem
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 result
= (int)(arg1
)->GetAlign();
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= SWIG_PyObj_FromInt((int)result
);
18576 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxListItem
*arg1
= (wxListItem
*) 0 ;
18579 wxListItemAttr
*result
;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18601 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxListItem
*arg1
= (wxListItem
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (bool)(arg1
)->HasAttributes();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18626 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxListItem
*arg1
= (wxListItem
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 wxColour
* resultptr
;
18646 resultptr
= new wxColour((wxColour
&) result
);
18647 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18655 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxListItem
*arg1
= (wxListItem
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18674 wxColour
* resultptr
;
18675 resultptr
= new wxColour((wxColour
&) result
);
18676 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18684 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxListItem
*arg1
= (wxListItem
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 char *kwnames
[] = {
18690 (char *) "self", NULL
18693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 result
= ((wxListItem
const *)arg1
)->GetFont();
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18703 wxFont
* resultptr
;
18704 resultptr
= new wxFont((wxFont
&) result
);
18705 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18713 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxListItem
*arg1
= (wxListItem
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self",(char *) "m_mask", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18726 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 if (arg1
) (arg1
)->m_mask
= arg2
;
18731 Py_INCREF(Py_None
); resultobj
= Py_None
;
18738 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxListItem
*arg1
= (wxListItem
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18749 result
= (long) ((arg1
)->m_mask
);
18751 resultobj
= SWIG_PyObj_FromLong((long)result
);
18758 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxListItem
*arg1
= (wxListItem
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 PyObject
* obj1
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self",(char *) "m_itemId", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18771 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 if (arg1
) (arg1
)->m_itemId
= arg2
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxListItem
*arg1
= (wxListItem
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18794 result
= (long) ((arg1
)->m_itemId
);
18796 resultobj
= SWIG_PyObj_FromLong((long)result
);
18803 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxListItem
*arg1
= (wxListItem
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self",(char *) "m_col", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18816 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18819 if (arg1
) (arg1
)->m_col
= arg2
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxListItem
*arg1
= (wxListItem
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18839 result
= (int) ((arg1
)->m_col
);
18841 resultobj
= SWIG_PyObj_FromInt((int)result
);
18848 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxListItem
*arg1
= (wxListItem
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self",(char *) "m_state", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18861 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 if (arg1
) (arg1
)->m_state
= arg2
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxListItem
*arg1
= (wxListItem
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18884 result
= (long) ((arg1
)->m_state
);
18886 resultobj
= SWIG_PyObj_FromLong((long)result
);
18893 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxListItem
*arg1
= (wxListItem
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self",(char *) "m_stateMask", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18906 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxListItem
*arg1
= (wxListItem
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18929 result
= (long) ((arg1
)->m_stateMask
);
18931 resultobj
= SWIG_PyObj_FromLong((long)result
);
18938 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxListItem
*arg1
= (wxListItem
*) 0 ;
18941 wxString
*arg2
= (wxString
*) 0 ;
18942 bool temp2
= False
;
18943 PyObject
* obj0
= 0 ;
18944 PyObject
* obj1
= 0 ;
18945 char *kwnames
[] = {
18946 (char *) "self",(char *) "m_text", NULL
18949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18952 arg2
= wxString_in_helper(obj1
);
18953 if (arg2
== NULL
) SWIG_fail
;
18956 if (arg1
) (arg1
)->m_text
= *arg2
;
18958 Py_INCREF(Py_None
); resultobj
= Py_None
;
18973 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxListItem
*arg1
= (wxListItem
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18984 result
= (wxString
*)& ((arg1
)->m_text
);
18988 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18990 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18999 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxListItem
*arg1
= (wxListItem
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self",(char *) "m_image", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19012 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 if (arg1
) (arg1
)->m_image
= arg2
;
19017 Py_INCREF(Py_None
); resultobj
= Py_None
;
19024 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxListItem
*arg1
= (wxListItem
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19035 result
= (int) ((arg1
)->m_image
);
19037 resultobj
= SWIG_PyObj_FromInt((int)result
);
19044 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxListItem
*arg1
= (wxListItem
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self",(char *) "m_data", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19057 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 if (arg1
) (arg1
)->m_data
= arg2
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxListItem
*arg1
= (wxListItem
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19080 result
= (long) ((arg1
)->m_data
);
19082 resultobj
= SWIG_PyObj_FromLong((long)result
);
19089 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxListItem
*arg1
= (wxListItem
*) 0 ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self",(char *) "m_format", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19102 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19105 if (arg1
) (arg1
)->m_format
= arg2
;
19107 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxListItem
*arg1
= (wxListItem
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19125 result
= (int) ((arg1
)->m_format
);
19127 resultobj
= SWIG_PyObj_FromInt((int)result
);
19134 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxListItem
*arg1
= (wxListItem
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "m_width", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19147 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 if (arg1
) (arg1
)->m_width
= arg2
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxListItem
*arg1
= (wxListItem
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 result
= (int) ((arg1
)->m_width
);
19172 resultobj
= SWIG_PyObj_FromInt((int)result
);
19179 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19182 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19184 return Py_BuildValue((char *)"");
19186 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19189 int arg2
= (int) 0 ;
19190 wxListEvent
*result
;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "commandType",(char *) "id", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19206 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19224 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self",(char *) "m_code", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 if (arg1
) (arg1
)->m_code
= arg2
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "self", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19260 result
= (int) ((arg1
)->m_code
);
19262 resultobj
= SWIG_PyObj_FromInt((int)result
);
19269 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "m_oldItemIndex", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19282 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19287 Py_INCREF(Py_None
); resultobj
= Py_None
;
19294 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19305 result
= (long) ((arg1
)->m_oldItemIndex
);
19307 resultobj
= SWIG_PyObj_FromLong((long)result
);
19314 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self",(char *) "m_itemIndex", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19327 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19332 Py_INCREF(Py_None
); resultobj
= Py_None
;
19339 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 char *kwnames
[] = {
19345 (char *) "self", NULL
19348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19350 result
= (long) ((arg1
)->m_itemIndex
);
19352 resultobj
= SWIG_PyObj_FromLong((long)result
);
19359 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "m_col", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19372 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 if (arg1
) (arg1
)->m_col
= arg2
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19395 result
= (int) ((arg1
)->m_col
);
19397 resultobj
= SWIG_PyObj_FromInt((int)result
);
19404 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19407 wxPoint
*arg2
= (wxPoint
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self",(char *) "m_pointDrag", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19417 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19419 Py_INCREF(Py_None
); resultobj
= Py_None
;
19426 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19437 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19446 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19449 wxListItem
*result
;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19457 result
= (wxListItem
*)& ((arg1
)->m_item
);
19460 resultobj
= wxPyMake_wxObject(result
);
19468 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (int)(arg1
)->GetKeyCode();
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= SWIG_PyObj_FromInt((int)result
);
19493 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (long)(arg1
)->GetIndex();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= SWIG_PyObj_FromLong((long)result
);
19518 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (int)(arg1
)->GetColumn();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_PyObj_FromInt((int)result
);
19543 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19547 PyObject
* obj0
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 result
= (arg1
)->GetPoint();
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19562 wxPoint
* resultptr
;
19563 resultptr
= new wxPoint((wxPoint
&) result
);
19564 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19572 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19574 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19576 PyObject
* obj0
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,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
*self
, 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
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 wxString
const &_result_ref
= (arg1
)->GetText();
19621 result
= (wxString
*) &_result_ref
;
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19631 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19640 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (int)(arg1
)->GetImage();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_PyObj_FromInt((int)result
);
19665 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (long)(arg1
)->GetData();
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_PyObj_FromLong((long)result
);
19690 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (long)(arg1
)->GetMask();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_PyObj_FromLong((long)result
);
19715 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19718 wxListItem
*result
;
19719 PyObject
* obj0
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19730 result
= (wxListItem
*) &_result_ref
;
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19743 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (long)(arg1
)->GetCacheFrom();
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_PyObj_FromLong((long)result
);
19768 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (long)(arg1
)->GetCacheTo();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_PyObj_FromLong((long)result
);
19793 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19818 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self",(char *) "editCancelled", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19831 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 (arg1
)->SetEditCanceled(arg2
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 Py_INCREF(Py_None
); resultobj
= Py_None
;
19848 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19851 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19853 return Py_BuildValue((char *)"");
19855 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxWindow
*arg1
= (wxWindow
*) 0 ;
19858 int arg2
= (int) -1 ;
19859 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19860 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19861 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19862 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19863 long arg5
= (long) wxLC_ICON
;
19864 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19865 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19866 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19867 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19868 wxPyListCtrl
*result
;
19871 bool temp7
= False
;
19872 PyObject
* obj0
= 0 ;
19873 PyObject
* obj1
= 0 ;
19874 PyObject
* obj2
= 0 ;
19875 PyObject
* obj3
= 0 ;
19876 PyObject
* obj4
= 0 ;
19877 PyObject
* obj5
= 0 ;
19878 PyObject
* obj6
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19887 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19900 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19905 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19910 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19911 if (arg6
== NULL
) {
19912 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19917 arg7
= wxString_in_helper(obj6
);
19918 if (arg7
== NULL
) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19944 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxPyListCtrl
*result
;
19947 char *kwnames
[] = {
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19966 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19969 wxWindow
*arg2
= (wxWindow
*) 0 ;
19970 int arg3
= (int) -1 ;
19971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19975 long arg6
= (long) wxLC_ICON
;
19976 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19977 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19978 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19979 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19983 bool temp8
= False
;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 PyObject
* obj2
= 0 ;
19987 PyObject
* obj3
= 0 ;
19988 PyObject
* obj4
= 0 ;
19989 PyObject
* obj5
= 0 ;
19990 PyObject
* obj6
= 0 ;
19991 PyObject
* obj7
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20001 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20019 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20024 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20025 if (arg7
== NULL
) {
20026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20031 arg8
= wxString_in_helper(obj7
);
20032 if (arg8
== NULL
) SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20058 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20061 PyObject
*arg2
= (PyObject
*) 0 ;
20062 PyObject
*arg3
= (PyObject
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 PyObject
* obj2
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "self",(char *) "_class", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 Py_INCREF(Py_None
); resultobj
= Py_None
;
20088 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20091 wxColour
*arg2
= 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self",(char *) "col", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20120 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20123 wxColour
*arg2
= 0 ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "col", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20136 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20152 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20156 wxListItem
*result
;
20157 PyObject
* obj0
= 0 ;
20158 PyObject
* obj1
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self",(char *) "col", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20166 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= wxPyMake_wxObject(result
);
20185 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20189 wxListItem
*arg3
= 0 ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 PyObject
* obj2
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self",(char *) "col",(char *) "item", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20201 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20205 if (arg3
== NULL
) {
20206 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20222 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "col", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20236 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_PyObj_FromInt((int)result
);
20253 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 PyObject
* obj2
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "col",(char *) "width", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20273 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20290 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_PyObj_FromInt((int)result
);
20315 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20319 PyObject
* obj0
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20334 wxRect
* resultptr
;
20335 resultptr
= new wxRect((wxRect
&) result
);
20336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20344 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20347 wxTextCtrl
*result
;
20348 PyObject
* obj0
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= wxPyMake_wxObject(result
);
20371 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20375 int arg3
= (int) 0 ;
20376 wxListItem
*result
;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 PyObject
* obj2
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self",(char *) "itemId",(char *) "col", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20387 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20392 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= wxPyMake_wxObject(result
);
20412 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20415 wxListItem
*arg2
= 0 ;
20417 PyObject
* obj0
= 0 ;
20418 PyObject
* obj1
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self",(char *) "info", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20426 if (arg2
== NULL
) {
20427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (bool)(arg1
)->SetItem(*arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20443 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20448 wxString
*arg4
= 0 ;
20449 int arg5
= (int) -1 ;
20451 bool temp4
= False
;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 PyObject
* obj2
= 0 ;
20455 PyObject
* obj3
= 0 ;
20456 PyObject
* obj4
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20464 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20468 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20472 arg4
= wxString_in_helper(obj3
);
20473 if (arg4
== NULL
) SWIG_fail
;
20478 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_PyObj_FromLong((long)result
);
20504 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 PyObject
* obj2
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20524 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_PyObj_FromInt((int)result
);
20541 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 PyObject
* obj1
= 0 ;
20550 PyObject
* obj2
= 0 ;
20551 PyObject
* obj3
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20559 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20563 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20584 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 PyObject
* obj2
= 0 ;
20594 PyObject
* obj3
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20602 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20606 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20610 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20627 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
;
20629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self",(char *) "item", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20641 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20664 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20668 wxString
*arg3
= 0 ;
20669 bool temp3
= False
;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 PyObject
* obj2
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self",(char *) "item",(char *) "str", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20680 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 arg3
= wxString_in_helper(obj2
);
20685 if (arg3
== NULL
) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 Py_INCREF(Py_None
); resultobj
= Py_None
;
20710 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self",(char *) "item", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20724 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_PyObj_FromLong((long)result
);
20741 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "item",(char *) "data", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20757 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20761 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20778 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self",(char *) "item", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20792 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20803 wxPoint
* resultptr
;
20804 resultptr
= new wxPoint((wxPoint
&) result
);
20805 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20813 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20817 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 PyObject
* obj2
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self",(char *) "item",(char *) "code", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20829 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20834 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20846 wxRect
* resultptr
;
20847 resultptr
= new wxRect((wxRect
&) result
);
20848 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20856 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20860 wxPoint
*arg3
= 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 PyObject
* obj2
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "item",(char *) "pos", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20894 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_PyObj_FromInt((int)result
);
20919 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_PyObj_FromInt((int)result
);
20944 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20957 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20963 wxSize
* resultptr
;
20964 resultptr
= new wxSize((wxSize
&) result
);
20965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20973 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 char *kwnames
[] = {
20979 (char *) "self", NULL
20982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_PyObj_FromInt((int)result
);
20998 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21017 wxColour
* resultptr
;
21018 resultptr
= new wxColour((wxColour
&) result
);
21019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21027 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21030 wxColour
*arg2
= 0 ;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self",(char *) "col", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "self", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_PyObj_FromLong((long)result
);
21083 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21087 bool arg3
= (bool) True
;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 PyObject
* obj2
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "self",(char *) "style",(char *) "add", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21098 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21103 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 (arg1
)->SetSingleStyle(arg2
,arg3
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 Py_INCREF(Py_None
); resultobj
= Py_None
;
21121 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self",(char *) "style", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21134 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 (arg1
)->SetWindowStyleFlag(arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 Py_INCREF(Py_None
); resultobj
= Py_None
;
21151 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21155 int arg3
= (int) wxLIST_NEXT_ALL
;
21156 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21158 PyObject
* obj0
= 0 ;
21159 PyObject
* obj1
= 0 ;
21160 PyObject
* obj2
= 0 ;
21161 PyObject
* obj3
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21169 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21174 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21180 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= SWIG_PyObj_FromLong((long)result
);
21198 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21202 wxImageList
*result
;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "self",(char *) "which", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= wxPyMake_wxObject(result
);
21231 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21234 wxImageList
*arg2
= (wxImageList
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 PyObject
* obj2
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self",(char *) "imageList",(char *) "which", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21247 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 (arg1
)->SetImageList(arg2
,arg3
);
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 Py_INCREF(Py_None
); resultobj
= Py_None
;
21264 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21267 wxImageList
*arg2
= (wxImageList
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 PyObject
* obj2
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self",(char *) "imageList",(char *) "which", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21280 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 (arg1
)->AssignImageList(arg2
,arg3
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21322 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self",(char *) "item", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21335 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 (arg1
)->RefreshItem(arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 Py_INCREF(Py_None
); resultobj
= Py_None
;
21352 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21357 PyObject
* obj0
= 0 ;
21358 PyObject
* obj1
= 0 ;
21359 PyObject
* obj2
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21367 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 (arg1
)->RefreshItems(arg2
,arg3
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 Py_INCREF(Py_None
); resultobj
= Py_None
;
21388 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21391 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21393 PyObject
* obj0
= 0 ;
21394 PyObject
* obj1
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self",(char *) "flag", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21403 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (bool)(arg1
)->Arrange(arg2
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21421 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
;
21423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self",(char *) "item", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21435 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (bool)(arg1
)->DeleteItem(arg2
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21452 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (bool)(arg1
)->DeleteAllItems();
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21477 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self",(char *) "col", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21491 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21508 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21512 PyObject
* obj0
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (bool)(arg1
)->DeleteAllColumns();
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21533 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 (arg1
)->ClearAll();
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 Py_INCREF(Py_None
); resultobj
= Py_None
;
21557 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21561 wxTextCtrl
*result
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self",(char *) "item", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21571 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= wxPyMake_wxObject(result
);
21590 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "cancel", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21604 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21621 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "item", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21635 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21652 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21656 wxString
*arg3
= 0 ;
21657 bool arg4
= (bool) False
;
21659 bool temp3
= False
;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 PyObject
* obj2
= 0 ;
21663 PyObject
* obj3
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21671 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 arg3
= wxString_in_helper(obj2
);
21676 if (arg3
== NULL
) SWIG_fail
;
21681 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= SWIG_PyObj_FromLong((long)result
);
21707 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 PyObject
* obj2
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "start",(char *) "data", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21723 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21727 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_PyObj_FromLong((long)result
);
21744 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21748 wxPoint
*arg3
= 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 PyObject
* obj2
= 0 ;
21755 PyObject
* obj3
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21763 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21771 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 resultobj
= SWIG_PyObj_FromLong((long)result
);
21788 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21791 wxPoint
*arg2
= 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "point", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_PyObj_FromLong((long)result
);
21818 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21819 resultobj
= t_output_helper(resultobj
,o
);
21827 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21830 wxListItem
*arg2
= 0 ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self",(char *) "info", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21841 if (arg2
== NULL
) {
21842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (long)(arg1
)->InsertItem(*arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_PyObj_FromLong((long)result
);
21858 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21862 wxString
*arg3
= 0 ;
21864 bool temp3
= False
;
21865 PyObject
* obj0
= 0 ;
21866 PyObject
* obj1
= 0 ;
21867 PyObject
* obj2
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self",(char *) "index",(char *) "label", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21875 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21879 arg3
= wxString_in_helper(obj2
);
21880 if (arg3
== NULL
) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_PyObj_FromLong((long)result
);
21905 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 PyObject
* obj2
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21921 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21925 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= SWIG_PyObj_FromLong((long)result
);
21942 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21946 wxString
*arg3
= 0 ;
21949 bool temp3
= False
;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 PyObject
* obj2
= 0 ;
21953 PyObject
* obj3
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21961 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 arg3
= wxString_in_helper(obj2
);
21966 if (arg3
== NULL
) SWIG_fail
;
21970 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_PyObj_FromLong((long)result
);
21995 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21999 wxListItem
*arg3
= 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 PyObject
* obj2
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self",(char *) "col",(char *) "info", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22011 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22015 if (arg3
== NULL
) {
22016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_PyObj_FromLong((long)result
);
22032 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22036 wxString
*arg3
= 0 ;
22037 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22038 int arg5
= (int) -1 ;
22040 bool temp3
= False
;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 PyObject
* obj3
= 0 ;
22045 PyObject
* obj4
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22053 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22057 arg3
= wxString_in_helper(obj2
);
22058 if (arg3
== NULL
) SWIG_fail
;
22063 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22069 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_PyObj_FromLong((long)result
);
22095 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "count", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22108 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 (arg1
)->SetItemCount(arg2
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 Py_INCREF(Py_None
); resultobj
= Py_None
;
22125 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 PyObject
* obj2
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self",(char *) "dx",(char *) "dy", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22141 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22145 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22162 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22166 wxColour
*arg3
= 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 PyObject
* obj2
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self",(char *) "item",(char *) "col", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22178 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22183 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 Py_INCREF(Py_None
); resultobj
= Py_None
;
22199 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "item", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22213 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 wxColour
* resultptr
;
22225 resultptr
= new wxColour((wxColour
&) result
);
22226 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22234 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22238 wxColour
*arg3
= 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "item",(char *) "col", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22250 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22255 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 Py_INCREF(Py_None
); resultobj
= Py_None
;
22271 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self",(char *) "item", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22285 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 wxColour
* resultptr
;
22297 resultptr
= new wxColour((wxColour
&) result
);
22298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22306 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22309 PyObject
*arg2
= (PyObject
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "func", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22334 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= wxPyMake_wxObject(result
);
22361 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22364 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22366 return Py_BuildValue((char *)"");
22368 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxWindow
*arg1
= (wxWindow
*) 0 ;
22371 int arg2
= (int) -1 ;
22372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22376 long arg5
= (long) wxLC_REPORT
;
22377 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22378 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22379 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22380 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22381 wxListView
*result
;
22384 bool temp7
= False
;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 PyObject
* obj2
= 0 ;
22388 PyObject
* obj3
= 0 ;
22389 PyObject
* obj4
= 0 ;
22390 PyObject
* obj5
= 0 ;
22391 PyObject
* obj6
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22400 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22407 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22413 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22418 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22423 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22424 if (arg6
== NULL
) {
22425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22430 arg7
= wxString_in_helper(obj6
);
22431 if (arg7
== NULL
) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22457 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxListView
*result
;
22460 char *kwnames
[] = {
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= (wxListView
*)new wxListView();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22479 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxListView
*arg1
= (wxListView
*) 0 ;
22482 wxWindow
*arg2
= (wxWindow
*) 0 ;
22483 int arg3
= (int) -1 ;
22484 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22485 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22486 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22487 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22488 long arg6
= (long) wxLC_REPORT
;
22489 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22490 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22491 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22492 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22496 bool temp8
= False
;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22499 PyObject
* obj2
= 0 ;
22500 PyObject
* obj3
= 0 ;
22501 PyObject
* obj4
= 0 ;
22502 PyObject
* obj5
= 0 ;
22503 PyObject
* obj6
= 0 ;
22504 PyObject
* obj7
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22514 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22532 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22537 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22538 if (arg7
== NULL
) {
22539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22544 arg8
= wxString_in_helper(obj7
);
22545 if (arg8
== NULL
) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22571 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxListView
*arg1
= (wxListView
*) 0 ;
22575 bool arg3
= (bool) True
;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "n",(char *) "on", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22586 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22591 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 (arg1
)->Select(arg2
,arg3
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 Py_INCREF(Py_None
); resultobj
= Py_None
;
22609 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
;
22611 wxListView
*arg1
= (wxListView
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self",(char *) "index", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22622 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 (arg1
)->Focus(arg2
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 Py_INCREF(Py_None
); resultobj
= Py_None
;
22639 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxListView
*arg1
= (wxListView
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_PyObj_FromLong((long)result
);
22664 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxListView
*arg1
= (wxListView
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 PyObject
* obj1
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self",(char *) "item", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22678 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_PyObj_FromLong((long)result
);
22695 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxListView
*arg1
= (wxListView
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= SWIG_PyObj_FromLong((long)result
);
22720 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxListView
*arg1
= (wxListView
*) 0 ;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self",(char *) "index", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22734 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (bool)(arg1
)->IsSelected(arg2
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22751 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxListView
*arg1
= (wxListView
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 PyObject
* obj1
= 0 ;
22758 PyObject
* obj2
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self",(char *) "col",(char *) "image", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22766 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22770 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 (arg1
)->SetColumnImage(arg2
,arg3
);
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 Py_INCREF(Py_None
); resultobj
= Py_None
;
22787 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxListView
*arg1
= (wxListView
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self",(char *) "col", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22800 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->ClearColumnImage(arg2
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 Py_INCREF(Py_None
); resultobj
= Py_None
;
22817 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22820 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22822 return Py_BuildValue((char *)"");
22824 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22825 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22830 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22835 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22837 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22844 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxTreeItemId
*result
;
22847 char *kwnames
[] = {
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= (wxTreeItemId
*)new wxTreeItemId();
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22866 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 Py_INCREF(Py_None
); resultobj
= Py_None
;
22890 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22915 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22918 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self",(char *) "other", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22943 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22946 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 PyObject
* obj1
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self",(char *) "other", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22956 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22971 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22974 void *arg2
= (void *) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self",(char *) "m_pItem", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22984 if (arg1
) (arg1
)->m_pItem
= arg2
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23004 result
= (void *) ((arg1
)->m_pItem
);
23006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
23013 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23016 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23018 return Py_BuildValue((char *)"");
23020 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 PyObject
*arg1
= (PyObject
*) NULL
;
23023 wxPyTreeItemData
*result
;
23024 PyObject
* obj0
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "obj", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
23047 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= (PyObject
*)(arg1
)->GetData();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= result
;
23072 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23075 PyObject
*arg2
= (PyObject
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self",(char *) "obj", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 (arg1
)->SetData(arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 Py_INCREF(Py_None
); resultobj
= Py_None
;
23099 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23102 wxTreeItemId
*result
;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23114 result
= (wxTreeItemId
*) &_result_ref
;
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
23127 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23130 wxTreeItemId
*arg2
= 0 ;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "id", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23140 if (arg2
== NULL
) {
23141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 Py_INCREF(Py_None
); resultobj
= Py_None
;
23157 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 wxPyTreeItemData_Destroy(arg1
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 Py_INCREF(Py_None
); resultobj
= Py_None
;
23181 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23184 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23186 return Py_BuildValue((char *)"");
23188 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23191 int arg2
= (int) 0 ;
23192 wxTreeEvent
*result
;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "commandType",(char *) "id", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23202 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23208 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23226 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23229 wxTreeItemId result
;
23230 PyObject
* obj0
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23245 wxTreeItemId
* resultptr
;
23246 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23255 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23258 wxTreeItemId
*arg2
= 0 ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 char *kwnames
[] = {
23262 (char *) "self",(char *) "item", NULL
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23268 if (arg2
== NULL
) {
23269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23288 wxTreeItemId result
;
23289 PyObject
* obj0
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23304 wxTreeItemId
* resultptr
;
23305 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23306 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23314 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23317 wxTreeItemId
*arg2
= 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self",(char *) "item", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23327 if (arg2
== NULL
) {
23328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23348 PyObject
* obj0
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 wxPoint
* resultptr
;
23364 resultptr
= new wxPoint((wxPoint
&) result
);
23365 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23373 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23376 wxPoint
*arg2
= 0 ;
23378 PyObject
* obj0
= 0 ;
23379 PyObject
* obj1
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self",(char *) "pt", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 Py_INCREF(Py_None
); resultobj
= Py_None
;
23404 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23407 wxKeyEvent
*result
;
23408 PyObject
* obj0
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23419 result
= (wxKeyEvent
*) &_result_ref
;
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23432 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 char *kwnames
[] = {
23438 (char *) "self", NULL
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_PyObj_FromInt((int)result
);
23457 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23460 wxKeyEvent
*arg2
= 0 ;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "evt", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23470 if (arg2
== NULL
) {
23471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 Py_INCREF(Py_None
); resultobj
= Py_None
;
23487 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23491 PyObject
* obj0
= 0 ;
23492 char *kwnames
[] = {
23493 (char *) "self", NULL
23496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23502 result
= (wxString
*) &_result_ref
;
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23512 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23521 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23524 wxString
*arg2
= 0 ;
23525 bool temp2
= False
;
23526 PyObject
* obj0
= 0 ;
23527 PyObject
* obj1
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self",(char *) "label", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23535 arg2
= wxString_in_helper(obj1
);
23536 if (arg2
== NULL
) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 (arg1
)->SetLabel((wxString
const &)*arg2
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 Py_INCREF(Py_None
); resultobj
= Py_None
;
23561 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23586 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "editCancelled", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23599 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->SetEditCanceled(arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 Py_INCREF(Py_None
); resultobj
= Py_None
;
23616 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23619 wxString
*arg2
= 0 ;
23620 bool temp2
= False
;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self",(char *) "toolTip", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23630 arg2
= wxString_in_helper(obj1
);
23631 if (arg2
== NULL
) SWIG_fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 Py_INCREF(Py_None
); resultobj
= Py_None
;
23656 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23659 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23661 return Py_BuildValue((char *)"");
23663 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxWindow
*arg1
= (wxWindow
*) 0 ;
23666 int arg2
= (int) -1 ;
23667 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23668 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23669 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23670 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23671 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23672 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23673 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23674 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23675 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23676 wxPyTreeCtrl
*result
;
23679 bool temp7
= False
;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 PyObject
* obj2
= 0 ;
23683 PyObject
* obj3
= 0 ;
23684 PyObject
* obj4
= 0 ;
23685 PyObject
* obj5
= 0 ;
23686 PyObject
* obj6
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23695 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23702 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23708 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23713 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23718 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23719 if (arg6
== NULL
) {
23720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23725 arg7
= wxString_in_helper(obj6
);
23726 if (arg7
== NULL
) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= wxPyMake_wxObject(result
);
23754 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxPyTreeCtrl
*result
;
23757 char *kwnames
[] = {
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= wxPyMake_wxObject(result
);
23778 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23781 wxWindow
*arg2
= (wxWindow
*) 0 ;
23782 int arg3
= (int) -1 ;
23783 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23784 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23785 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23786 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23787 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23788 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23789 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23790 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23791 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23795 bool temp8
= False
;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 PyObject
* obj2
= 0 ;
23799 PyObject
* obj3
= 0 ;
23800 PyObject
* obj4
= 0 ;
23801 PyObject
* obj5
= 0 ;
23802 PyObject
* obj6
= 0 ;
23803 PyObject
* obj7
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23813 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23831 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23836 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23837 if (arg7
== NULL
) {
23838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23843 arg8
= wxString_in_helper(obj7
);
23844 if (arg8
== NULL
) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23870 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23873 PyObject
*arg2
= (PyObject
*) 0 ;
23874 PyObject
*arg3
= (PyObject
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 PyObject
* obj1
= 0 ;
23877 PyObject
* obj2
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "self",(char *) "_class", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 Py_INCREF(Py_None
); resultobj
= Py_None
;
23900 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23925 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23928 unsigned int result
;
23929 PyObject
* obj0
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23950 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
;
23952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23953 unsigned int arg2
;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self",(char *) "indent", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23963 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 (arg1
)->SetIndent(arg2
);
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 Py_INCREF(Py_None
); resultobj
= Py_None
;
23980 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23983 unsigned int result
;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
24005 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24008 unsigned int arg2
;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self",(char *) "spacing", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24018 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->SetSpacing(arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24038 wxImageList
*result
;
24039 PyObject
* obj0
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= wxPyMake_wxObject(result
);
24062 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24065 wxImageList
*result
;
24066 PyObject
* obj0
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "self", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= wxPyMake_wxObject(result
);
24089 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24092 wxImageList
*arg2
= (wxImageList
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "imageList", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 (arg1
)->SetImageList(arg2
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24116 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24119 wxImageList
*arg2
= (wxImageList
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 PyObject
* obj1
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self",(char *) "imageList", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 (arg1
)->SetStateImageList(arg2
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 Py_INCREF(Py_None
); resultobj
= Py_None
;
24143 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24146 wxImageList
*arg2
= (wxImageList
*) 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self",(char *) "imageList", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 (arg1
)->AssignImageList(arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 Py_INCREF(Py_None
); resultobj
= Py_None
;
24170 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24173 wxImageList
*arg2
= (wxImageList
*) 0 ;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "self",(char *) "imageList", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 (arg1
)->AssignStateImageList(arg2
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 Py_INCREF(Py_None
); resultobj
= Py_None
;
24197 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24200 wxTreeItemId
*arg2
= 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self",(char *) "item", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24211 if (arg2
== NULL
) {
24212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24234 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24237 wxTreeItemId
*arg2
= 0 ;
24238 int arg3
= (int) wxTreeItemIcon_Normal
;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 PyObject
* obj2
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self",(char *) "item",(char *) "which", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24250 if (arg2
== NULL
) {
24251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24255 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_PyObj_FromInt((int)result
);
24273 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24276 wxTreeItemId
*arg2
= 0 ;
24277 wxPyTreeItemData
*result
;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "item", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24286 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24287 if (arg2
== NULL
) {
24288 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24304 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24307 wxTreeItemId
*arg2
= 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "item", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24318 if (arg2
== NULL
) {
24319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= result
;
24335 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24338 wxTreeItemId
*arg2
= 0 ;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self",(char *) "item", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24349 if (arg2
== NULL
) {
24350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 wxColour
* resultptr
;
24361 resultptr
= new wxColour((wxColour
&) result
);
24362 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24370 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24373 wxTreeItemId
*arg2
= 0 ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "item", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24384 if (arg2
== NULL
) {
24385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 wxColour
* resultptr
;
24396 resultptr
= new wxColour((wxColour
&) result
);
24397 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24405 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24408 wxTreeItemId
*arg2
= 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "item", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24419 if (arg2
== NULL
) {
24420 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 wxFont
* resultptr
;
24431 resultptr
= new wxFont((wxFont
&) result
);
24432 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24440 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24441 PyObject
*resultobj
;
24442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24443 wxTreeItemId
*arg2
= 0 ;
24444 wxString
*arg3
= 0 ;
24445 bool temp3
= False
;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 PyObject
* obj2
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self",(char *) "item",(char *) "text", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24456 if (arg2
== NULL
) {
24457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24460 arg3
= wxString_in_helper(obj2
);
24461 if (arg3
== NULL
) SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24489 wxTreeItemId
*arg2
= 0 ;
24491 int arg4
= (int) wxTreeItemIcon_Normal
;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 PyObject
* obj2
= 0 ;
24495 PyObject
* obj3
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24503 if (arg2
== NULL
) {
24504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24507 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24512 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 Py_INCREF(Py_None
); resultobj
= Py_None
;
24530 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24533 wxTreeItemId
*arg2
= 0 ;
24534 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 PyObject
* obj2
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self",(char *) "item",(char *) "data", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24545 if (arg2
== NULL
) {
24546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24548 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 Py_INCREF(Py_None
); resultobj
= Py_None
;
24563 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24566 wxTreeItemId
*arg2
= 0 ;
24567 PyObject
*arg3
= (PyObject
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 PyObject
* obj2
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self",(char *) "item",(char *) "obj", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24578 if (arg2
== NULL
) {
24579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 Py_INCREF(Py_None
); resultobj
= Py_None
;
24596 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24599 wxTreeItemId
*arg2
= 0 ;
24600 bool arg3
= (bool) True
;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 PyObject
* obj2
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "item",(char *) "has", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24611 if (arg2
== NULL
) {
24612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24616 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 Py_INCREF(Py_None
); resultobj
= Py_None
;
24634 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24637 wxTreeItemId
*arg2
= 0 ;
24638 bool arg3
= (bool) True
;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 PyObject
* obj2
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self",(char *) "item",(char *) "bold", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24649 if (arg2
== NULL
) {
24650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24654 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 Py_INCREF(Py_None
); resultobj
= Py_None
;
24672 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24675 wxTreeItemId
*arg2
= 0 ;
24676 bool arg3
= (bool) True
;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 PyObject
* obj2
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "item",(char *) "highlight", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24687 if (arg2
== NULL
) {
24688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24692 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 Py_INCREF(Py_None
); resultobj
= Py_None
;
24710 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24713 wxTreeItemId
*arg2
= 0 ;
24714 wxColour
*arg3
= 0 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 PyObject
* obj2
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self",(char *) "item",(char *) "col", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24726 if (arg2
== NULL
) {
24727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24731 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 Py_INCREF(Py_None
); resultobj
= Py_None
;
24747 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24750 wxTreeItemId
*arg2
= 0 ;
24751 wxColour
*arg3
= 0 ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 PyObject
* obj2
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self",(char *) "item",(char *) "col", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24763 if (arg2
== NULL
) {
24764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24768 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 Py_INCREF(Py_None
); resultobj
= Py_None
;
24784 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24787 wxTreeItemId
*arg2
= 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 PyObject
* obj2
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self",(char *) "item",(char *) "font", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24799 if (arg2
== NULL
) {
24800 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24802 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24803 if (arg3
== NULL
) {
24804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 Py_INCREF(Py_None
); resultobj
= Py_None
;
24820 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24823 wxTreeItemId
*arg2
= 0 ;
24825 PyObject
* obj0
= 0 ;
24826 PyObject
* obj1
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self",(char *) "item", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24834 if (arg2
== NULL
) {
24835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24851 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24854 wxTreeItemId
*arg2
= 0 ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "item", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24865 if (arg2
== NULL
) {
24866 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24882 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24885 wxTreeItemId
*arg2
= 0 ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "item", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24896 if (arg2
== NULL
) {
24897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24913 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24916 wxTreeItemId
*arg2
= 0 ;
24918 PyObject
* obj0
= 0 ;
24919 PyObject
* obj1
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self",(char *) "item", NULL
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24927 if (arg2
== NULL
) {
24928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24944 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24947 wxTreeItemId
*arg2
= 0 ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self",(char *) "item", NULL
24955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24958 if (arg2
== NULL
) {
24959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24975 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24978 wxTreeItemId
*arg2
= 0 ;
24979 bool arg3
= (bool) True
;
24981 PyObject
* obj0
= 0 ;
24982 PyObject
* obj1
= 0 ;
24983 PyObject
* obj2
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self",(char *) "item",(char *) "recursively", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24991 if (arg2
== NULL
) {
24992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24996 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
25014 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25017 wxTreeItemId result
;
25018 PyObject
* obj0
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25033 wxTreeItemId
* resultptr
;
25034 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25035 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25043 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25046 wxTreeItemId result
;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25062 wxTreeItemId
* resultptr
;
25063 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25064 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25072 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 char *kwnames
[] = {
25078 (char *) "self", NULL
25081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= result
;
25097 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25100 wxTreeItemId
*arg2
= 0 ;
25101 wxTreeItemId result
;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "item", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25111 if (arg2
== NULL
) {
25112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25122 wxTreeItemId
* resultptr
;
25123 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25124 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25132 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25135 wxTreeItemId
*arg2
= 0 ;
25137 PyObject
* obj0
= 0 ;
25138 PyObject
* obj1
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self",(char *) "item", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25145 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25146 if (arg2
== NULL
) {
25147 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= result
;
25163 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25166 wxTreeItemId
*arg2
= 0 ;
25167 void *arg3
= (void *) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 PyObject
* obj2
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "item",(char *) "cookie", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25179 if (arg2
== NULL
) {
25180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25182 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= result
;
25197 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25200 wxTreeItemId
*arg2
= 0 ;
25201 wxTreeItemId result
;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "item", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25211 if (arg2
== NULL
) {
25212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25222 wxTreeItemId
* resultptr
;
25223 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25224 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25232 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25235 wxTreeItemId
*arg2
= 0 ;
25236 wxTreeItemId result
;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "item", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25246 if (arg2
== NULL
) {
25247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25257 wxTreeItemId
* resultptr
;
25258 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25259 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25267 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25270 wxTreeItemId
*arg2
= 0 ;
25271 wxTreeItemId result
;
25272 PyObject
* obj0
= 0 ;
25273 PyObject
* obj1
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self",(char *) "item", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25281 if (arg2
== NULL
) {
25282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25292 wxTreeItemId
* resultptr
;
25293 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25294 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25302 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
;
25304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25305 wxTreeItemId result
;
25306 PyObject
* obj0
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self", NULL
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 wxTreeItemId
* resultptr
;
25322 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25323 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25331 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25334 wxTreeItemId
*arg2
= 0 ;
25335 wxTreeItemId result
;
25336 PyObject
* obj0
= 0 ;
25337 PyObject
* obj1
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self",(char *) "item", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25345 if (arg2
== NULL
) {
25346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 wxTreeItemId
* resultptr
;
25357 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25366 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25369 wxTreeItemId
*arg2
= 0 ;
25370 wxTreeItemId result
;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "item", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25380 if (arg2
== NULL
) {
25381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25391 wxTreeItemId
* resultptr
;
25392 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25393 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25401 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25404 wxString
*arg2
= 0 ;
25405 int arg3
= (int) -1 ;
25406 int arg4
= (int) -1 ;
25407 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25408 wxTreeItemId result
;
25409 bool temp2
= False
;
25410 PyObject
* obj0
= 0 ;
25411 PyObject
* obj1
= 0 ;
25412 PyObject
* obj2
= 0 ;
25413 PyObject
* obj3
= 0 ;
25414 PyObject
* obj4
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25422 arg2
= wxString_in_helper(obj1
);
25423 if (arg2
== NULL
) SWIG_fail
;
25428 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25434 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25439 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 wxTreeItemId
* resultptr
;
25450 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25451 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25467 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25470 wxTreeItemId
*arg2
= 0 ;
25471 wxString
*arg3
= 0 ;
25472 int arg4
= (int) -1 ;
25473 int arg5
= (int) -1 ;
25474 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25475 wxTreeItemId result
;
25476 bool temp3
= False
;
25477 PyObject
* obj0
= 0 ;
25478 PyObject
* obj1
= 0 ;
25479 PyObject
* obj2
= 0 ;
25480 PyObject
* obj3
= 0 ;
25481 PyObject
* obj4
= 0 ;
25482 PyObject
* obj5
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25490 if (arg2
== NULL
) {
25491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25494 arg3
= wxString_in_helper(obj2
);
25495 if (arg3
== NULL
) SWIG_fail
;
25500 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25506 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25511 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25521 wxTreeItemId
* resultptr
;
25522 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25523 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25539 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25542 wxTreeItemId
*arg2
= 0 ;
25543 wxTreeItemId
*arg3
= 0 ;
25544 wxString
*arg4
= 0 ;
25545 int arg5
= (int) -1 ;
25546 int arg6
= (int) -1 ;
25547 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25548 wxTreeItemId result
;
25549 bool temp4
= False
;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj1
= 0 ;
25552 PyObject
* obj2
= 0 ;
25553 PyObject
* obj3
= 0 ;
25554 PyObject
* obj4
= 0 ;
25555 PyObject
* obj5
= 0 ;
25556 PyObject
* obj6
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25564 if (arg2
== NULL
) {
25565 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25567 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25568 if (arg3
== NULL
) {
25569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25572 arg4
= wxString_in_helper(obj3
);
25573 if (arg4
== NULL
) SWIG_fail
;
25578 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25584 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25589 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25599 wxTreeItemId
* resultptr
;
25600 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25617 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25620 wxTreeItemId
*arg2
= 0 ;
25622 wxString
*arg4
= 0 ;
25623 int arg5
= (int) -1 ;
25624 int arg6
= (int) -1 ;
25625 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25626 wxTreeItemId result
;
25627 bool temp4
= False
;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25631 PyObject
* obj3
= 0 ;
25632 PyObject
* obj4
= 0 ;
25633 PyObject
* obj5
= 0 ;
25634 PyObject
* obj6
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25642 if (arg2
== NULL
) {
25643 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25646 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 arg4
= wxString_in_helper(obj3
);
25651 if (arg4
== NULL
) SWIG_fail
;
25656 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25662 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25667 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25677 wxTreeItemId
* resultptr
;
25678 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25679 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25695 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25698 wxTreeItemId
*arg2
= 0 ;
25699 wxString
*arg3
= 0 ;
25700 int arg4
= (int) -1 ;
25701 int arg5
= (int) -1 ;
25702 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25703 wxTreeItemId result
;
25704 bool temp3
= False
;
25705 PyObject
* obj0
= 0 ;
25706 PyObject
* obj1
= 0 ;
25707 PyObject
* obj2
= 0 ;
25708 PyObject
* obj3
= 0 ;
25709 PyObject
* obj4
= 0 ;
25710 PyObject
* obj5
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25718 if (arg2
== NULL
) {
25719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25722 arg3
= wxString_in_helper(obj2
);
25723 if (arg3
== NULL
) SWIG_fail
;
25728 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25734 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25739 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 wxTreeItemId
* resultptr
;
25750 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25767 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25770 wxTreeItemId
*arg2
= 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "item", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25780 if (arg2
== NULL
) {
25781 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25800 wxTreeItemId
*arg2
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "item", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25810 if (arg2
== NULL
) {
25811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 Py_INCREF(Py_None
); resultobj
= Py_None
;
25827 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25830 PyObject
* obj0
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "self", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 (arg1
)->DeleteAllItems();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 Py_INCREF(Py_None
); resultobj
= Py_None
;
25851 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25854 wxTreeItemId
*arg2
= 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self",(char *) "item", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25864 if (arg2
== NULL
) {
25865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25884 wxTreeItemId
*arg2
= 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "item", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25894 if (arg2
== NULL
) {
25895 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25904 Py_INCREF(Py_None
); resultobj
= Py_None
;
25911 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25914 wxTreeItemId
*arg2
= 0 ;
25915 PyObject
* obj0
= 0 ;
25916 PyObject
* obj1
= 0 ;
25917 char *kwnames
[] = {
25918 (char *) "self",(char *) "item", NULL
25921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25924 if (arg2
== NULL
) {
25925 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 (arg1
)->CollapseAndReset((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_Toggle(PyObject
*self
, 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_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25954 if (arg2
== NULL
) {
25955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 Py_INCREF(Py_None
); resultobj
= Py_None
;
25971 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 (arg1
)->Unselect();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
25995 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25998 wxTreeItemId
*arg2
= 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self",(char *) "item", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26008 if (arg2
== NULL
) {
26009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 Py_INCREF(Py_None
); resultobj
= Py_None
;
26025 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 (arg1
)->UnselectAll();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 Py_INCREF(Py_None
); resultobj
= Py_None
;
26049 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26052 wxTreeItemId
*arg2
= 0 ;
26053 bool arg3
= (bool) True
;
26054 PyObject
* obj0
= 0 ;
26055 PyObject
* obj1
= 0 ;
26056 PyObject
* obj2
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self",(char *) "item",(char *) "select", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26064 if (arg2
== NULL
) {
26065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26069 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 Py_INCREF(Py_None
); resultobj
= Py_None
;
26087 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
;
26089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26090 wxTreeItemId
*arg2
= 0 ;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "item", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26100 if (arg2
== NULL
) {
26101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 Py_INCREF(Py_None
); resultobj
= Py_None
;
26117 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26120 wxTreeItemId
*arg2
= 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "item", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26130 if (arg2
== NULL
) {
26131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26150 wxTreeItemId
*arg2
= 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "item", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26160 if (arg2
== NULL
) {
26161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 Py_INCREF(Py_None
); resultobj
= Py_None
;
26177 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26180 wxTreeItemId
*arg2
= 0 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "item", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26190 if (arg2
== NULL
) {
26191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 Py_INCREF(Py_None
); resultobj
= Py_None
;
26207 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26210 wxTextCtrl
*result
;
26211 PyObject
* obj0
= 0 ;
26212 char *kwnames
[] = {
26213 (char *) "self", NULL
26216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= wxPyMake_wxObject(result
);
26234 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
;
26236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26237 wxTreeItemId
*arg2
= 0 ;
26238 bool arg3
= (bool) False
;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 PyObject
* obj2
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26249 if (arg2
== NULL
) {
26250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26254 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 Py_INCREF(Py_None
); resultobj
= Py_None
;
26272 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26275 wxTreeItemId
*arg2
= 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "item", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26285 if (arg2
== NULL
) {
26286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 Py_INCREF(Py_None
); resultobj
= Py_None
;
26302 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26305 wxPoint
*arg2
= 0 ;
26307 wxTreeItemId result
;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "point", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 wxTreeItemId
* resultptr
;
26332 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26336 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26337 resultobj
= t_output_helper(resultobj
,o
);
26345 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26348 wxTreeItemId
*arg2
= 0 ;
26349 bool arg3
= (bool) False
;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 PyObject
* obj2
= 0 ;
26354 char *kwnames
[] = {
26355 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26361 if (arg2
== NULL
) {
26362 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26366 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= result
;
26384 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26387 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26389 return Py_BuildValue((char *)"");
26391 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26392 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26397 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26402 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26404 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26411 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxWindow
*arg1
= (wxWindow
*) 0 ;
26414 int arg2
= (int) (int)-1 ;
26415 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26416 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26421 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26422 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26423 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26424 int arg8
= (int) 0 ;
26425 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26426 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26427 wxGenericDirCtrl
*result
;
26428 bool temp3
= False
;
26431 bool temp7
= False
;
26432 bool temp9
= False
;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 PyObject
* obj2
= 0 ;
26436 PyObject
* obj3
= 0 ;
26437 PyObject
* obj4
= 0 ;
26438 PyObject
* obj5
= 0 ;
26439 PyObject
* obj6
= 0 ;
26440 PyObject
* obj7
= 0 ;
26441 PyObject
* obj8
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26450 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26456 arg3
= wxString_in_helper(obj2
);
26457 if (arg3
== NULL
) SWIG_fail
;
26464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26475 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26481 arg7
= wxString_in_helper(obj6
);
26482 if (arg7
== NULL
) SWIG_fail
;
26488 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26494 arg9
= wxString_in_helper(obj8
);
26495 if (arg9
== NULL
) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26537 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxGenericDirCtrl
*result
;
26540 char *kwnames
[] = {
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26559 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26562 wxWindow
*arg2
= (wxWindow
*) 0 ;
26563 int arg3
= (int) (int)-1 ;
26564 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26565 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26566 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26567 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26568 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26569 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26570 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26571 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26572 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26573 int arg9
= (int) 0 ;
26574 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26575 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26577 bool temp4
= False
;
26580 bool temp8
= False
;
26581 bool temp10
= False
;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 PyObject
* obj2
= 0 ;
26585 PyObject
* obj3
= 0 ;
26586 PyObject
* obj4
= 0 ;
26587 PyObject
* obj5
= 0 ;
26588 PyObject
* obj6
= 0 ;
26589 PyObject
* obj7
= 0 ;
26590 PyObject
* obj8
= 0 ;
26591 PyObject
* obj9
= 0 ;
26592 char *kwnames
[] = {
26593 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26601 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26607 arg4
= wxString_in_helper(obj3
);
26608 if (arg4
== NULL
) SWIG_fail
;
26615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26626 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26632 arg8
= wxString_in_helper(obj7
);
26633 if (arg8
== NULL
) SWIG_fail
;
26639 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26645 arg10
= wxString_in_helper(obj9
);
26646 if (arg10
== NULL
) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26691 wxString
*arg2
= 0 ;
26693 bool temp2
= False
;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self",(char *) "path", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26703 arg2
= wxString_in_helper(obj1
);
26704 if (arg2
== NULL
) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26729 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
;
26731 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26733 PyObject
* obj0
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26760 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26763 wxString
*arg2
= 0 ;
26764 bool temp2
= False
;
26765 PyObject
* obj0
= 0 ;
26766 PyObject
* obj1
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self",(char *) "path", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26774 arg2
= wxString_in_helper(obj1
);
26775 if (arg2
== NULL
) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 char *kwnames
[] = {
26806 (char *) "self", NULL
26809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26831 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26835 PyObject
* obj0
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26862 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26865 wxString
*arg2
= 0 ;
26866 bool temp2
= False
;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "path", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26876 arg2
= wxString_in_helper(obj1
);
26877 if (arg2
== NULL
) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 (arg1
)->SetPath((wxString
const &)*arg2
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 Py_INCREF(Py_None
); resultobj
= Py_None
;
26902 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "show", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26915 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 (arg1
)->ShowHidden(arg2
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 Py_INCREF(Py_None
); resultobj
= Py_None
;
26932 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 char *kwnames
[] = {
26938 (char *) "self", NULL
26941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 result
= (bool)(arg1
)->GetShowHidden();
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26957 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, 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_GetFilter",kwnames
,&obj0
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26988 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26991 wxString
*arg2
= 0 ;
26992 bool temp2
= False
;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "filter", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27002 arg2
= wxString_in_helper(obj1
);
27003 if (arg2
== NULL
) SWIG_fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 (arg1
)->SetFilter((wxString
const &)*arg2
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 Py_INCREF(Py_None
); resultobj
= Py_None
;
27028 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27032 PyObject
* obj0
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_PyObj_FromInt((int)result
);
27053 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self",(char *) "n", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27066 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 (arg1
)->SetFilterIndex(arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 Py_INCREF(Py_None
); resultobj
= Py_None
;
27083 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27086 wxTreeItemId result
;
27087 PyObject
* obj0
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (arg1
)->GetRootId();
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27102 wxTreeItemId
* resultptr
;
27103 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27104 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27112 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27115 wxPyTreeCtrl
*result
;
27116 PyObject
* obj0
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= wxPyMake_wxObject(result
);
27139 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27142 wxDirFilterListCtrl
*result
;
27143 PyObject
* obj0
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27164 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27167 wxTreeItemId arg2
;
27168 wxString
*arg3
= 0 ;
27170 wxTreeItemId result
;
27171 wxTreeItemId
*argp2
;
27172 bool temp3
= False
;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 char *kwnames
[] = {
27178 (char *) "self",(char *) "parentId",(char *) "path", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27184 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27187 arg3
= wxString_in_helper(obj2
);
27188 if (arg3
== NULL
) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 wxTreeItemId
* resultptr
;
27200 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27204 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27205 resultobj
= t_output_helper(resultobj
,o
);
27221 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27224 PyObject
* obj0
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->DoResize();
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 (arg1
)->ReCreateTree();
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 Py_INCREF(Py_None
); resultobj
= Py_None
;
27269 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27272 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27274 return Py_BuildValue((char *)"");
27276 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27277 PyObject
*resultobj
;
27278 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27279 int arg2
= (int) (int)-1 ;
27280 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27281 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27282 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27283 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27284 long arg5
= (long) 0 ;
27285 wxDirFilterListCtrl
*result
;
27288 PyObject
* obj0
= 0 ;
27289 PyObject
* obj1
= 0 ;
27290 PyObject
* obj2
= 0 ;
27291 PyObject
* obj3
= 0 ;
27292 PyObject
* obj4
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27301 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27314 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27319 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27337 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxDirFilterListCtrl
*result
;
27340 char *kwnames
[] = {
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27359 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27362 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27363 int arg3
= (int) (int)-1 ;
27364 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27365 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27366 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27367 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27368 long arg6
= (long) 0 ;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 PyObject
* obj2
= 0 ;
27375 PyObject
* obj3
= 0 ;
27376 PyObject
* obj4
= 0 ;
27377 PyObject
* obj5
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27387 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27405 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27426 wxString
*arg2
= 0 ;
27428 bool temp2
= False
;
27429 PyObject
* obj0
= 0 ;
27430 PyObject
* obj1
= 0 ;
27431 PyObject
* obj2
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27439 arg2
= wxString_in_helper(obj1
);
27440 if (arg2
== NULL
) SWIG_fail
;
27444 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 Py_INCREF(Py_None
); resultobj
= Py_None
;
27469 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27472 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27474 return Py_BuildValue((char *)"");
27476 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 wxWindow
*arg1
= (wxWindow
*) 0 ;
27480 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27481 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27482 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27483 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27484 long arg5
= (long) 0 ;
27485 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27486 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27487 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27489 wxPyControl
*result
;
27492 bool temp7
= False
;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 PyObject
* obj2
= 0 ;
27496 PyObject
* obj3
= 0 ;
27497 PyObject
* obj4
= 0 ;
27498 PyObject
* obj5
= 0 ;
27499 PyObject
* obj6
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27507 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27513 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27519 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27524 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27529 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27530 if (arg6
== NULL
) {
27531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27536 arg7
= wxString_in_helper(obj6
);
27537 if (arg7
== NULL
) SWIG_fail
;
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27563 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27566 PyObject
*arg2
= (PyObject
*) 0 ;
27567 PyObject
*arg3
= (PyObject
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 PyObject
* obj2
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self",(char *) "self",(char *) "_class", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27600 PyObject
* obj0
= 0 ;
27601 PyObject
* obj1
= 0 ;
27602 PyObject
* obj2
= 0 ;
27603 PyObject
* obj3
= 0 ;
27604 PyObject
* obj4
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27612 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27620 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27624 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 Py_INCREF(Py_None
); resultobj
= Py_None
;
27641 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27648 int arg6
= (int) wxSIZE_AUTO
;
27649 PyObject
* obj0
= 0 ;
27650 PyObject
* obj1
= 0 ;
27651 PyObject
* obj2
= 0 ;
27652 PyObject
* obj3
= 0 ;
27653 PyObject
* obj4
= 0 ;
27654 PyObject
* obj5
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27666 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27670 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27674 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27679 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 Py_INCREF(Py_None
); resultobj
= Py_None
;
27697 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 PyObject
* obj2
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self",(char *) "width",(char *) "height", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27716 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27726 Py_INCREF(Py_None
); resultobj
= Py_None
;
27733 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27738 PyObject
* obj0
= 0 ;
27739 PyObject
* obj1
= 0 ;
27740 PyObject
* obj2
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "x",(char *) "y", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27748 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27752 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 Py_INCREF(Py_None
); resultobj
= Py_None
;
27769 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27772 int *arg2
= (int *) 0 ;
27773 int *arg3
= (int *) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 Py_INCREF(Py_None
); resultobj
= Py_None
;
27794 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27795 resultobj
= t_output_helper(resultobj
,o
);
27798 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27799 resultobj
= t_output_helper(resultobj
,o
);
27807 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27810 int *arg2
= (int *) 0 ;
27811 int *arg3
= (int *) 0 ;
27814 PyObject
* obj0
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 Py_INCREF(Py_None
); resultobj
= Py_None
;
27832 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27833 resultobj
= t_output_helper(resultobj
,o
);
27836 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27837 resultobj
= t_output_helper(resultobj
,o
);
27845 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27848 int *arg2
= (int *) 0 ;
27849 int *arg3
= (int *) 0 ;
27852 PyObject
* obj0
= 0 ;
27853 char *kwnames
[] = {
27854 (char *) "self", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27871 resultobj
= t_output_helper(resultobj
,o
);
27874 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27875 resultobj
= t_output_helper(resultobj
,o
);
27883 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
;
27885 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27887 PyObject
* obj0
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27902 wxSize
* resultptr
;
27903 resultptr
= new wxSize((wxSize
&) result
);
27904 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27912 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27916 PyObject
* obj0
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 wxSize
* resultptr
;
27932 resultptr
= new wxSize((wxSize
&) result
);
27933 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27941 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27944 PyObject
* obj0
= 0 ;
27945 char *kwnames
[] = {
27946 (char *) "self", NULL
27949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 (arg1
)->base_InitDialog();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 Py_INCREF(Py_None
); resultobj
= Py_None
;
27965 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27969 PyObject
* obj0
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (bool)(arg1
)->base_TransferDataToWindow();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27990 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27994 PyObject
* obj0
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28015 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= (bool)(arg1
)->base_Validate();
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28040 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28041 PyObject
*resultobj
;
28042 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28044 PyObject
* obj0
= 0 ;
28045 char *kwnames
[] = {
28046 (char *) "self", NULL
28049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28065 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28069 PyObject
* obj0
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28090 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
;
28092 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28094 PyObject
* obj0
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "self", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28109 wxSize
* resultptr
;
28110 resultptr
= new wxSize((wxSize
&) result
);
28111 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
28119 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28122 wxWindow
*arg2
= (wxWindow
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 PyObject
* obj1
= 0 ;
28125 char *kwnames
[] = {
28126 (char *) "self",(char *) "child", NULL
28129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 (arg1
)->base_AddChild(arg2
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 Py_INCREF(Py_None
); resultobj
= Py_None
;
28146 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28149 wxWindow
*arg2
= (wxWindow
*) 0 ;
28150 PyObject
* obj0
= 0 ;
28151 PyObject
* obj1
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "self",(char *) "child", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 (arg1
)->base_RemoveChild(arg2
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 Py_INCREF(Py_None
); resultobj
= Py_None
;
28173 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28176 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28178 return Py_BuildValue((char *)"");
28180 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28183 int arg2
= (int) 0 ;
28184 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28185 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28186 wxHelpEvent
*result
;
28188 PyObject
* obj0
= 0 ;
28189 PyObject
* obj1
= 0 ;
28190 PyObject
* obj2
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "type",(char *) "winid",(char *) "pt", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28198 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28204 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
28228 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28232 PyObject
* obj0
= 0 ;
28233 char *kwnames
[] = {
28234 (char *) "self", NULL
28237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28242 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28243 result
= (wxPoint
*) &_result_ref
;
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28256 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28259 wxPoint
*arg2
= 0 ;
28261 PyObject
* obj0
= 0 ;
28262 PyObject
* obj1
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self",(char *) "pos", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 Py_INCREF(Py_None
); resultobj
= Py_None
;
28287 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28302 result
= (wxString
*) &_result_ref
;
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28312 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28321 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28324 wxString
*arg2
= 0 ;
28325 bool temp2
= False
;
28326 PyObject
* obj0
= 0 ;
28327 PyObject
* obj1
= 0 ;
28328 char *kwnames
[] = {
28329 (char *) "self",(char *) "link", NULL
28332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28335 arg2
= wxString_in_helper(obj1
);
28336 if (arg2
== NULL
) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 (arg1
)->SetLink((wxString
const &)*arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 Py_INCREF(Py_None
); resultobj
= Py_None
;
28361 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28376 result
= (wxString
*) &_result_ref
;
28379 wxPyEndAllowThreads(__tstate
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28384 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28386 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28395 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28398 wxString
*arg2
= 0 ;
28399 bool temp2
= False
;
28400 PyObject
* obj0
= 0 ;
28401 PyObject
* obj1
= 0 ;
28402 char *kwnames
[] = {
28403 (char *) "self",(char *) "target", NULL
28406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28409 arg2
= wxString_in_helper(obj1
);
28410 if (arg2
== NULL
) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 (arg1
)->SetTarget((wxString
const &)*arg2
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 Py_INCREF(Py_None
); resultobj
= Py_None
;
28435 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28438 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28440 return Py_BuildValue((char *)"");
28442 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxWindow
*arg1
= (wxWindow
*) NULL
;
28445 bool arg2
= (bool) True
;
28446 wxContextHelp
*result
;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "window",(char *) "doNow", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28459 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28477 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28478 PyObject
*resultobj
;
28479 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 char *kwnames
[] = {
28482 (char *) "self", NULL
28485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 Py_INCREF(Py_None
); resultobj
= Py_None
;
28501 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28503 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28504 wxWindow
*arg2
= (wxWindow
*) NULL
;
28506 PyObject
* obj0
= 0 ;
28507 PyObject
* obj1
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "self",(char *) "window", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28531 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
;
28533 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (bool)(arg1
)->EndContextHelp();
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28556 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28559 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28561 return Py_BuildValue((char *)"");
28563 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxWindow
*arg1
= (wxWindow
*) 0 ;
28566 int arg2
= (int) wxID_CONTEXT_HELP
;
28567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28571 long arg5
= (long) wxBU_AUTODRAW
;
28572 wxContextHelpButton
*result
;
28575 PyObject
* obj0
= 0 ;
28576 PyObject
* obj1
= 0 ;
28577 PyObject
* obj2
= 0 ;
28578 PyObject
* obj3
= 0 ;
28579 PyObject
* obj4
= 0 ;
28580 char *kwnames
[] = {
28581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28588 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28595 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28601 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28606 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28624 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28627 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28629 return Py_BuildValue((char *)"");
28631 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28634 wxHelpProvider
*result
;
28635 PyObject
* obj0
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "helpProvider", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28656 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxHelpProvider
*result
;
28659 char *kwnames
[] = {
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28678 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28680 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28681 wxWindow
*arg2
= (wxWindow
*) 0 ;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 char *kwnames
[] = {
28686 (char *) "self",(char *) "window", NULL
28689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28712 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28715 wxWindow
*arg2
= (wxWindow
*) 0 ;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 char *kwnames
[] = {
28720 (char *) "self",(char *) "window", NULL
28723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= (bool)(arg1
)->ShowHelp(arg2
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28740 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28743 wxWindow
*arg2
= (wxWindow
*) 0 ;
28744 wxString
*arg3
= 0 ;
28745 bool temp3
= False
;
28746 PyObject
* obj0
= 0 ;
28747 PyObject
* obj1
= 0 ;
28748 PyObject
* obj2
= 0 ;
28749 char *kwnames
[] = {
28750 (char *) "self",(char *) "window",(char *) "text", NULL
28753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28757 arg3
= wxString_in_helper(obj2
);
28758 if (arg3
== NULL
) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 Py_INCREF(Py_None
); resultobj
= Py_None
;
28783 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28787 wxString
*arg3
= 0 ;
28788 bool temp3
= False
;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 PyObject
* obj2
= 0 ;
28792 char *kwnames
[] = {
28793 (char *) "self",(char *) "id",(char *) "text", NULL
28796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28803 arg3
= wxString_in_helper(obj2
);
28804 if (arg3
== NULL
) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 Py_INCREF(Py_None
); resultobj
= Py_None
;
28829 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
;
28831 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28832 PyObject
* obj0
= 0 ;
28833 char *kwnames
[] = {
28834 (char *) "self", NULL
28837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 wxHelpProvider_Destroy(arg1
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 Py_INCREF(Py_None
); resultobj
= Py_None
;
28853 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28856 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28858 return Py_BuildValue((char *)"");
28860 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxSimpleHelpProvider
*result
;
28863 char *kwnames
[] = {
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28882 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28885 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28887 return Py_BuildValue((char *)"");
28889 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxBitmap
*arg1
= 0 ;
28892 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28893 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28894 wxGenericDragImage
*result
;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "image",(char *) "cursor", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28903 if (arg1
== NULL
) {
28904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28908 if (arg2
== NULL
) {
28909 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28926 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28929 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28930 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28931 wxGenericDragImage
*result
;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 char *kwnames
[] = {
28935 (char *) "image",(char *) "cursor", NULL
28938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28940 if (arg1
== NULL
) {
28941 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28945 if (arg2
== NULL
) {
28946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28963 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxString
*arg1
= 0 ;
28966 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28967 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28968 wxGenericDragImage
*result
;
28969 bool temp1
= False
;
28970 PyObject
* obj0
= 0 ;
28971 PyObject
* obj1
= 0 ;
28972 char *kwnames
[] = {
28973 (char *) "str",(char *) "cursor", NULL
28976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28978 arg1
= wxString_in_helper(obj0
);
28979 if (arg1
== NULL
) SWIG_fail
;
28983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28984 if (arg2
== NULL
) {
28985 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29010 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
;
29012 wxPyTreeCtrl
*arg1
= 0 ;
29013 wxTreeItemId
*arg2
= 0 ;
29014 wxGenericDragImage
*result
;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "treeCtrl",(char *) "id", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29023 if (arg1
== NULL
) {
29024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29027 if (arg2
== NULL
) {
29028 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29044 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
;
29046 wxPyListCtrl
*arg1
= 0 ;
29048 wxGenericDragImage
*result
;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "listCtrl",(char *) "id", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29057 if (arg1
== NULL
) {
29058 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29061 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29078 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29079 PyObject
*resultobj
;
29080 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29081 PyObject
* obj0
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 Py_INCREF(Py_None
); resultobj
= Py_None
;
29102 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
;
29104 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29105 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self",(char *) "bitmap", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 (arg1
)->SetBackingBitmap(arg2
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 Py_INCREF(Py_None
); resultobj
= Py_None
;
29129 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29132 wxPoint
*arg2
= 0 ;
29133 wxWindow
*arg3
= (wxWindow
*) 0 ;
29134 bool arg4
= (bool) False
;
29135 wxRect
*arg5
= (wxRect
*) NULL
;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 PyObject
* obj2
= 0 ;
29141 PyObject
* obj3
= 0 ;
29142 PyObject
* obj4
= 0 ;
29143 char *kwnames
[] = {
29144 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29151 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29153 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29156 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29161 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29177 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29180 wxPoint
*arg2
= 0 ;
29181 wxWindow
*arg3
= (wxWindow
*) 0 ;
29182 wxWindow
*arg4
= (wxWindow
*) 0 ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 PyObject
* obj2
= 0 ;
29188 PyObject
* obj3
= 0 ;
29189 char *kwnames
[] = {
29190 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29199 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29200 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29215 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= (bool)(arg1
)->EndDrag();
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29240 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
;
29242 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29243 wxPoint
*arg2
= 0 ;
29246 PyObject
* obj0
= 0 ;
29247 PyObject
* obj1
= 0 ;
29248 char *kwnames
[] = {
29249 (char *) "self",(char *) "pt", NULL
29252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29256 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29272 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29276 PyObject
* obj0
= 0 ;
29277 char *kwnames
[] = {
29278 (char *) "self", NULL
29281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 result
= (bool)(arg1
)->Show();
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29297 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
;
29299 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29301 PyObject
* obj0
= 0 ;
29302 char *kwnames
[] = {
29303 (char *) "self", NULL
29306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (bool)(arg1
)->Hide();
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29322 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29325 wxPoint
*arg2
= 0 ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self",(char *) "pos", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 wxRect
* resultptr
;
29349 resultptr
= new wxRect((wxRect
&) result
);
29350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29358 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
;
29360 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29362 wxPoint
*arg3
= 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 PyObject
* obj2
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self",(char *) "dc",(char *) "pos", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29375 if (arg2
== NULL
) {
29376 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29396 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29397 PyObject
*resultobj
;
29398 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29400 wxMemoryDC
*arg3
= 0 ;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 PyObject
* obj2
= 0 ;
29409 PyObject
* obj3
= 0 ;
29410 PyObject
* obj4
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29418 if (arg2
== NULL
) {
29419 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29421 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29422 if (arg3
== NULL
) {
29423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29427 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29431 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29447 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29450 wxPoint
*arg2
= 0 ;
29451 wxPoint
*arg3
= 0 ;
29457 PyObject
* obj0
= 0 ;
29458 PyObject
* obj1
= 0 ;
29459 PyObject
* obj2
= 0 ;
29460 PyObject
* obj3
= 0 ;
29461 PyObject
* obj4
= 0 ;
29462 char *kwnames
[] = {
29463 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29474 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29477 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29481 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29498 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29501 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29503 return Py_BuildValue((char *)"");
29505 static PyMethodDef SwigMethods
[] = {
29506 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29512 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29527 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29538 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29545 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29563 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29576 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29580 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29586 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29590 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29597 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29619 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29628 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29629 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29658 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29714 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29719 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29730 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29742 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29753 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29757 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29774 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29780 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29805 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29812 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29832 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29838 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29848 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29850 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29855 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29857 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29862 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29867 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29897 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29942 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29947 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29959 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29965 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30011 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30038 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30108 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30120 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30128 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30135 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30151 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30227 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30249 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30254 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30275 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30283 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30288 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30290 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30298 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30300 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30322 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30324 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30325 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30327 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30328 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30330 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30331 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30333 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30334 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30336 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30337 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30339 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30340 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30342 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30343 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30345 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30346 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30348 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30349 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30351 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30352 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30354 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30355 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30357 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30358 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30360 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30361 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30363 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30364 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30366 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30367 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30369 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30370 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30372 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30373 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30375 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30376 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30378 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30381 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30384 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30385 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30387 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30388 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30390 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30393 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30394 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30396 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30397 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30399 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30400 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30402 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30405 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30406 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30408 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30411 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30412 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30414 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30415 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30417 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30418 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30420 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30421 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30423 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30424 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30426 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30427 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30429 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30430 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30432 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30433 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30435 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30438 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30439 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30441 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30442 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30444 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30445 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30447 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30448 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30450 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30451 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30453 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30454 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30456 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30459 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30460 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30462 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30463 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30465 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30468 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30471 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30472 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30474 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30475 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30477 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30478 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30480 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30481 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30483 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30484 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30486 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30487 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30489 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30490 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30492 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30493 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30495 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30496 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30498 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30499 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30501 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30502 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30504 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30505 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30507 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30508 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30510 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30511 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30513 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30514 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30516 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30517 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30519 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30520 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30522 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30523 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30525 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30526 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30528 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30529 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30531 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30532 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30534 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30535 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30537 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30538 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30540 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30541 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30543 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30544 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30546 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30547 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30549 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30550 return (void *)((wxControl
*) ((wxGauge
*) x
));
30552 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30553 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30555 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30556 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30558 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30559 return (void *)((wxControl
*) ((wxButton
*) x
));
30561 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30562 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30564 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30565 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30567 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30568 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30570 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30571 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30573 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30574 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30576 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30577 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30579 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30580 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30582 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30583 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30585 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30586 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30588 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30589 return (void *)((wxControl
*) ((wxSlider
*) x
));
30591 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30592 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30594 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30595 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30597 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30598 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30600 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30601 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30603 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30604 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30606 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
30607 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
30609 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30610 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30612 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30613 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30615 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30616 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30618 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30619 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30621 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30622 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30624 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30625 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30627 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30628 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30630 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30633 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30634 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30636 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30637 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30639 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30640 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30642 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30645 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30646 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30648 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30651 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30654 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30655 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30657 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30658 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30660 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30663 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30666 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30669 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30672 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30675 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30676 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30678 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30681 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30684 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30687 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30688 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30690 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30693 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30696 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30699 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30702 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30705 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30708 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30711 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30714 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30717 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30720 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30723 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30726 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30729 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30732 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30735 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30738 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30741 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30744 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30747 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30750 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30751 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30753 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30754 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30756 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30757 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30759 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30760 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30762 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30763 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30765 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30766 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30768 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30769 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30771 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30772 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30774 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30775 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30777 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30778 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30780 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30783 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30784 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30786 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30789 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30792 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30793 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30795 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30796 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30798 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30799 return (void *)((wxObject
*) ((wxSizer
*) x
));
30801 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30802 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30804 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30807 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30810 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30813 static void *_p_wxEventTo_p_wxObject(void *x
) {
30814 return (void *)((wxObject
*) ((wxEvent
*) x
));
30816 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30817 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30819 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30820 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30822 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30823 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30825 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30828 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30831 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30834 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30835 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30837 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30838 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30840 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30841 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30843 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30844 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30846 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30847 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30849 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30850 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30852 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30855 static void *_p_wxControlTo_p_wxObject(void *x
) {
30856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30858 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30861 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30864 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30867 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30870 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30873 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30874 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30876 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30879 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30880 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30882 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30883 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30885 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30888 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30891 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30894 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30895 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30897 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30898 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30900 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30903 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30904 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30906 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30909 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30912 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30913 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30915 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30916 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30918 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30921 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30922 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30924 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30925 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30927 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30928 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30930 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30931 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30933 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30934 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30936 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30937 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30939 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30942 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30943 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30945 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30946 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30948 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30949 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30951 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30952 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30954 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30957 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30960 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30963 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30964 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30966 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30967 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30969 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30970 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30972 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30973 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30975 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30976 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30978 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30981 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30982 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30984 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30987 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30990 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30993 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30996 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30999 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31002 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31005 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31008 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31009 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31011 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31014 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31017 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31020 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31023 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31024 return (void *)((wxObject
*) ((wxListItem
*) x
));
31026 static void *_p_wxImageTo_p_wxObject(void *x
) {
31027 return (void *)((wxObject
*) ((wxImage
*) x
));
31029 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31030 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31032 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31033 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31035 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31038 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31039 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31041 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31044 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31047 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31050 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31053 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31054 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31056 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31057 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31059 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31060 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31062 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31063 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31065 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31068 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31069 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31071 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31074 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31075 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31077 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31078 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31080 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31081 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31083 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31084 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31086 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31087 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31089 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31092 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31093 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31095 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31096 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31098 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31101 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31102 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31104 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31105 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31107 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31108 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31110 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31113 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31114 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31116 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31119 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31122 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31123 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31125 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31126 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31128 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31129 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31131 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31132 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31134 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31135 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31137 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31138 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31140 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31141 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31143 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31144 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31146 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31147 return (void *)((wxWindow
*) ((wxControl
*) x
));
31149 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31150 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31152 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31153 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31155 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31156 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31158 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31159 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31161 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31162 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31164 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31165 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31167 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31168 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31170 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31171 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31173 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31174 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31176 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31177 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31179 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31180 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31182 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31183 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31185 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31186 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31188 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31189 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31191 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31192 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31194 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31195 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31197 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31198 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31200 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31201 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31203 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31204 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31206 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31207 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31209 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31210 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31212 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31213 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31215 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31216 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31218 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31219 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31221 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31222 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31224 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31225 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31227 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31228 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31230 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31231 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31233 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31234 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31236 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31237 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31239 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31240 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31242 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31243 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31245 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31246 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31248 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31249 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31251 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31252 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31254 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31255 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31257 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31258 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31260 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31261 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31263 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31264 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31266 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31267 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31269 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31270 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31272 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31273 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31275 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31276 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31278 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31279 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31281 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31282 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
31284 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31285 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31287 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31288 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31290 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31291 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31293 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31294 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31296 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31297 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31299 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31300 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0},{"_p_wxBookCtrlEvent"},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
},{0}};
31301 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
},{0}};
31302 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31303 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31304 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
31305 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31306 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31307 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31308 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
31309 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31310 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31311 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31312 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
},{"_p_wxListView", _p_wxListViewTo_p_wxControl
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
},{"_p_wxButton", _p_wxButtonTo_p_wxControl
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
},{0}};
31313 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31314 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31315 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31316 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31317 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31318 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31319 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
31320 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31321 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31322 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31323 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31324 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31325 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31326 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31327 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31328 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31329 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31330 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
31331 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31332 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31333 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31334 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31335 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31336 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31337 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31338 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31339 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
},{0}};
31340 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31341 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31342 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31343 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
},{"_p_wxBookCtrl"},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
},{0}};
31344 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31345 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0},{"_p_wxButton"},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
},{0}};
31346 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31347 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31348 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31349 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31350 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31351 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31352 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31353 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31354 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31355 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31356 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31357 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31358 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31359 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31360 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31361 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31362 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31363 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31364 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31365 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31366 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31367 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxListView", _p_wxListViewTo_p_wxObject
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
},{"_p_wxButton", _p_wxButtonTo_p_wxObject
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
31368 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31369 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31370 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
},{0}};
31371 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31372 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31373 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31374 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31375 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{0}};
31376 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31377 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
31378 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31379 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31380 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31381 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31382 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31384 static swig_type_info
*swig_types_initial
[] = {
31385 _swigt__p_wxTextUrlEvent
,
31386 _swigt__p_wxBookCtrlEvent
,
31388 _swigt__p_wxCheckBox
,
31389 _swigt__p_wxPyTreeCtrl
,
31391 _swigt__p_wxGenericDirCtrl
,
31393 _swigt__p_wxPyTreeItemData
,
31394 _swigt__p_wxItemContainer
,
31395 _swigt__p_wxDirFilterListCtrl
,
31396 _swigt__p_wxPyListCtrl
,
31397 _swigt__p_wxStaticLine
,
31398 _swigt__p_wxControl
,
31399 _swigt__p_wxPyControl
,
31401 _swigt__p_wxToolBarBase
,
31403 _swigt__p_wxToggleButton
,
31404 _swigt__p_wxRadioButton
,
31405 _swigt__p_wxChoice
,
31406 _swigt__p_wxMemoryDC
,
31407 _swigt__p_wxListItemAttr
,
31412 _swigt__p_wxListView
,
31414 _swigt__p_wxTextCtrl
,
31415 _swigt__p_wxNotebook
,
31416 _swigt__p_wxNotifyEvent
,
31417 _swigt__p_wxArrayString
,
31418 _swigt__p_wxListbook
,
31419 _swigt__p_wxStaticBitmap
,
31420 _swigt__p_wxSlider
,
31421 _swigt__p_wxStaticBox
,
31422 _swigt__p_wxArrayInt
,
31423 _swigt__p_wxContextHelp
,
31425 _swigt__p_wxEvtHandler
,
31426 _swigt__p_wxListEvent
,
31427 _swigt__p_wxListBox
,
31428 _swigt__p_wxCheckListBox
,
31429 _swigt__p_wxBookCtrl
,
31430 _swigt__p_wxSpinButton
,
31431 _swigt__p_wxButton
,
31432 _swigt__p_wxBitmapButton
,
31434 _swigt__p_wxContextHelpButton
,
31435 _swigt__p_wxRadioBox
,
31436 _swigt__p_wxScrollBar
,
31438 _swigt__p_wxTreeItemId
,
31439 _swigt__p_wxComboBox
,
31440 _swigt__p_wxHelpEvent
,
31441 _swigt__p_wxListItem
,
31442 _swigt__p_wxNotebookSizer
,
31443 _swigt__p_wxSpinEvent
,
31444 _swigt__p_wxGenericDragImage
,
31445 _swigt__p_wxSpinCtrl
,
31446 _swigt__p_wxImageList
,
31447 _swigt__p_wxHelpProvider
,
31448 _swigt__p_wxTextAttr
,
31449 _swigt__p_wxSimpleHelpProvider
,
31451 _swigt__p_wxListbookEvent
,
31452 _swigt__p_wxNotebookEvent
,
31453 _swigt__p_wxObject
,
31454 _swigt__p_wxCursor
,
31455 _swigt__p_wxKeyEvent
,
31456 _swigt__p_wxWindow
,
31457 _swigt__p_wxString
,
31458 _swigt__p_wxBitmap
,
31459 _swigt__p_wxTreeEvent
,
31460 _swigt__p_wxMouseEvent
,
31461 _swigt__p_wxCommandEvent
,
31462 _swigt__p_wxStaticText
,
31463 _swigt__p_wxControlWithItems
,
31464 _swigt__p_wxToolBarToolBase
,
31465 _swigt__p_wxColour
,
31466 _swigt__p_wxToolBar
,
31467 _swigt__p_wxBookCtrlSizer
,
31468 _swigt__p_wxValidator
,
31473 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31475 static swig_const_info swig_const_table
[] = {
31485 SWIGEXPORT(void) SWIG_init(void) {
31486 static PyObject
*SWIG_globals
= 0;
31487 static int typeinit
= 0;
31490 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31491 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31492 d
= PyModule_GetDict(m
);
31495 for (i
= 0; swig_types_initial
[i
]; i
++) {
31496 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31500 SWIG_InstallConstants(d
,swig_const_table
);
31502 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31503 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31504 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31505 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31506 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31507 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31508 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31509 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31510 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31511 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31512 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31513 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31514 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31515 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31516 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31517 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31518 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31519 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31520 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31521 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31522 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31523 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31524 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31525 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31526 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31527 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31528 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31529 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31530 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31531 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31532 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31533 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31534 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31535 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31536 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31537 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31538 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31539 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31540 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31541 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31542 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31543 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31544 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31545 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31546 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31547 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31548 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31549 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31550 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31551 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31552 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31553 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31554 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31555 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31556 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31557 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31558 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31559 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31560 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31561 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31562 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31563 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31564 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31565 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31566 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31567 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31568 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31569 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31570 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31571 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31573 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31574 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31575 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31576 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31577 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31578 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31579 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31580 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31581 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31582 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31583 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31584 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31585 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31586 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31587 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31588 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31589 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31590 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31591 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31592 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31593 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31594 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31595 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31596 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31597 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31598 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31599 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31600 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31601 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31602 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31603 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31604 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31605 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31606 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31607 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31608 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31609 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31610 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31611 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31612 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31613 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31614 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31615 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31616 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31617 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31618 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31619 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31620 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31621 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31622 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31623 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31624 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31625 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31626 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31627 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31628 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31629 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31630 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31631 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31632 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31633 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31634 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31635 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31636 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31637 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31638 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31639 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31640 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31641 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31642 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31643 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31644 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31645 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31646 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31647 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31648 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31649 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31650 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31651 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31652 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31653 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31654 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31655 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31656 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31657 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31658 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31659 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31660 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31661 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31662 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31663 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31664 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31665 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31666 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31667 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31668 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31669 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31670 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31671 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31672 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31673 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31674 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31675 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31676 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31677 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31678 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31679 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31680 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31681 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31682 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31683 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31684 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31685 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31686 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31687 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31688 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31689 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31690 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31691 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31692 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31714 // Map renamed classes back to their common name for OOR
31715 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31717 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31718 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31719 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31720 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31721 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31722 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31723 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31724 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31725 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31726 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31727 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31728 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31729 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31730 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31731 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31732 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31733 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31734 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31735 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31736 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31737 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31738 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31739 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31740 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31741 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31742 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31743 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31744 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31745 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31746 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31747 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31748 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31749 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31750 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31751 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31752 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31772 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31774 // Map renamed classes back to their common name for OOR
31775 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31776 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31778 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31779 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31780 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31781 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31782 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31783 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31784 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31785 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31786 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31787 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31789 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");