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
){
660 return (wxWindow
*)self
->m_mainWin
;
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_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6162 (char *) "self",(char *) "pt", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_PyObj_FromInt((int)result
);
6185 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 PyObject
* obj2
= 0 ;
6195 (char *) "self",(char *) "x",(char *) "y", NULL
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6201 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6205 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_PyObj_FromInt((int)result
);
6222 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6225 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6227 return Py_BuildValue((char *)"");
6229 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6230 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6235 static PyObject
*_wrap_TextCtrlNameStr_get() {
6240 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6242 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6249 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6250 PyObject
*resultobj
;
6253 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxTextAttr
*)new wxTextAttr();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6268 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6269 PyObject
*resultobj
;
6270 wxColour
*arg1
= 0 ;
6271 wxColour
const &arg2_defvalue
= wxNullColour
;
6272 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6273 wxFont
const &arg3_defvalue
= wxNullFont
;
6274 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6275 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6279 PyObject
* obj0
= 0 ;
6280 PyObject
* obj1
= 0 ;
6281 PyObject
* obj2
= 0 ;
6282 PyObject
* obj3
= 0 ;
6284 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6287 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6296 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6303 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6321 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6326 argc
= PyObject_Length(args
);
6327 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6328 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6331 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6333 if ((argc
>= 1) && (argc
<= 4)) {
6336 _v
= wxColour_typecheck(argv
[0]);
6340 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6343 _v
= wxColour_typecheck(argv
[1]);
6347 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6351 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6360 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6363 SWIG_PyObj_AsInt(argv
[3]);
6364 if (PyErr_Occurred()) {
6372 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6379 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6384 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 Py_INCREF(Py_None
); resultobj
= Py_None
;
6408 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 Py_INCREF(Py_None
); resultobj
= Py_None
;
6432 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6435 wxColour
*arg2
= 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6440 (char *) "self",(char *) "colText", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6466 wxColour
*arg2
= 0 ;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6471 (char *) "self",(char *) "colBack", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 Py_INCREF(Py_None
); resultobj
= Py_None
;
6494 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6498 long arg3
= (long) wxTEXT_ATTR_FONT
;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 PyObject
* obj2
= 0 ;
6503 (char *) "self",(char *) "font",(char *) "flags", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6514 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 Py_INCREF(Py_None
); resultobj
= Py_None
;
6532 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6539 (char *) "self",(char *) "alignment", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6545 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 Py_INCREF(Py_None
); resultobj
= Py_None
;
6562 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6565 wxArrayInt
*arg2
= 0 ;
6566 bool temp2
= False
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6570 (char *) "self",(char *) "tabs", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6576 if (! PySequence_Check(obj1
)) {
6577 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6580 arg2
= new wxArrayInt
;
6582 int i
, len
=PySequence_Length(obj1
);
6583 for (i
=0; i
<len
; i
++) {
6584 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6585 PyObject
* number
= PyNumber_Int(item
);
6586 arg2
->Add(PyInt_AS_LONG(number
));
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 if (temp2
) delete arg2
;
6605 if (temp2
) delete arg2
;
6611 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6618 (char *) "self",(char *) "indent", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6624 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 (arg1
)->SetLeftIndent(arg2
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 Py_INCREF(Py_None
); resultobj
= Py_None
;
6641 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6648 (char *) "self",(char *) "indent", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6654 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 (arg1
)->SetRightIndent(arg2
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6678 (char *) "self",(char *) "flags", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6684 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 (arg1
)->SetFlags(arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 Py_INCREF(Py_None
); resultobj
= Py_None
;
6701 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "self", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6726 static PyObject
*_wrap_TextAttr_HasBackgroundColour(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_HasBackgroundColour",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
)->HasBackgroundColour();
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 static PyObject
*_wrap_TextAttr_HasFont(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_HasFont",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
)->HasFont();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6776 static PyObject
*_wrap_TextAttr_HasAlignment(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_HasAlignment",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
)->HasAlignment();
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6801 static PyObject
*_wrap_TextAttr_HasTabs(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_HasTabs",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
)->HasTabs();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6826 static PyObject
*_wrap_TextAttr_HasLeftIndent(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_HasLeftIndent",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
)->HasLeftIndent();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6851 static PyObject
*_wrap_TextAttr_HasRightIndent(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_HasRightIndent",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
)->HasRightIndent();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6876 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6884 (char *) "self",(char *) "flag", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6890 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6907 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6922 result
= (wxColour
*) &_result_ref
;
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6935 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6950 result
= (wxColour
*) &_result_ref
;
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6963 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6978 result
= (wxFont
*) &_result_ref
;
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6991 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "self", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_PyObj_FromInt((int)result
);
7016 static PyObject
*_wrap_TextAttr_GetTabs(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_GetTabs",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();
7030 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7031 result
= (wxArrayInt
*) &_result_ref
;
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= PyList_New(0);
7040 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7041 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7042 PyList_Append(resultobj
, val
);
7052 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7058 (char *) "self", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_PyObj_FromLong((long)result
);
7077 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_PyObj_FromLong((long)result
);
7102 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
)->GetFlags();
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= SWIG_PyObj_FromLong((long)result
);
7127 static PyObject
*_wrap_TextAttr_IsDefault(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_IsDefault",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
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7152 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxTextAttr
*arg1
= 0 ;
7155 wxTextAttr
*arg2
= 0 ;
7156 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7160 PyObject
* obj2
= 0 ;
7162 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7174 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 wxTextAttr
* resultptr
;
7184 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7185 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7193 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7196 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7198 return Py_BuildValue((char *)"");
7200 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxWindow
*arg1
= (wxWindow
*) 0 ;
7204 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7205 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7210 long arg6
= (long) 0 ;
7211 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7212 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7213 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7216 bool temp3
= False
;
7219 bool temp8
= False
;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7223 PyObject
* obj3
= 0 ;
7224 PyObject
* obj4
= 0 ;
7225 PyObject
* obj5
= 0 ;
7226 PyObject
* obj6
= 0 ;
7227 PyObject
* obj7
= 0 ;
7229 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7235 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7240 arg3
= wxString_in_helper(obj2
);
7241 if (arg3
== NULL
) SWIG_fail
;
7248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7259 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7264 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7271 arg8
= wxString_in_helper(obj7
);
7272 if (arg8
== NULL
) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= wxPyMake_wxObject(result
);
7308 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 result
= (wxTextCtrl
*)new wxTextCtrl();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= wxPyMake_wxObject(result
);
7332 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7335 wxWindow
*arg2
= (wxWindow
*) 0 ;
7337 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7338 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7339 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7340 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7341 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7342 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7343 long arg7
= (long) 0 ;
7344 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7345 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7346 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7347 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7349 bool temp4
= False
;
7352 bool temp9
= False
;
7353 PyObject
* obj0
= 0 ;
7354 PyObject
* obj1
= 0 ;
7355 PyObject
* obj2
= 0 ;
7356 PyObject
* obj3
= 0 ;
7357 PyObject
* obj4
= 0 ;
7358 PyObject
* obj5
= 0 ;
7359 PyObject
* obj6
= 0 ;
7360 PyObject
* obj7
= 0 ;
7361 PyObject
* obj8
= 0 ;
7363 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7370 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7375 arg4
= wxString_in_helper(obj3
);
7376 if (arg4
== NULL
) SWIG_fail
;
7383 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7389 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7394 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7399 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7406 arg9
= wxString_in_helper(obj8
);
7407 if (arg9
== NULL
) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7441 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7447 (char *) "self", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7472 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7475 wxString
*arg2
= 0 ;
7476 bool temp2
= False
;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7480 (char *) "self",(char *) "value", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7486 arg2
= wxString_in_helper(obj1
);
7487 if (arg2
== NULL
) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 (arg1
)->SetValue((wxString
const &)*arg2
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 PyObject
* obj2
= 0 ;
7522 (char *) "self",(char *) "from",(char *) "to", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7528 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7555 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7563 (char *) "self",(char *) "lineNo", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7569 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= SWIG_PyObj_FromInt((int)result
);
7586 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7594 (char *) "self",(char *) "lineNo", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7600 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7623 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "self", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_PyObj_FromInt((int)result
);
7648 static PyObject
*_wrap_TextCtrl_IsModified(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_IsModified",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
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7673 static PyObject
*_wrap_TextCtrl_IsEditable(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_IsEditable",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
)->IsEditable();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7698 static PyObject
*_wrap_TextCtrl_IsSingleLine(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_IsSingleLine",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
)->IsSingleLine();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7723 static PyObject
*_wrap_TextCtrl_IsMultiLine(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_IsMultiLine",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
)->IsMultiLine();
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7748 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7751 long *arg2
= (long *) 0 ;
7752 long *arg3
= (long *) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7773 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7774 resultobj
= t_output_helper(resultobj
,o
);
7777 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7778 resultobj
= t_output_helper(resultobj
,o
);
7786 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7792 (char *) "self", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7817 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 Py_INCREF(Py_None
); resultobj
= Py_None
;
7841 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7846 wxString
*arg4
= 0 ;
7847 bool temp4
= False
;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7850 PyObject
* obj2
= 0 ;
7851 PyObject
* obj3
= 0 ;
7853 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7859 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 arg4
= wxString_in_helper(obj3
);
7868 if (arg4
== NULL
) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7900 PyObject
* obj2
= 0 ;
7902 (char *) "self",(char *) "from",(char *) "to", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7908 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 (arg1
)->Remove(arg2
,arg3
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7932 wxString
*arg2
= 0 ;
7934 bool temp2
= False
;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7938 (char *) "self",(char *) "file", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7944 arg2
= wxString_in_helper(obj1
);
7945 if (arg2
== NULL
) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7973 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7974 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7976 bool temp2
= False
;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7980 (char *) "self",(char *) "file", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7987 arg2
= wxString_in_helper(obj1
);
7988 if (arg2
== NULL
) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8014 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "self", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 (arg1
)->MarkDirty();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8038 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8043 (char *) "self", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->DiscardEdits();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8062 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8065 unsigned long arg2
;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8069 (char *) "self",(char *) "len", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8075 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 (arg1
)->SetMaxLength(arg2
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 Py_INCREF(Py_None
); resultobj
= Py_None
;
8092 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8095 wxString
*arg2
= 0 ;
8096 bool temp2
= False
;
8097 PyObject
* obj0
= 0 ;
8098 PyObject
* obj1
= 0 ;
8100 (char *) "self",(char *) "text", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8106 arg2
= wxString_in_helper(obj1
);
8107 if (arg2
== NULL
) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 (arg1
)->WriteText((wxString
const &)*arg2
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8135 wxString
*arg2
= 0 ;
8136 bool temp2
= False
;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8140 (char *) "self",(char *) "text", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8146 arg2
= wxString_in_helper(obj1
);
8147 if (arg2
== NULL
) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 (arg1
)->AppendText((wxString
const &)*arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8172 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8175 wxKeyEvent
*arg2
= 0 ;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8180 (char *) "self",(char *) "event", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8203 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8208 wxTextAttr
*arg4
= 0 ;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8212 PyObject
* obj2
= 0 ;
8213 PyObject
* obj3
= 0 ;
8215 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8221 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8225 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8246 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8250 wxTextAttr
*arg3
= 0 ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8254 PyObject
* obj2
= 0 ;
8256 (char *) "self",(char *) "position",(char *) "style", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8262 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8283 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8286 wxTextAttr
*arg2
= 0 ;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8291 (char *) "self",(char *) "style", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8314 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8320 (char *) "self", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8329 result
= (wxTextAttr
*) &_result_ref
;
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8342 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 PyObject
* obj2
= 0 ;
8352 (char *) "self",(char *) "x",(char *) "y", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8358 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8362 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_PyObj_FromLong((long)result
);
8379 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 long *arg3
= (long *) 0 ;
8384 long *arg4
= (long *) 0 ;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8390 (char *) "self",(char *) "pos", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8398 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 Py_INCREF(Py_None
); resultobj
= Py_None
;
8410 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8411 resultobj
= t_output_helper(resultobj
,o
);
8414 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8415 resultobj
= t_output_helper(resultobj
,o
);
8423 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8430 (char *) "self",(char *) "pos", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8436 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 (arg1
)->ShowPosition(arg2
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8457 long *arg3
= (long *) 0 ;
8458 long *arg4
= (long *) 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "pt", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_PyObj_FromInt((int)result
);
8486 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8487 resultobj
= t_output_helper(resultobj
,o
);
8490 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8491 resultobj
= t_output_helper(resultobj
,o
);
8499 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8504 (char *) "self", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 Py_INCREF(Py_None
); resultobj
= Py_None
;
8523 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 Py_INCREF(Py_None
); resultobj
= Py_None
;
8547 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 Py_INCREF(Py_None
); resultobj
= Py_None
;
8571 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",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();
8584 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 static PyObject
*_wrap_TextCtrl_CanCut(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_CanCut",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
)->CanCut();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8621 static PyObject
*_wrap_TextCtrl_CanPaste(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_CanPaste",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
)->CanPaste();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8651 (char *) "self", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 Py_INCREF(Py_None
); resultobj
= Py_None
;
8670 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "self", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 Py_INCREF(Py_None
); resultobj
= Py_None
;
8694 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8700 (char *) "self", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",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();
8707 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8719 static PyObject
*_wrap_TextCtrl_CanRedo(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_CanRedo",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
)->CanRedo();
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8744 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8751 (char *) "self",(char *) "pos", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8757 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->SetInsertionPoint(arg2
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8777 PyObject
* obj0
= 0 ;
8779 (char *) "self", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->SetInsertionPointEnd();
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8804 (char *) "self", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",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 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= SWIG_PyObj_FromLong((long)result
);
8823 static PyObject
*_wrap_TextCtrl_GetLastPosition(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_GetLastPosition",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
)->GetLastPosition();
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_PyObj_FromLong((long)result
);
8848 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8855 PyObject
* obj2
= 0 ;
8857 (char *) "self",(char *) "from",(char *) "to", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8863 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 (arg1
)->SetSelection(arg2
,arg3
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 Py_INCREF(Py_None
); resultobj
= Py_None
;
8884 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8889 (char *) "self", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 (arg1
)->SelectAll();
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8915 (char *) "self",(char *) "editable", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8921 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 (arg1
)->SetEditable(arg2
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 Py_INCREF(Py_None
); resultobj
= Py_None
;
8938 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8941 wxString
*arg2
= 0 ;
8942 bool temp2
= False
;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8946 (char *) "self",(char *) "text", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8952 arg2
= wxString_in_helper(obj1
);
8953 if (arg2
== NULL
) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8986 PyObject
* obj2
= 0 ;
8988 (char *) "self",(char *) "from",(char *) "to", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8994 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8998 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9021 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9024 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9026 return Py_BuildValue((char *)"");
9028 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9031 wxMouseEvent
*arg2
= 0 ;
9034 wxTextUrlEvent
*result
;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9037 PyObject
* obj2
= 0 ;
9038 PyObject
* obj3
= 0 ;
9040 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9045 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9053 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9057 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9074 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9077 wxMouseEvent
*result
;
9078 PyObject
* obj0
= 0 ;
9080 (char *) "self", NULL
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9089 result
= (wxMouseEvent
*) &_result_ref
;
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9102 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9106 PyObject
* obj0
= 0 ;
9108 (char *) "self", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_PyObj_FromLong((long)result
);
9127 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_PyObj_FromLong((long)result
);
9152 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9155 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9157 return Py_BuildValue((char *)"");
9159 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9160 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9165 static PyObject
*_wrap_ScrollBarNameStr_get() {
9170 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9172 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9179 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxWindow
*arg1
= (wxWindow
*) 0 ;
9182 int arg2
= (int) -1 ;
9183 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9184 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9185 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9186 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9187 long arg5
= (long) wxSB_HORIZONTAL
;
9188 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9189 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9190 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9192 wxScrollBar
*result
;
9195 bool temp7
= False
;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 PyObject
* obj2
= 0 ;
9199 PyObject
* obj3
= 0 ;
9200 PyObject
* obj4
= 0 ;
9201 PyObject
* obj5
= 0 ;
9202 PyObject
* obj6
= 0 ;
9204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9224 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9229 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9234 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9241 arg7
= wxString_in_helper(obj6
);
9242 if (arg7
== NULL
) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9268 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxScrollBar
*result
;
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= (wxScrollBar
*)new wxScrollBar();
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9290 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9293 wxWindow
*arg2
= (wxWindow
*) 0 ;
9294 int arg3
= (int) -1 ;
9295 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9296 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9297 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9298 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9299 long arg6
= (long) wxSB_HORIZONTAL
;
9300 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9301 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9302 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9303 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9307 bool temp8
= False
;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 PyObject
* obj2
= 0 ;
9311 PyObject
* obj3
= 0 ;
9312 PyObject
* obj4
= 0 ;
9313 PyObject
* obj5
= 0 ;
9314 PyObject
* obj6
= 0 ;
9315 PyObject
* obj7
= 0 ;
9317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9325 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9343 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9348 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9355 arg8
= wxString_in_helper(obj7
);
9356 if (arg8
== NULL
) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9382 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9386 PyObject
* obj0
= 0 ;
9388 (char *) "self", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_PyObj_FromInt((int)result
);
9407 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9413 (char *) "self", NULL
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 resultobj
= SWIG_PyObj_FromInt((int)result
);
9432 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_PyObj_FromInt((int)result
);
9457 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "self", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_PyObj_FromInt((int)result
);
9482 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9507 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9514 (char *) "self",(char *) "viewStart", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9520 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 (arg1
)->SetThumbPosition(arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 Py_INCREF(Py_None
); resultobj
= Py_None
;
9537 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9544 bool arg6
= (bool) True
;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9548 PyObject
* obj3
= 0 ;
9549 PyObject
* obj4
= 0 ;
9550 PyObject
* obj5
= 0 ;
9552 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9570 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9575 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9593 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9596 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9598 return Py_BuildValue((char *)"");
9600 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9601 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9606 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9611 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9613 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9620 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9621 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9626 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9631 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9633 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9640 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxWindow
*arg1
= (wxWindow
*) 0 ;
9643 int arg2
= (int) -1 ;
9644 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9645 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9646 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9647 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9648 long arg5
= (long) wxSP_HORIZONTAL
;
9649 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9650 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9651 wxSpinButton
*result
;
9654 bool temp6
= False
;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 PyObject
* obj2
= 0 ;
9658 PyObject
* obj3
= 0 ;
9659 PyObject
* obj4
= 0 ;
9660 PyObject
* obj5
= 0 ;
9662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9669 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9687 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9693 arg6
= wxString_in_helper(obj5
);
9694 if (arg6
== NULL
) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9720 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxSpinButton
*result
;
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (wxSpinButton
*)new wxSpinButton();
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9742 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9745 wxWindow
*arg2
= (wxWindow
*) 0 ;
9746 int arg3
= (int) -1 ;
9747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9751 long arg6
= (long) wxSP_HORIZONTAL
;
9752 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9757 bool temp7
= False
;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9760 PyObject
* obj2
= 0 ;
9761 PyObject
* obj3
= 0 ;
9762 PyObject
* obj4
= 0 ;
9763 PyObject
* obj5
= 0 ;
9764 PyObject
* obj6
= 0 ;
9766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9774 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9781 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9787 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9792 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9798 arg7
= wxString_in_helper(obj6
);
9799 if (arg7
== NULL
) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9825 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_PyObj_FromInt((int)result
);
9850 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_PyObj_FromInt((int)result
);
9875 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_PyObj_FromInt((int)result
);
9900 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9907 (char *) "self",(char *) "val", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9913 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 (arg1
)->SetValue(arg2
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 Py_INCREF(Py_None
); resultobj
= Py_None
;
9930 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9937 (char *) "self",(char *) "minVal", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
9941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 (arg1
)->SetMin(arg2
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9967 (char *) "self",(char *) "maxVal", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 (arg1
)->SetMax(arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 Py_INCREF(Py_None
); resultobj
= Py_None
;
9990 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9997 PyObject
* obj2
= 0 ;
9999 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 (arg1
)->SetRange(arg2
,arg3
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 Py_INCREF(Py_None
); resultobj
= Py_None
;
10026 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10028 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10030 PyObject
* obj0
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10051 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10054 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10056 return Py_BuildValue((char *)"");
10058 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxWindow
*arg1
= (wxWindow
*) 0 ;
10061 int arg2
= (int) -1 ;
10062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10068 long arg6
= (long) wxSP_ARROW_KEYS
;
10069 int arg7
= (int) 0 ;
10070 int arg8
= (int) 100 ;
10071 int arg9
= (int) 0 ;
10072 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10073 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10074 wxSpinCtrl
*result
;
10075 bool temp3
= False
;
10078 bool temp10
= False
;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 PyObject
* obj2
= 0 ;
10082 PyObject
* obj3
= 0 ;
10083 PyObject
* obj4
= 0 ;
10084 PyObject
* obj5
= 0 ;
10085 PyObject
* obj6
= 0 ;
10086 PyObject
* obj7
= 0 ;
10087 PyObject
* obj8
= 0 ;
10088 PyObject
* obj9
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10097 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10103 arg3
= wxString_in_helper(obj2
);
10104 if (arg3
== NULL
) SWIG_fail
;
10111 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10117 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10122 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10128 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10134 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10140 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10146 arg10
= wxString_in_helper(obj9
);
10147 if (arg10
== NULL
) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10181 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxSpinCtrl
*result
;
10184 char *kwnames
[] = {
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10203 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10206 wxWindow
*arg2
= (wxWindow
*) 0 ;
10207 int arg3
= (int) -1 ;
10208 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10210 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10211 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10212 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10213 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10214 long arg7
= (long) wxSP_ARROW_KEYS
;
10215 int arg8
= (int) 0 ;
10216 int arg9
= (int) 100 ;
10217 int arg10
= (int) 0 ;
10218 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10219 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10221 bool temp4
= False
;
10224 bool temp11
= False
;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 PyObject
* obj2
= 0 ;
10228 PyObject
* obj3
= 0 ;
10229 PyObject
* obj4
= 0 ;
10230 PyObject
* obj5
= 0 ;
10231 PyObject
* obj6
= 0 ;
10232 PyObject
* obj7
= 0 ;
10233 PyObject
* obj8
= 0 ;
10234 PyObject
* obj9
= 0 ;
10235 PyObject
* obj10
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10245 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10251 arg4
= wxString_in_helper(obj3
);
10252 if (arg4
== NULL
) SWIG_fail
;
10259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10270 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10276 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10282 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10288 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10294 arg11
= wxString_in_helper(obj10
);
10295 if (arg11
== NULL
) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10329 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10331 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10333 PyObject
* obj0
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_PyObj_FromInt((int)result
);
10354 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self",(char *) "value", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10367 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 (arg1
)->SetValue(arg2
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 Py_INCREF(Py_None
); resultobj
= Py_None
;
10384 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10387 wxString
*arg2
= 0 ;
10388 bool temp2
= False
;
10389 PyObject
* obj0
= 0 ;
10390 PyObject
* obj1
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "text", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10398 arg2
= wxString_in_helper(obj1
);
10399 if (arg2
== NULL
) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 (arg1
)->SetValue((wxString
const &)*arg2
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 Py_INCREF(Py_None
); resultobj
= Py_None
;
10424 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 PyObject
* obj2
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10439 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 (arg1
)->SetRange(arg2
,arg3
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 Py_INCREF(Py_None
); resultobj
= Py_None
;
10460 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10464 PyObject
* obj0
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_PyObj_FromInt((int)result
);
10485 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10489 PyObject
* obj0
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "self", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_PyObj_FromInt((int)result
);
10510 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 PyObject
* obj2
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self",(char *) "from",(char *) "to", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10525 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10529 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 (arg1
)->SetSelection(arg2
,arg3
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 Py_INCREF(Py_None
); resultobj
= Py_None
;
10546 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10549 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10551 return Py_BuildValue((char *)"");
10553 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
;
10555 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10556 int arg2
= (int) 0 ;
10557 wxSpinEvent
*result
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "commandType",(char *) "winid", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10567 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10591 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_PyObj_FromInt((int)result
);
10616 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "pos", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 (arg1
)->SetPosition(arg2
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10651 return Py_BuildValue((char *)"");
10653 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10654 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10659 static PyObject
*_wrap_RadioBoxNameStr_get() {
10664 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10666 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10673 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10674 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10679 static PyObject
*_wrap_RadioButtonNameStr_get() {
10684 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10686 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10693 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxWindow
*arg1
= (wxWindow
*) 0 ;
10697 wxString
*arg3
= 0 ;
10698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10702 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10703 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10704 int arg7
= (int) 0 ;
10705 long arg8
= (long) wxRA_HORIZONTAL
;
10706 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10707 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10708 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10709 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10710 wxRadioBox
*result
;
10711 bool temp3
= False
;
10714 bool temp6
= False
;
10715 bool temp10
= False
;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 PyObject
* obj2
= 0 ;
10719 PyObject
* obj3
= 0 ;
10720 PyObject
* obj4
= 0 ;
10721 PyObject
* obj5
= 0 ;
10722 PyObject
* obj6
= 0 ;
10723 PyObject
* obj7
= 0 ;
10724 PyObject
* obj8
= 0 ;
10725 PyObject
* obj9
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 arg3
= wxString_in_helper(obj2
);
10738 if (arg3
== NULL
) SWIG_fail
;
10744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10755 if (! PySequence_Check(obj5
)) {
10756 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10759 arg6
= new wxArrayString
;
10761 int i
, len
=PySequence_Length(obj5
);
10762 for (i
=0; i
<len
; i
++) {
10763 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10765 PyObject
* str
= PyObject_Unicode(item
);
10767 PyObject
* str
= PyObject_Str(item
);
10769 arg6
->Add(Py2wxString(str
));
10777 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10783 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10788 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 if (arg9
== NULL
) {
10790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10795 arg10
= wxString_in_helper(obj9
);
10796 if (arg10
== NULL
) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 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
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10813 if (temp6
) delete arg6
;
10826 if (temp6
) delete arg6
;
10836 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxRadioBox
*result
;
10839 char *kwnames
[] = {
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 result
= (wxRadioBox
*)new wxRadioBox();
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10858 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10861 wxWindow
*arg2
= (wxWindow
*) 0 ;
10863 wxString
*arg4
= 0 ;
10864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10868 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10869 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10870 int arg8
= (int) 0 ;
10871 long arg9
= (long) wxRA_HORIZONTAL
;
10872 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10873 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10874 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10875 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10877 bool temp4
= False
;
10880 bool temp7
= False
;
10881 bool temp11
= False
;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 PyObject
* obj2
= 0 ;
10885 PyObject
* obj3
= 0 ;
10886 PyObject
* obj4
= 0 ;
10887 PyObject
* obj5
= 0 ;
10888 PyObject
* obj6
= 0 ;
10889 PyObject
* obj7
= 0 ;
10890 PyObject
* obj8
= 0 ;
10891 PyObject
* obj9
= 0 ;
10892 PyObject
* obj10
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10901 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10905 arg4
= wxString_in_helper(obj3
);
10906 if (arg4
== NULL
) SWIG_fail
;
10912 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10918 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10923 if (! PySequence_Check(obj6
)) {
10924 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10927 arg7
= new wxArrayString
;
10929 int i
, len
=PySequence_Length(obj6
);
10930 for (i
=0; i
<len
; i
++) {
10931 PyObject
* item
= PySequence_GetItem(obj6
, i
);
10933 PyObject
* str
= PyObject_Unicode(item
);
10935 PyObject
* str
= PyObject_Str(item
);
10937 arg7
->Add(Py2wxString(str
));
10945 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10951 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10956 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10957 if (arg10
== NULL
) {
10958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10963 arg11
= wxString_in_helper(obj10
);
10964 if (arg11
== NULL
) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 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
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10981 if (temp7
) delete arg7
;
10994 if (temp7
) delete arg7
;
11004 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "n", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 (arg1
)->SetSelection(arg2
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 Py_INCREF(Py_None
); resultobj
= Py_None
;
11034 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 resultobj
= SWIG_PyObj_FromInt((int)result
);
11059 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11090 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11093 wxString
*arg2
= 0 ;
11095 bool temp2
= False
;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self",(char *) "s", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11105 arg2
= wxString_in_helper(obj1
);
11106 if (arg2
== NULL
) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11131 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11135 PyObject
* obj0
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_PyObj_FromInt((int)result
);
11156 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11159 wxString
*arg2
= 0 ;
11161 bool temp2
= False
;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self",(char *) "s", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11171 arg2
= wxString_in_helper(obj1
);
11172 if (arg2
== NULL
) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= SWIG_PyObj_FromInt((int)result
);
11197 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "n", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11234 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11238 wxString
*arg3
= 0 ;
11239 bool temp3
= False
;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 PyObject
* obj2
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "n",(char *) "label", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11250 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11254 arg3
= wxString_in_helper(obj2
);
11255 if (arg3
== NULL
) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11284 bool arg3
= (bool) True
;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 PyObject
* obj2
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "n",(char *) "enable", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11300 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->Enable(arg2
,arg3
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11322 bool arg3
= (bool) True
;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 PyObject
* obj2
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "n",(char *) "show", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",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
;
11338 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->Show(arg2
,arg3
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_PyObj_FromInt((int)result
);
11381 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_PyObj_FromInt((int)result
);
11406 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 PyObject
* obj3
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11424 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_PyObj_FromInt((int)result
);
11449 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11452 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11454 return Py_BuildValue((char *)"");
11456 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxWindow
*arg1
= (wxWindow
*) 0 ;
11460 wxString
*arg3
= 0 ;
11461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11465 long arg6
= (long) 0 ;
11466 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11467 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11468 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11470 wxRadioButton
*result
;
11471 bool temp3
= False
;
11474 bool temp8
= False
;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 PyObject
* obj2
= 0 ;
11478 PyObject
* obj3
= 0 ;
11479 PyObject
* obj4
= 0 ;
11480 PyObject
* obj5
= 0 ;
11481 PyObject
* obj6
= 0 ;
11482 PyObject
* obj7
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11490 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11494 arg3
= wxString_in_helper(obj2
);
11495 if (arg3
== NULL
) SWIG_fail
;
11501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11512 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11517 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11518 if (arg7
== NULL
) {
11519 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11524 arg8
= wxString_in_helper(obj7
);
11525 if (arg8
== NULL
) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11559 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxRadioButton
*result
;
11562 char *kwnames
[] = {
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (wxRadioButton
*)new wxRadioButton();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11581 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11584 wxWindow
*arg2
= (wxWindow
*) 0 ;
11586 wxString
*arg4
= 0 ;
11587 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11588 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11589 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11590 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11591 long arg7
= (long) 0 ;
11592 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11593 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11594 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11595 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11597 bool temp4
= False
;
11600 bool temp9
= False
;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 PyObject
* obj2
= 0 ;
11604 PyObject
* obj3
= 0 ;
11605 PyObject
* obj4
= 0 ;
11606 PyObject
* obj5
= 0 ;
11607 PyObject
* obj6
= 0 ;
11608 PyObject
* obj7
= 0 ;
11609 PyObject
* obj8
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11618 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 arg4
= wxString_in_helper(obj3
);
11623 if (arg4
== NULL
) SWIG_fail
;
11629 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11635 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11640 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11645 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11646 if (arg8
== NULL
) {
11647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11652 arg9
= wxString_in_helper(obj8
);
11653 if (arg9
== NULL
) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11687 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (bool)(arg1
)->GetValue();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11712 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11716 PyObject
* obj0
= 0 ;
11717 PyObject
* obj1
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "self",(char *) "value", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11725 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->SetValue(arg2
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11745 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11747 return Py_BuildValue((char *)"");
11749 static int _wrap_SliderNameStr_set(PyObject
*) {
11750 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11755 static PyObject
*_wrap_SliderNameStr_get() {
11760 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11762 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11769 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxWindow
*arg1
= (wxWindow
*) 0 ;
11776 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11777 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11778 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11779 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11780 long arg8
= (long) wxSL_HORIZONTAL
;
11781 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11782 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11783 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11784 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11788 bool temp10
= False
;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 PyObject
* obj3
= 0 ;
11793 PyObject
* obj4
= 0 ;
11794 PyObject
* obj5
= 0 ;
11795 PyObject
* obj6
= 0 ;
11796 PyObject
* obj7
= 0 ;
11797 PyObject
* obj8
= 0 ;
11798 PyObject
* obj9
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11806 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11824 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11830 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11835 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11840 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11841 if (arg9
== NULL
) {
11842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11847 arg10
= wxString_in_helper(obj9
);
11848 if (arg10
== NULL
) SWIG_fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11874 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11877 char *kwnames
[] = {
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (wxSlider
*)new wxSlider();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11896 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxSlider
*arg1
= (wxSlider
*) 0 ;
11899 wxWindow
*arg2
= (wxWindow
*) 0 ;
11904 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11905 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11906 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11907 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11908 long arg9
= (long) wxSL_HORIZONTAL
;
11909 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11910 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11911 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11912 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11916 bool temp11
= False
;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 PyObject
* obj2
= 0 ;
11920 PyObject
* obj3
= 0 ;
11921 PyObject
* obj4
= 0 ;
11922 PyObject
* obj5
= 0 ;
11923 PyObject
* obj6
= 0 ;
11924 PyObject
* obj7
= 0 ;
11925 PyObject
* obj8
= 0 ;
11926 PyObject
* obj9
= 0 ;
11927 PyObject
* obj10
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11936 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11940 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11944 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11954 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11960 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
11965 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11970 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11971 if (arg10
== NULL
) {
11972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11977 arg11
= wxString_in_helper(obj10
);
11978 if (arg11
== NULL
) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxSlider
*arg1
= (wxSlider
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_PyObj_FromInt((int)result
);
12029 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxSlider
*arg1
= (wxSlider
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 PyObject
* obj1
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self",(char *) "value", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12042 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->SetValue(arg2
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 Py_INCREF(Py_None
); resultobj
= Py_None
;
12059 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxSlider
*arg1
= (wxSlider
*) 0 ;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 PyObject
* obj2
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12074 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 (arg1
)->SetRange(arg2
,arg3
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxSlider
*arg1
= (wxSlider
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= SWIG_PyObj_FromInt((int)result
);
12120 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxSlider
*arg1
= (wxSlider
*) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_PyObj_FromInt((int)result
);
12145 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxSlider
*arg1
= (wxSlider
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self",(char *) "minValue", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12158 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->SetMin(arg2
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 Py_INCREF(Py_None
); resultobj
= Py_None
;
12175 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxSlider
*arg1
= (wxSlider
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self",(char *) "maxValue", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 (arg1
)->SetMax(arg2
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 Py_INCREF(Py_None
); resultobj
= Py_None
;
12205 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxSlider
*arg1
= (wxSlider
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 PyObject
* obj1
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self",(char *) "lineSize", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->SetLineSize(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxSlider
*arg1
= (wxSlider
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self",(char *) "pageSize", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12248 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetPageSize(arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 Py_INCREF(Py_None
); resultobj
= Py_None
;
12265 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxSlider
*arg1
= (wxSlider
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= SWIG_PyObj_FromInt((int)result
);
12290 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxSlider
*arg1
= (wxSlider
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= SWIG_PyObj_FromInt((int)result
);
12315 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxSlider
*arg1
= (wxSlider
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "lenPixels", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12328 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetThumbLength(arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxSlider
*arg1
= (wxSlider
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_PyObj_FromInt((int)result
);
12370 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
;
12372 wxSlider
*arg1
= (wxSlider
*) 0 ;
12374 int arg3
= (int) 1 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 PyObject
* obj2
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self",(char *) "n",(char *) "pos", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12385 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12390 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetTickFreq(arg2
,arg3
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12408 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxSlider
*arg1
= (wxSlider
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_PyObj_FromInt((int)result
);
12433 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxSlider
*arg1
= (wxSlider
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->ClearTicks();
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12457 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxSlider
*arg1
= (wxSlider
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self",(char *) "tickPos", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12470 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 (arg1
)->SetTick(arg2
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 Py_INCREF(Py_None
); resultobj
= Py_None
;
12487 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxSlider
*arg1
= (wxSlider
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 (arg1
)->ClearSel();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 Py_INCREF(Py_None
); resultobj
= Py_None
;
12511 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxSlider
*arg1
= (wxSlider
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_PyObj_FromInt((int)result
);
12536 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxSlider
*arg1
= (wxSlider
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_PyObj_FromInt((int)result
);
12561 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxSlider
*arg1
= (wxSlider
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 PyObject
* obj2
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self",(char *) "min",(char *) "max", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12580 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->SetSelection(arg2
,arg3
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 Py_INCREF(Py_None
); resultobj
= Py_None
;
12597 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12600 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12602 return Py_BuildValue((char *)"");
12604 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12605 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12610 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12615 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12617 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12624 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxWindow
*arg1
= (wxWindow
*) 0 ;
12628 wxString
*arg3
= 0 ;
12629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12633 long arg6
= (long) 0 ;
12634 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12635 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12636 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12637 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12638 wxToggleButton
*result
;
12639 bool temp3
= False
;
12642 bool temp8
= False
;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 PyObject
* obj2
= 0 ;
12646 PyObject
* obj3
= 0 ;
12647 PyObject
* obj4
= 0 ;
12648 PyObject
* obj5
= 0 ;
12649 PyObject
* obj6
= 0 ;
12650 PyObject
* obj7
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 arg3
= wxString_in_helper(obj2
);
12663 if (arg3
== NULL
) SWIG_fail
;
12669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12680 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12685 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12686 if (arg7
== NULL
) {
12687 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12692 arg8
= wxString_in_helper(obj7
);
12693 if (arg8
== NULL
) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12727 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxToggleButton
*result
;
12730 char *kwnames
[] = {
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (wxToggleButton
*)new wxToggleButton();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12749 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12752 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12754 return Py_BuildValue((char *)"");
12756 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12757 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12762 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12767 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12769 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12776 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
12801 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self",(char *) "n", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12815 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= wxPyMake_wxObject(result
);
12834 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_PyObj_FromInt((int)result
);
12859 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12863 wxString
*arg3
= 0 ;
12865 bool temp3
= False
;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 PyObject
* obj2
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self",(char *) "n",(char *) "strText", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12876 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 arg3
= wxString_in_helper(obj2
);
12881 if (arg3
== NULL
) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12906 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 PyObject
* obj1
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self",(char *) "n", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
12918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12920 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12943 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12946 wxImageList
*arg2
= (wxImageList
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self",(char *) "imageList", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 (arg1
)->SetImageList(arg2
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 Py_INCREF(Py_None
); resultobj
= Py_None
;
12970 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12973 wxImageList
*arg2
= (wxImageList
*) 0 ;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self",(char *) "imageList", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 (arg1
)->AssignImageList(arg2
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13000 wxImageList
*result
;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= wxPyMake_wxObject(result
);
13024 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13029 PyObject
* obj0
= 0 ;
13030 PyObject
* obj1
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self",(char *) "n", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13038 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= SWIG_PyObj_FromInt((int)result
);
13055 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 PyObject
* obj2
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self",(char *) "n",(char *) "imageId", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13071 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13075 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13092 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
;
13094 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self",(char *) "size", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 Py_INCREF(Py_None
); resultobj
= Py_None
;
13123 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self",(char *) "sizePage", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13149 wxSize
* resultptr
;
13150 resultptr
= new wxSize((wxSize
&) result
);
13151 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13159 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self",(char *) "n", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13173 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)(arg1
)->DeletePage(arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13190 static PyObject
*_wrap_BookCtrl_RemovePage(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_RemovePage",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
= (bool)(arg1
)->RemovePage(arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13221 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (bool)(arg1
)->DeleteAllPages();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13246 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13249 wxWindow
*arg2
= (wxWindow
*) 0 ;
13250 wxString
*arg3
= 0 ;
13251 bool arg4
= (bool) False
;
13252 int arg5
= (int) -1 ;
13254 bool temp3
= False
;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 PyObject
* obj3
= 0 ;
13259 PyObject
* obj4
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 arg3
= wxString_in_helper(obj2
);
13269 if (arg3
== NULL
) SWIG_fail
;
13274 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13280 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13310 wxWindow
*arg3
= (wxWindow
*) 0 ;
13311 wxString
*arg4
= 0 ;
13312 bool arg5
= (bool) False
;
13313 int arg6
= (int) -1 ;
13315 bool temp4
= False
;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 PyObject
* obj2
= 0 ;
13319 PyObject
* obj3
= 0 ;
13320 PyObject
* obj4
= 0 ;
13321 PyObject
* obj5
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13329 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13334 arg4
= wxString_in_helper(obj3
);
13335 if (arg4
== NULL
) SWIG_fail
;
13340 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13346 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13372 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "n", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13386 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (int)(arg1
)->SetSelection(arg2
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_PyObj_FromInt((int)result
);
13403 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13406 bool arg2
= (bool) True
;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "forward", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13417 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 (arg1
)->AdvanceSelection(arg2
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 Py_INCREF(Py_None
); resultobj
= Py_None
;
13435 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13438 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13440 return Py_BuildValue((char *)"");
13442 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13445 int arg2
= (int) 0 ;
13446 int arg3
= (int) -1 ;
13447 int arg4
= (int) -1 ;
13448 wxBookCtrlEvent
*result
;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 PyObject
* obj2
= 0 ;
13452 PyObject
* obj3
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13460 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13466 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13472 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13478 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13496 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13500 PyObject
* obj0
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= SWIG_PyObj_FromInt((int)result
);
13521 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13525 PyObject
* obj0
= 0 ;
13526 PyObject
* obj1
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self",(char *) "nSel", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13534 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->SetSelection(arg2
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 Py_INCREF(Py_None
); resultobj
= Py_None
;
13551 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_PyObj_FromInt((int)result
);
13576 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self",(char *) "nOldSel", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 (arg1
)->SetOldSelection(arg2
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 Py_INCREF(Py_None
); resultobj
= Py_None
;
13606 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13609 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13611 return Py_BuildValue((char *)"");
13613 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
;
13615 wxWindow
*arg1
= (wxWindow
*) 0 ;
13617 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13618 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13619 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13620 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13621 long arg5
= (long) 0 ;
13622 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13623 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13624 wxNotebook
*result
;
13627 bool temp6
= False
;
13628 PyObject
* obj0
= 0 ;
13629 PyObject
* obj1
= 0 ;
13630 PyObject
* obj2
= 0 ;
13631 PyObject
* obj3
= 0 ;
13632 PyObject
* obj4
= 0 ;
13633 PyObject
* obj5
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13653 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13658 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13664 arg6
= wxString_in_helper(obj5
);
13665 if (arg6
== NULL
) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= wxPyMake_wxObject(result
);
13693 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxNotebook
*result
;
13696 char *kwnames
[] = {
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= (wxNotebook
*)new wxNotebook();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= wxPyMake_wxObject(result
);
13717 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13720 wxWindow
*arg2
= (wxWindow
*) 0 ;
13722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13726 long arg6
= (long) 0 ;
13727 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13732 bool temp7
= False
;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 PyObject
* obj2
= 0 ;
13736 PyObject
* obj3
= 0 ;
13737 PyObject
* obj4
= 0 ;
13738 PyObject
* obj5
= 0 ;
13739 PyObject
* obj6
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13748 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13765 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13771 arg7
= wxString_in_helper(obj6
);
13772 if (arg7
== NULL
) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13798 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_PyObj_FromInt((int)result
);
13823 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 char *kwnames
[] = {
13831 (char *) "self",(char *) "padding", NULL
13834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 Py_INCREF(Py_None
); resultobj
= Py_None
;
13854 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 PyObject
* obj1
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "sz", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13869 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 Py_INCREF(Py_None
); resultobj
= Py_None
;
13885 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13888 wxPoint
*arg2
= 0 ;
13889 long *arg3
= (long *) 0 ;
13893 PyObject
* obj0
= 0 ;
13894 PyObject
* obj1
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self",(char *) "pt", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13904 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_PyObj_FromInt((int)result
);
13915 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13916 resultobj
= t_output_helper(resultobj
,o
);
13924 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self",(char *) "sizePage", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13940 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 wxSize
* resultptr
;
13951 resultptr
= new wxSize((wxSize
&) result
);
13952 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13960 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
13962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13963 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
13965 return Py_BuildValue((char *)"");
13967 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13970 int arg2
= (int) 0 ;
13971 int arg3
= (int) -1 ;
13972 int arg4
= (int) -1 ;
13973 wxNotebookEvent
*result
;
13974 PyObject
* obj0
= 0 ;
13975 PyObject
* obj1
= 0 ;
13976 PyObject
* obj2
= 0 ;
13977 PyObject
* obj3
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13985 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13991 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13997 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14003 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14021 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14024 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14026 return Py_BuildValue((char *)"");
14028 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxWindow
*arg1
= (wxWindow
*) 0 ;
14032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14036 long arg5
= (long) 0 ;
14037 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14038 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14039 wxListbook
*result
;
14042 bool temp6
= False
;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj1
= 0 ;
14045 PyObject
* obj2
= 0 ;
14046 PyObject
* obj3
= 0 ;
14047 PyObject
* obj4
= 0 ;
14048 PyObject
* obj5
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14056 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14068 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14073 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14079 arg6
= wxString_in_helper(obj5
);
14080 if (arg6
== NULL
) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14106 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxListbook
*result
;
14109 char *kwnames
[] = {
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (wxListbook
*)new wxListbook();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14128 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxListbook
*arg1
= (wxListbook
*) 0 ;
14131 wxWindow
*arg2
= (wxWindow
*) 0 ;
14133 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14134 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14135 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14136 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14137 long arg6
= (long) 0 ;
14138 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14139 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14143 bool temp7
= False
;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 PyObject
* obj2
= 0 ;
14147 PyObject
* obj3
= 0 ;
14148 PyObject
* obj4
= 0 ;
14149 PyObject
* obj5
= 0 ;
14150 PyObject
* obj6
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14176 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14182 arg7
= wxString_in_helper(obj6
);
14183 if (arg7
== NULL
) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14209 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxListbook
*arg1
= (wxListbook
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14234 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14237 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14239 return Py_BuildValue((char *)"");
14241 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14244 int arg2
= (int) 0 ;
14245 int arg3
= (int) -1 ;
14246 int arg4
= (int) -1 ;
14247 wxListbookEvent
*result
;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 PyObject
* obj2
= 0 ;
14251 PyObject
* obj3
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14259 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14265 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14271 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14277 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14295 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14298 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14300 return Py_BuildValue((char *)"");
14302 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14305 wxBookCtrlSizer
*result
;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "nb", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14327 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14330 PyObject
* obj0
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->RecalcSizes();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (arg1
)->CalcMin();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 wxSize
* resultptr
;
14371 resultptr
= new wxSize((wxSize
&) result
);
14372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14380 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14383 wxBookCtrl
*result
;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14405 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14408 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14410 return Py_BuildValue((char *)"");
14412 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14415 wxNotebookSizer
*result
;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "nb", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14437 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 (arg1
)->RecalcSizes();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 Py_INCREF(Py_None
); resultobj
= Py_None
;
14461 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (arg1
)->CalcMin();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 wxSize
* resultptr
;
14481 resultptr
= new wxSize((wxSize
&) result
);
14482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14490 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14493 wxNotebook
*result
;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= wxPyMake_wxObject(result
);
14517 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14520 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14522 return Py_BuildValue((char *)"");
14524 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (int)(arg1
)->GetId();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_PyObj_FromInt((int)result
);
14549 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (wxControl
*)(arg1
)->GetControl();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= wxPyMake_wxObject(result
);
14576 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14579 wxToolBarBase
*result
;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= wxPyMake_wxObject(result
);
14603 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (int)(arg1
)->IsButton();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_PyObj_FromInt((int)result
);
14628 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (int)(arg1
)->IsControl();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= SWIG_PyObj_FromInt((int)result
);
14653 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (int)(arg1
)->IsSeparator();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_PyObj_FromInt((int)result
);
14678 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (int)(arg1
)->GetStyle();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 resultobj
= SWIG_PyObj_FromInt((int)result
);
14703 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (int)(arg1
)->GetKind();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= SWIG_PyObj_FromInt((int)result
);
14728 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (bool)(arg1
)->IsEnabled();
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14753 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (bool)(arg1
)->IsToggled();
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14778 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (bool)(arg1
)->CanBeToggled();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14803 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14818 result
= (wxBitmap
*) &_result_ref
;
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14831 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14846 result
= (wxBitmap
*) &_result_ref
;
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14859 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (arg1
)->GetBitmap();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 wxBitmap
* resultptr
;
14879 resultptr
= new wxBitmap((wxBitmap
&) result
);
14880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14888 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (arg1
)->GetLabel();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14919 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14923 PyObject
* obj0
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (arg1
)->GetShortHelp();
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14950 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14954 PyObject
* obj0
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (arg1
)->GetLongHelp();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14981 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self",(char *) "enable", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14995 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (bool)(arg1
)->Enable(arg2
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15012 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self",(char *) "toggle", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15050 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (bool)(arg1
)->SetToggle(arg2
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15067 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15070 wxString
*arg2
= 0 ;
15072 bool temp2
= False
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self",(char *) "help", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15082 arg2
= wxString_in_helper(obj1
);
15083 if (arg2
== NULL
) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15108 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15111 wxString
*arg2
= 0 ;
15113 bool temp2
= False
;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self",(char *) "help", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15123 arg2
= wxString_in_helper(obj1
);
15124 if (arg2
== NULL
) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15149 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15152 wxBitmap
*arg2
= 0 ;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self",(char *) "bmp", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15162 if (arg2
== NULL
) {
15163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 Py_INCREF(Py_None
); resultobj
= Py_None
;
15179 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15182 wxBitmap
*arg2
= 0 ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self",(char *) "bmp", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15192 if (arg2
== NULL
) {
15193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 Py_INCREF(Py_None
); resultobj
= Py_None
;
15209 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15212 wxString
*arg2
= 0 ;
15213 bool temp2
= False
;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self",(char *) "label", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15223 arg2
= wxString_in_helper(obj1
);
15224 if (arg2
== NULL
) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetLabel((wxString
const &)*arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15249 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 Py_INCREF(Py_None
); resultobj
= Py_None
;
15273 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15276 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "tbar", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 (arg1
)->Attach(arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 Py_INCREF(Py_None
); resultobj
= Py_None
;
15300 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= result
;
15325 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15328 PyObject
*arg2
= (PyObject
*) 0 ;
15329 PyObject
* obj0
= 0 ;
15330 PyObject
* obj1
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self",(char *) "clientData", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 Py_INCREF(Py_None
); resultobj
= Py_None
;
15352 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15355 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15357 return Py_BuildValue((char *)"");
15359 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15363 wxString
*arg3
= 0 ;
15364 wxBitmap
*arg4
= 0 ;
15365 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15366 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15367 int arg6
= (int) wxITEM_NORMAL
;
15368 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15370 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15371 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15372 PyObject
*arg9
= (PyObject
*) NULL
;
15373 wxToolBarToolBase
*result
;
15374 bool temp3
= False
;
15375 bool temp7
= False
;
15376 bool temp8
= False
;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 PyObject
* obj3
= 0 ;
15381 PyObject
* obj4
= 0 ;
15382 PyObject
* obj5
= 0 ;
15383 PyObject
* obj6
= 0 ;
15384 PyObject
* obj7
= 0 ;
15385 PyObject
* obj8
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15393 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15397 arg3
= wxString_in_helper(obj2
);
15398 if (arg3
== NULL
) SWIG_fail
;
15401 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15402 if (arg4
== NULL
) {
15403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15406 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15407 if (arg5
== NULL
) {
15408 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15413 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15419 arg7
= wxString_in_helper(obj6
);
15420 if (arg7
== NULL
) SWIG_fail
;
15426 arg8
= wxString_in_helper(obj7
);
15427 if (arg8
== NULL
) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= wxPyMake_wxObject(result
);
15474 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15479 wxString
*arg4
= 0 ;
15480 wxBitmap
*arg5
= 0 ;
15481 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15482 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15483 int arg7
= (int) wxITEM_NORMAL
;
15484 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15485 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15486 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15487 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15488 PyObject
*arg10
= (PyObject
*) NULL
;
15489 wxToolBarToolBase
*result
;
15490 bool temp4
= False
;
15491 bool temp8
= False
;
15492 bool temp9
= False
;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 PyObject
* obj3
= 0 ;
15497 PyObject
* obj4
= 0 ;
15498 PyObject
* obj5
= 0 ;
15499 PyObject
* obj6
= 0 ;
15500 PyObject
* obj7
= 0 ;
15501 PyObject
* obj8
= 0 ;
15502 PyObject
* obj9
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15510 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 arg4
= wxString_in_helper(obj3
);
15519 if (arg4
== NULL
) SWIG_fail
;
15522 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15523 if (arg5
== NULL
) {
15524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15527 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 if (arg6
== NULL
) {
15529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15534 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15540 arg8
= wxString_in_helper(obj7
);
15541 if (arg8
== NULL
) SWIG_fail
;
15547 arg9
= wxString_in_helper(obj8
);
15548 if (arg9
== NULL
) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 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
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= wxPyMake_wxObject(result
);
15595 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15598 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15599 wxToolBarToolBase
*result
;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "tool", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= wxPyMake_wxObject(result
);
15625 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15629 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15630 wxToolBarToolBase
*result
;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "pos",(char *) "tool", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15641 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= wxPyMake_wxObject(result
);
15661 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15664 wxControl
*arg2
= (wxControl
*) 0 ;
15665 wxToolBarToolBase
*result
;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj1
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self",(char *) "control", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= wxPyMake_wxObject(result
);
15691 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15695 wxControl
*arg3
= (wxControl
*) 0 ;
15696 wxToolBarToolBase
*result
;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 PyObject
* obj2
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self",(char *) "pos",(char *) "control", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15707 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= wxPyMake_wxObject(result
);
15727 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "id", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15741 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= wxPyMake_wxObject(result
);
15760 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15763 wxToolBarToolBase
*result
;
15764 PyObject
* obj0
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= wxPyMake_wxObject(result
);
15787 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15791 wxToolBarToolBase
*result
;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self",(char *) "pos", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15801 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= wxPyMake_wxObject(result
);
15820 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15824 wxToolBarToolBase
*result
;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "id", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15834 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15845 resultobj
= wxPyMake_wxObject(result
);
15853 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self",(char *) "pos", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15867 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15884 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self",(char *) "id", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15898 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (bool)(arg1
)->DeleteTool(arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15915 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 (arg1
)->ClearTools();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 Py_INCREF(Py_None
); resultobj
= Py_None
;
15939 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (bool)(arg1
)->Realize();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 PyObject
* obj2
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self",(char *) "id",(char *) "enable", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15979 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15983 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 (arg1
)->EnableTool(arg2
,arg3
);
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 Py_INCREF(Py_None
); resultobj
= Py_None
;
16000 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 PyObject
* obj2
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self",(char *) "id",(char *) "toggle", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16015 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 (arg1
)->ToggleTool(arg2
,arg3
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 Py_INCREF(Py_None
); resultobj
= Py_None
;
16036 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 PyObject
* obj1
= 0 ;
16043 PyObject
* obj2
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self",(char *) "id",(char *) "toggle", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 (arg1
)->SetToggle(arg2
,arg3
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 Py_INCREF(Py_None
); resultobj
= Py_None
;
16072 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self",(char *) "id", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= result
;
16103 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16107 PyObject
*arg3
= (PyObject
*) 0 ;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 PyObject
* obj2
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self",(char *) "id",(char *) "clientData", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16118 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 Py_INCREF(Py_None
); resultobj
= Py_None
;
16136 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self",(char *) "id", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16150 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_PyObj_FromInt((int)result
);
16167 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 PyObject
* obj1
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self",(char *) "id", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)(arg1
)->GetToolState(arg2
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16198 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 PyObject
* obj1
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self",(char *) "id", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16233 wxString
*arg3
= 0 ;
16234 bool temp3
= False
;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 PyObject
* obj2
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self",(char *) "id",(char *) "helpString", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16249 arg3
= wxString_in_helper(obj2
);
16250 if (arg3
== NULL
) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 Py_INCREF(Py_None
); resultobj
= Py_None
;
16275 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self",(char *) "id", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16289 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (arg1
)->GetToolShortHelp(arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16312 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16316 wxString
*arg3
= 0 ;
16317 bool temp3
= False
;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 PyObject
* obj2
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self",(char *) "id",(char *) "helpString", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16328 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 arg3
= wxString_in_helper(obj2
);
16333 if (arg3
== NULL
) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "id", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16372 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (arg1
)->GetToolLongHelp(arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16395 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 PyObject
* obj2
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "x",(char *) "y", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16410 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 (arg1
)->SetMargins(arg2
,arg3
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 Py_INCREF(Py_None
); resultobj
= Py_None
;
16431 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self",(char *) "size", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16446 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "packing", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16475 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 (arg1
)->SetToolPacking(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 Py_INCREF(Py_None
); resultobj
= Py_None
;
16492 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "separation", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 (arg1
)->SetToolSeparation(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 Py_INCREF(Py_None
); resultobj
= Py_None
;
16522 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (arg1
)->GetToolMargins();
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 wxSize
* resultptr
;
16542 resultptr
= new wxSize((wxSize
&) result
);
16543 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16551 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (arg1
)->GetMargins();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16570 wxSize
* resultptr
;
16571 resultptr
= new wxSize((wxSize
&) result
);
16572 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16580 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= (int)(arg1
)->GetToolPacking();
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_PyObj_FromInt((int)result
);
16605 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (int)(arg1
)->GetToolSeparation();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_PyObj_FromInt((int)result
);
16630 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "nRows", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16643 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 (arg1
)->SetRows(arg2
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 Py_INCREF(Py_None
); resultobj
= Py_None
;
16660 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 PyObject
* obj1
= 0 ;
16667 PyObject
* obj2
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self",(char *) "rows",(char *) "cols", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16675 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 Py_INCREF(Py_None
); resultobj
= Py_None
;
16696 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (int)(arg1
)->GetMaxRows();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_PyObj_FromInt((int)result
);
16721 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= (int)(arg1
)->GetMaxCols();
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= SWIG_PyObj_FromInt((int)result
);
16746 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 PyObject
* obj1
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self",(char *) "size", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 Py_INCREF(Py_None
); resultobj
= Py_None
;
16777 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (arg1
)->GetToolBitmapSize();
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 wxSize
* resultptr
;
16797 resultptr
= new wxSize((wxSize
&) result
);
16798 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16806 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (arg1
)->GetToolSize();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 wxSize
* resultptr
;
16826 resultptr
= new wxSize((wxSize
&) result
);
16827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16835 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16840 wxToolBarToolBase
*result
;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 PyObject
* obj2
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self",(char *) "x",(char *) "y", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16851 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= wxPyMake_wxObject(result
);
16874 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16878 wxToolBarToolBase
*result
;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self",(char *) "toolid", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= wxPyMake_wxObject(result
);
16907 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (bool)(arg1
)->IsVertical();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16932 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
16934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16935 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
16937 return Py_BuildValue((char *)"");
16939 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxWindow
*arg1
= (wxWindow
*) 0 ;
16943 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16944 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16945 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16946 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16947 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
16948 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
16949 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16953 bool temp6
= False
;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 PyObject
* obj2
= 0 ;
16957 PyObject
* obj3
= 0 ;
16958 PyObject
* obj4
= 0 ;
16959 PyObject
* obj5
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16967 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16984 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16990 arg6
= wxString_in_helper(obj5
);
16991 if (arg6
== NULL
) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= wxPyMake_wxObject(result
);
17019 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17022 char *kwnames
[] = {
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (wxToolBar
*)new wxToolBar();
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= wxPyMake_wxObject(result
);
17043 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17046 wxWindow
*arg2
= (wxWindow
*) 0 ;
17048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17052 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17053 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17058 bool temp7
= False
;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 PyObject
* obj3
= 0 ;
17063 PyObject
* obj4
= 0 ;
17064 PyObject
* obj5
= 0 ;
17065 PyObject
* obj6
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17074 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17080 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17086 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17091 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17097 arg7
= wxString_in_helper(obj6
);
17098 if (arg7
== NULL
) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17124 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17129 wxToolBarToolBase
*result
;
17130 PyObject
* obj0
= 0 ;
17131 PyObject
* obj1
= 0 ;
17132 PyObject
* obj2
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self",(char *) "x",(char *) "y", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17140 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= wxPyMake_wxObject(result
);
17163 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17166 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17168 return Py_BuildValue((char *)"");
17170 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17171 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17176 static PyObject
*_wrap_ListCtrlNameStr_get() {
17181 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17183 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17190 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxColour
const &arg1_defvalue
= wxNullColour
;
17193 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17194 wxColour
const &arg2_defvalue
= wxNullColour
;
17195 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17196 wxFont
const &arg3_defvalue
= wxNullFont
;
17197 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17198 wxListItemAttr
*result
;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 PyObject
* obj2
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17212 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17218 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17222 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17223 if (arg3
== NULL
) {
17224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17241 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17244 wxColour
*arg2
= 0 ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self",(char *) "colText", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17256 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 Py_INCREF(Py_None
); resultobj
= Py_None
;
17272 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17275 wxColour
*arg2
= 0 ;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self",(char *) "colBack", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 PyObject
* obj1
= 0 ;
17309 char *kwnames
[] = {
17310 (char *) "self",(char *) "font", NULL
17313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17316 if (arg2
== NULL
) {
17317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 (arg1
)->SetFont((wxFont
const &)*arg2
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 Py_INCREF(Py_None
); resultobj
= Py_None
;
17333 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 result
= (bool)(arg1
)->HasTextColour();
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17358 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17362 PyObject
* obj0
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (bool)(arg1
)->HasBackgroundColour();
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17383 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (bool)(arg1
)->HasFont();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17408 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (arg1
)->GetTextColour();
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 wxColour
* resultptr
;
17428 resultptr
= new wxColour((wxColour
&) result
);
17429 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17437 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= (arg1
)->GetBackgroundColour();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17456 wxColour
* resultptr
;
17457 resultptr
= new wxColour((wxColour
&) result
);
17458 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17466 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (arg1
)->GetFont();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 wxFont
* resultptr
;
17486 resultptr
= new wxFont((wxFont
&) result
);
17487 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17495 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 wxListItemAttr_Destroy(arg1
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 Py_INCREF(Py_None
); resultobj
= Py_None
;
17519 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17522 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17524 return Py_BuildValue((char *)"");
17526 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxListItem
*result
;
17529 char *kwnames
[] = {
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (wxListItem
*)new wxListItem();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= wxPyMake_wxObject(result
);
17550 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxListItem
*arg1
= (wxListItem
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxListItem
*arg1
= (wxListItem
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 Py_INCREF(Py_None
); resultobj
= Py_None
;
17598 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxListItem
*arg1
= (wxListItem
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->ClearAttributes();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17622 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxListItem
*arg1
= (wxListItem
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "mask", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17635 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->SetMask(arg2
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxListItem
*arg1
= (wxListItem
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "id", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17665 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 (arg1
)->SetId(arg2
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 Py_INCREF(Py_None
); resultobj
= Py_None
;
17682 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxListItem
*arg1
= (wxListItem
*) 0 ;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "col", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17695 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 (arg1
)->SetColumn(arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 Py_INCREF(Py_None
); resultobj
= Py_None
;
17712 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxListItem
*arg1
= (wxListItem
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "self",(char *) "state", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17725 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 (arg1
)->SetState(arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 Py_INCREF(Py_None
); resultobj
= Py_None
;
17742 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxListItem
*arg1
= (wxListItem
*) 0 ;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self",(char *) "stateMask", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17755 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->SetStateMask(arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 Py_INCREF(Py_None
); resultobj
= Py_None
;
17772 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxListItem
*arg1
= (wxListItem
*) 0 ;
17775 wxString
*arg2
= 0 ;
17776 bool temp2
= False
;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self",(char *) "text", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17786 arg2
= wxString_in_helper(obj1
);
17787 if (arg2
== NULL
) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 (arg1
)->SetText((wxString
const &)*arg2
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxListItem
*arg1
= (wxListItem
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self",(char *) "image", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17825 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->SetImage(arg2
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 Py_INCREF(Py_None
); resultobj
= Py_None
;
17842 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxListItem
*arg1
= (wxListItem
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "data", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17855 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 (arg1
)->SetData(arg2
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 Py_INCREF(Py_None
); resultobj
= Py_None
;
17872 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxListItem
*arg1
= (wxListItem
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "width", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17885 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 (arg1
)->SetWidth(arg2
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 Py_INCREF(Py_None
); resultobj
= Py_None
;
17902 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxListItem
*arg1
= (wxListItem
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "align", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17915 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 Py_INCREF(Py_None
); resultobj
= Py_None
;
17932 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxListItem
*arg1
= (wxListItem
*) 0 ;
17935 wxColour
*arg2
= 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "colText", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 Py_INCREF(Py_None
); resultobj
= Py_None
;
17963 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxListItem
*arg1
= (wxListItem
*) 0 ;
17966 wxColour
*arg2
= 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "colBack", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17978 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 Py_INCREF(Py_None
); resultobj
= Py_None
;
17994 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxListItem
*arg1
= (wxListItem
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self",(char *) "font", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18007 if (arg2
== NULL
) {
18008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->SetFont((wxFont
const &)*arg2
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 Py_INCREF(Py_None
); resultobj
= Py_None
;
18024 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxListItem
*arg1
= (wxListItem
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (long)(arg1
)->GetMask();
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= SWIG_PyObj_FromLong((long)result
);
18049 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxListItem
*arg1
= (wxListItem
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (long)(arg1
)->GetId();
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= SWIG_PyObj_FromLong((long)result
);
18074 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
;
18076 wxListItem
*arg1
= (wxListItem
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (int)(arg1
)->GetColumn();
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_PyObj_FromInt((int)result
);
18099 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxListItem
*arg1
= (wxListItem
*) 0 ;
18103 PyObject
* obj0
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "self", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= (long)(arg1
)->GetState();
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_PyObj_FromLong((long)result
);
18124 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxListItem
*arg1
= (wxListItem
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 wxString
const &_result_ref
= (arg1
)->GetText();
18139 result
= (wxString
*) &_result_ref
;
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18149 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18158 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxListItem
*arg1
= (wxListItem
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (int)(arg1
)->GetImage();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= SWIG_PyObj_FromInt((int)result
);
18183 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxListItem
*arg1
= (wxListItem
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (long)(arg1
)->GetData();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_PyObj_FromLong((long)result
);
18208 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxListItem
*arg1
= (wxListItem
*) 0 ;
18212 PyObject
* obj0
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (int)(arg1
)->GetWidth();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_PyObj_FromInt((int)result
);
18233 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxListItem
*arg1
= (wxListItem
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (int)(arg1
)->GetAlign();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_PyObj_FromInt((int)result
);
18258 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxListItem
*arg1
= (wxListItem
*) 0 ;
18261 wxListItemAttr
*result
;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18283 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxListItem
*arg1
= (wxListItem
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (bool)(arg1
)->HasAttributes();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18308 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxListItem
*arg1
= (wxListItem
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18327 wxColour
* resultptr
;
18328 resultptr
= new wxColour((wxColour
&) result
);
18329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18337 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxListItem
*arg1
= (wxListItem
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18356 wxColour
* resultptr
;
18357 resultptr
= new wxColour((wxColour
&) result
);
18358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18366 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxListItem
*arg1
= (wxListItem
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= ((wxListItem
const *)arg1
)->GetFont();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 wxFont
* resultptr
;
18386 resultptr
= new wxFont((wxFont
&) result
);
18387 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18395 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxListItem
*arg1
= (wxListItem
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self",(char *) "m_mask", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18408 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 if (arg1
) (arg1
)->m_mask
= arg2
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxListItem
*arg1
= (wxListItem
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18431 result
= (long) ((arg1
)->m_mask
);
18433 resultobj
= SWIG_PyObj_FromLong((long)result
);
18440 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxListItem
*arg1
= (wxListItem
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "self",(char *) "m_itemId", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18453 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 if (arg1
) (arg1
)->m_itemId
= arg2
;
18458 Py_INCREF(Py_None
); resultobj
= Py_None
;
18465 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxListItem
*arg1
= (wxListItem
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18476 result
= (long) ((arg1
)->m_itemId
);
18478 resultobj
= SWIG_PyObj_FromLong((long)result
);
18485 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxListItem
*arg1
= (wxListItem
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self",(char *) "m_col", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18498 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 if (arg1
) (arg1
)->m_col
= arg2
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxListItem
*arg1
= (wxListItem
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18521 result
= (int) ((arg1
)->m_col
);
18523 resultobj
= SWIG_PyObj_FromInt((int)result
);
18530 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxListItem
*arg1
= (wxListItem
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "m_state", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18543 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 if (arg1
) (arg1
)->m_state
= arg2
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxListItem
*arg1
= (wxListItem
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18566 result
= (long) ((arg1
)->m_state
);
18568 resultobj
= SWIG_PyObj_FromLong((long)result
);
18575 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxListItem
*arg1
= (wxListItem
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "m_stateMask", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18588 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18593 Py_INCREF(Py_None
); resultobj
= Py_None
;
18600 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxListItem
*arg1
= (wxListItem
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18611 result
= (long) ((arg1
)->m_stateMask
);
18613 resultobj
= SWIG_PyObj_FromLong((long)result
);
18620 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxListItem
*arg1
= (wxListItem
*) 0 ;
18623 wxString
*arg2
= (wxString
*) 0 ;
18624 bool temp2
= False
;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self",(char *) "m_text", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18638 if (arg1
) (arg1
)->m_text
= *arg2
;
18640 Py_INCREF(Py_None
); resultobj
= Py_None
;
18655 static PyObject
*_wrap_ListItem_m_text_get(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_m_text_get",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18666 result
= (wxString
*)& ((arg1
)->m_text
);
18670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18681 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxListItem
*arg1
= (wxListItem
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self",(char *) "m_image", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18694 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 if (arg1
) (arg1
)->m_image
= arg2
;
18699 Py_INCREF(Py_None
); resultobj
= Py_None
;
18706 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxListItem
*arg1
= (wxListItem
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18717 result
= (int) ((arg1
)->m_image
);
18719 resultobj
= SWIG_PyObj_FromInt((int)result
);
18726 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxListItem
*arg1
= (wxListItem
*) 0 ;
18730 PyObject
* obj0
= 0 ;
18731 PyObject
* obj1
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self",(char *) "m_data", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18739 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 if (arg1
) (arg1
)->m_data
= arg2
;
18744 Py_INCREF(Py_None
); resultobj
= Py_None
;
18751 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxListItem
*arg1
= (wxListItem
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18762 result
= (long) ((arg1
)->m_data
);
18764 resultobj
= SWIG_PyObj_FromLong((long)result
);
18771 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxListItem
*arg1
= (wxListItem
*) 0 ;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self",(char *) "m_format", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18784 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 if (arg1
) (arg1
)->m_format
= arg2
;
18789 Py_INCREF(Py_None
); resultobj
= Py_None
;
18796 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxListItem
*arg1
= (wxListItem
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18807 result
= (int) ((arg1
)->m_format
);
18809 resultobj
= SWIG_PyObj_FromInt((int)result
);
18816 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxListItem
*arg1
= (wxListItem
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self",(char *) "m_width", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18829 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 if (arg1
) (arg1
)->m_width
= arg2
;
18834 Py_INCREF(Py_None
); resultobj
= Py_None
;
18841 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxListItem
*arg1
= (wxListItem
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18852 result
= (int) ((arg1
)->m_width
);
18854 resultobj
= SWIG_PyObj_FromInt((int)result
);
18861 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
18863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18864 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
18866 return Py_BuildValue((char *)"");
18868 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18871 int arg2
= (int) 0 ;
18872 wxListEvent
*result
;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj1
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "commandType",(char *) "id", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18882 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
18906 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 PyObject
* obj1
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "m_code", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 if (arg1
) (arg1
)->m_code
= arg2
;
18924 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18942 result
= (int) ((arg1
)->m_code
);
18944 resultobj
= SWIG_PyObj_FromInt((int)result
);
18951 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self",(char *) "m_oldItemIndex", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18964 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18987 result
= (long) ((arg1
)->m_oldItemIndex
);
18989 resultobj
= SWIG_PyObj_FromLong((long)result
);
18996 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19000 PyObject
* obj0
= 0 ;
19001 PyObject
* obj1
= 0 ;
19002 char *kwnames
[] = {
19003 (char *) "self",(char *) "m_itemIndex", NULL
19006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19009 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19014 Py_INCREF(Py_None
); resultobj
= Py_None
;
19021 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19032 result
= (long) ((arg1
)->m_itemIndex
);
19034 resultobj
= SWIG_PyObj_FromLong((long)result
);
19041 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "m_col", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19054 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 if (arg1
) (arg1
)->m_col
= arg2
;
19059 Py_INCREF(Py_None
); resultobj
= Py_None
;
19066 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19077 result
= (int) ((arg1
)->m_col
);
19079 resultobj
= SWIG_PyObj_FromInt((int)result
);
19086 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19089 wxPoint
*arg2
= (wxPoint
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 PyObject
* obj1
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self",(char *) "m_pointDrag", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19099 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19119 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19121 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19128 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19131 wxListItem
*result
;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19139 result
= (wxListItem
*)& ((arg1
)->m_item
);
19142 resultobj
= wxPyMake_wxObject(result
);
19150 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (int)(arg1
)->GetKeyCode();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_PyObj_FromInt((int)result
);
19175 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (long)(arg1
)->GetIndex();
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_PyObj_FromLong((long)result
);
19200 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19204 PyObject
* obj0
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (int)(arg1
)->GetColumn();
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_PyObj_FromInt((int)result
);
19225 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (arg1
)->GetPoint();
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19244 wxPoint
* resultptr
;
19245 resultptr
= new wxPoint((wxPoint
&) result
);
19246 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19254 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 wxString
const &_result_ref
= (arg1
)->GetLabel();
19269 result
= (wxString
*) &_result_ref
;
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19279 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19288 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 wxString
const &_result_ref
= (arg1
)->GetText();
19303 result
= (wxString
*) &_result_ref
;
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19313 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19322 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (int)(arg1
)->GetImage();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_PyObj_FromInt((int)result
);
19347 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 result
= (long)(arg1
)->GetData();
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_PyObj_FromLong((long)result
);
19372 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (long)(arg1
)->GetMask();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_PyObj_FromLong((long)result
);
19397 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19400 wxListItem
*result
;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19412 result
= (wxListItem
*) &_result_ref
;
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19425 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (long)(arg1
)->GetCacheFrom();
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= SWIG_PyObj_FromLong((long)result
);
19450 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= (long)(arg1
)->GetCacheTo();
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_PyObj_FromLong((long)result
);
19475 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19500 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "editCancelled", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19513 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 (arg1
)->SetEditCanceled(arg2
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19533 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19535 return Py_BuildValue((char *)"");
19537 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxWindow
*arg1
= (wxWindow
*) 0 ;
19540 int arg2
= (int) -1 ;
19541 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19542 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19543 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19544 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19545 long arg5
= (long) wxLC_ICON
;
19546 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19547 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19548 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19549 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19550 wxPyListCtrl
*result
;
19553 bool temp7
= False
;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 PyObject
* obj2
= 0 ;
19557 PyObject
* obj3
= 0 ;
19558 PyObject
* obj4
= 0 ;
19559 PyObject
* obj5
= 0 ;
19560 PyObject
* obj6
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19569 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19582 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19587 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19592 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19593 if (arg6
== NULL
) {
19594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19599 arg7
= wxString_in_helper(obj6
);
19600 if (arg7
== NULL
) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19626 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxPyListCtrl
*result
;
19629 char *kwnames
[] = {
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19648 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19651 wxWindow
*arg2
= (wxWindow
*) 0 ;
19652 int arg3
= (int) -1 ;
19653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19657 long arg6
= (long) wxLC_ICON
;
19658 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19659 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19660 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19661 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19665 bool temp8
= False
;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 PyObject
* obj2
= 0 ;
19669 PyObject
* obj3
= 0 ;
19670 PyObject
* obj4
= 0 ;
19671 PyObject
* obj5
= 0 ;
19672 PyObject
* obj6
= 0 ;
19673 PyObject
* obj7
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19683 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19701 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19706 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19707 if (arg7
== NULL
) {
19708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19713 arg8
= wxString_in_helper(obj7
);
19714 if (arg8
== NULL
) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19740 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19743 PyObject
*arg2
= (PyObject
*) 0 ;
19744 PyObject
*arg3
= (PyObject
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 PyObject
* obj2
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self",(char *) "self",(char *) "_class", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 Py_INCREF(Py_None
); resultobj
= Py_None
;
19770 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19773 wxColour
*arg2
= 0 ;
19776 PyObject
* obj0
= 0 ;
19777 PyObject
* obj1
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self",(char *) "col", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19802 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19805 wxColour
*arg2
= 0 ;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self",(char *) "col", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19834 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19838 wxListItem
*result
;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "col", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19848 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= wxPyMake_wxObject(result
);
19867 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19871 wxListItem
*arg3
= 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 PyObject
* obj2
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "col",(char *) "item", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19883 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19887 if (arg3
== NULL
) {
19888 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19904 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "col", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19918 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_PyObj_FromInt((int)result
);
19935 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 PyObject
* obj2
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self",(char *) "col",(char *) "width", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19955 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19972 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19976 PyObject
* obj0
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_PyObj_FromInt((int)result
);
19997 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "self", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20016 wxRect
* resultptr
;
20017 resultptr
= new wxRect((wxRect
&) result
);
20018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20026 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20030 int arg3
= (int) 0 ;
20031 wxListItem
*result
;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 PyObject
* obj2
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "itemId",(char *) "col", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20042 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20047 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= wxPyMake_wxObject(result
);
20067 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20070 wxListItem
*arg2
= 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self",(char *) "info", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20081 if (arg2
== NULL
) {
20082 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (bool)(arg1
)->SetItem(*arg2
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20098 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20103 wxString
*arg4
= 0 ;
20104 int arg5
= (int) -1 ;
20106 bool temp4
= False
;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 PyObject
* obj2
= 0 ;
20110 PyObject
* obj3
= 0 ;
20111 PyObject
* obj4
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20119 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20127 arg4
= wxString_in_helper(obj3
);
20128 if (arg4
== NULL
) SWIG_fail
;
20133 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= SWIG_PyObj_FromLong((long)result
);
20159 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 PyObject
* obj2
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20175 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20179 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= SWIG_PyObj_FromInt((int)result
);
20196 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 PyObject
* obj2
= 0 ;
20206 PyObject
* obj3
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20214 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20218 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20222 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20239 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 PyObject
* obj2
= 0 ;
20249 PyObject
* obj3
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20257 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20261 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20265 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20282 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
;
20284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self",(char *) "item", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20296 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20319 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20323 wxString
*arg3
= 0 ;
20324 bool temp3
= False
;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 PyObject
* obj2
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self",(char *) "item",(char *) "str", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20335 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20339 arg3
= wxString_in_helper(obj2
);
20340 if (arg3
== NULL
) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "item", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20379 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_PyObj_FromLong((long)result
);
20396 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 PyObject
* obj2
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self",(char *) "item",(char *) "data", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20412 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20416 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20433 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self",(char *) "item", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20447 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20458 wxPoint
* resultptr
;
20459 resultptr
= new wxPoint((wxPoint
&) result
);
20460 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20468 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20472 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 PyObject
* obj2
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self",(char *) "item",(char *) "code", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20484 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20489 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 wxRect
* resultptr
;
20502 resultptr
= new wxRect((wxRect
&) result
);
20503 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20511 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20515 wxPoint
*arg3
= 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 PyObject
* obj2
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self",(char *) "item",(char *) "pos", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20528 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20549 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20553 PyObject
* obj0
= 0 ;
20554 char *kwnames
[] = {
20555 (char *) "self", NULL
20558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_PyObj_FromInt((int)result
);
20574 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_PyObj_FromInt((int)result
);
20599 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20618 wxSize
* resultptr
;
20619 resultptr
= new wxSize((wxSize
&) result
);
20620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20628 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20632 bool arg3
= (bool) False
;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 PyObject
* obj2
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20643 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20648 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 (arg1
)->SetItemSpacing(arg2
,arg3
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 Py_INCREF(Py_None
); resultobj
= Py_None
;
20666 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_PyObj_FromInt((int)result
);
20691 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 wxColour
* resultptr
;
20711 resultptr
= new wxColour((wxColour
&) result
);
20712 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20720 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20723 wxColour
*arg2
= 0 ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self",(char *) "col", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_PyObj_FromLong((long)result
);
20776 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20780 bool arg3
= (bool) True
;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self",(char *) "style",(char *) "add", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20791 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20796 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->SetSingleStyle(arg2
,arg3
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 Py_INCREF(Py_None
); resultobj
= Py_None
;
20814 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 PyObject
* obj1
= 0 ;
20820 char *kwnames
[] = {
20821 (char *) "self",(char *) "style", NULL
20824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20827 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 (arg1
)->SetWindowStyleFlag(arg2
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 Py_INCREF(Py_None
); resultobj
= Py_None
;
20844 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20848 int arg3
= (int) wxLIST_NEXT_ALL
;
20849 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 PyObject
* obj2
= 0 ;
20854 PyObject
* obj3
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20862 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20867 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20873 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= SWIG_PyObj_FromLong((long)result
);
20891 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20895 wxImageList
*result
;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "self",(char *) "which", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20905 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= wxPyMake_wxObject(result
);
20924 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20927 wxImageList
*arg2
= (wxImageList
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 PyObject
* obj2
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self",(char *) "imageList",(char *) "which", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20940 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 (arg1
)->SetImageList(arg2
,arg3
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 Py_INCREF(Py_None
); resultobj
= Py_None
;
20957 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20960 wxImageList
*arg2
= (wxImageList
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 PyObject
* obj2
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self",(char *) "imageList",(char *) "which", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20973 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 (arg1
)->AssignImageList(arg2
,arg3
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 Py_INCREF(Py_None
); resultobj
= Py_None
;
20990 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20994 PyObject
* obj0
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21015 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "item", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21028 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->RefreshItem(arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 PyObject
* obj2
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21060 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21064 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->RefreshItems(arg2
,arg3
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21084 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "flag", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21096 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 result
= (bool)(arg1
)->Arrange(arg2
);
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21114 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 char *kwnames
[] = {
21122 (char *) "self",(char *) "item", NULL
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21128 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= (bool)(arg1
)->DeleteItem(arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21145 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (bool)(arg1
)->DeleteAllItems();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21170 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self",(char *) "col", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21184 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21201 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21205 PyObject
* obj0
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (bool)(arg1
)->DeleteAllColumns();
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21226 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 (arg1
)->ClearAll();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 Py_INCREF(Py_None
); resultobj
= Py_None
;
21250 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "item", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 (arg1
)->EditLabel(arg2
);
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21273 Py_INCREF(Py_None
); resultobj
= Py_None
;
21280 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "item", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21294 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21311 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21315 wxString
*arg3
= 0 ;
21316 bool arg4
= (bool) False
;
21318 bool temp3
= False
;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 PyObject
* obj2
= 0 ;
21322 PyObject
* obj3
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21330 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 arg3
= wxString_in_helper(obj2
);
21335 if (arg3
== NULL
) SWIG_fail
;
21340 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_PyObj_FromLong((long)result
);
21366 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 PyObject
* obj2
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "start",(char *) "data", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21382 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_PyObj_FromLong((long)result
);
21403 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21407 wxPoint
*arg3
= 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 PyObject
* obj2
= 0 ;
21414 PyObject
* obj3
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21422 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21430 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_PyObj_FromLong((long)result
);
21447 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21450 wxPoint
*arg2
= 0 ;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self",(char *) "point", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_PyObj_FromLong((long)result
);
21477 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21478 resultobj
= t_output_helper(resultobj
,o
);
21486 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21489 wxListItem
*arg2
= 0 ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self",(char *) "info", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21500 if (arg2
== NULL
) {
21501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (long)(arg1
)->InsertItem(*arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_PyObj_FromLong((long)result
);
21517 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21521 wxString
*arg3
= 0 ;
21523 bool temp3
= False
;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 PyObject
* obj2
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self",(char *) "index",(char *) "label", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21534 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 arg3
= wxString_in_helper(obj2
);
21539 if (arg3
== NULL
) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_PyObj_FromLong((long)result
);
21564 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 PyObject
* obj2
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21580 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_PyObj_FromLong((long)result
);
21601 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21605 wxString
*arg3
= 0 ;
21608 bool temp3
= False
;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 PyObject
* obj2
= 0 ;
21612 PyObject
* obj3
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21620 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21624 arg3
= wxString_in_helper(obj2
);
21625 if (arg3
== NULL
) SWIG_fail
;
21629 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_PyObj_FromLong((long)result
);
21654 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21658 wxListItem
*arg3
= 0 ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 PyObject
* obj2
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "col",(char *) "info", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21670 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21674 if (arg3
== NULL
) {
21675 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SWIG_PyObj_FromLong((long)result
);
21691 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21695 wxString
*arg3
= 0 ;
21696 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21697 int arg5
= (int) -1 ;
21699 bool temp3
= False
;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 PyObject
* obj2
= 0 ;
21703 PyObject
* obj3
= 0 ;
21704 PyObject
* obj4
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21712 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 arg3
= wxString_in_helper(obj2
);
21717 if (arg3
== NULL
) SWIG_fail
;
21722 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21728 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_PyObj_FromLong((long)result
);
21754 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "count", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21767 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 (arg1
)->SetItemCount(arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 Py_INCREF(Py_None
); resultobj
= Py_None
;
21784 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 PyObject
* obj2
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "dx",(char *) "dy", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21800 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21821 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21825 wxColour
*arg3
= 0 ;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 PyObject
* obj2
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "item",(char *) "col", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21837 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21842 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "item", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21872 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 wxColour
* resultptr
;
21884 resultptr
= new wxColour((wxColour
&) result
);
21885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21893 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21897 wxColour
*arg3
= 0 ;
21899 PyObject
* obj0
= 0 ;
21900 PyObject
* obj1
= 0 ;
21901 PyObject
* obj2
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self",(char *) "item",(char *) "col", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21909 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21914 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "item", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21944 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 wxColour
* resultptr
;
21956 resultptr
= new wxColour((wxColour
&) result
);
21957 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21965 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21968 PyObject
*arg2
= (PyObject
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self",(char *) "func", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
21977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21993 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= wxPyMake_wxObject(result
);
22020 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22023 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22025 return Py_BuildValue((char *)"");
22027 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxWindow
*arg1
= (wxWindow
*) 0 ;
22030 int arg2
= (int) -1 ;
22031 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22032 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22033 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22034 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22035 long arg5
= (long) wxLC_REPORT
;
22036 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22037 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22038 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22039 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22040 wxListView
*result
;
22043 bool temp7
= False
;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 PyObject
* obj2
= 0 ;
22047 PyObject
* obj3
= 0 ;
22048 PyObject
* obj4
= 0 ;
22049 PyObject
* obj5
= 0 ;
22050 PyObject
* obj6
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22059 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22072 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22077 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22082 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22083 if (arg6
== NULL
) {
22084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22089 arg7
= wxString_in_helper(obj6
);
22090 if (arg7
== NULL
) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22116 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxListView
*result
;
22119 char *kwnames
[] = {
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (wxListView
*)new wxListView();
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22138 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxListView
*arg1
= (wxListView
*) 0 ;
22141 wxWindow
*arg2
= (wxWindow
*) 0 ;
22142 int arg3
= (int) -1 ;
22143 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22144 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22145 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22146 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22147 long arg6
= (long) wxLC_REPORT
;
22148 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22149 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22150 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22151 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22155 bool temp8
= False
;
22156 PyObject
* obj0
= 0 ;
22157 PyObject
* obj1
= 0 ;
22158 PyObject
* obj2
= 0 ;
22159 PyObject
* obj3
= 0 ;
22160 PyObject
* obj4
= 0 ;
22161 PyObject
* obj5
= 0 ;
22162 PyObject
* obj6
= 0 ;
22163 PyObject
* obj7
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22173 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22180 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22186 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22191 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22196 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22197 if (arg7
== NULL
) {
22198 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22203 arg8
= wxString_in_helper(obj7
);
22204 if (arg8
== NULL
) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22230 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxListView
*arg1
= (wxListView
*) 0 ;
22234 bool arg3
= (bool) True
;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 PyObject
* obj2
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self",(char *) "n",(char *) "on", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22245 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22250 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 (arg1
)->Select(arg2
,arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 Py_INCREF(Py_None
); resultobj
= Py_None
;
22268 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
;
22270 wxListView
*arg1
= (wxListView
*) 0 ;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self",(char *) "index", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22281 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 (arg1
)->Focus(arg2
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 Py_INCREF(Py_None
); resultobj
= Py_None
;
22298 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxListView
*arg1
= (wxListView
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= SWIG_PyObj_FromLong((long)result
);
22323 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxListView
*arg1
= (wxListView
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "item", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22337 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= SWIG_PyObj_FromLong((long)result
);
22354 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxListView
*arg1
= (wxListView
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= SWIG_PyObj_FromLong((long)result
);
22379 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxListView
*arg1
= (wxListView
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 PyObject
* obj1
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self",(char *) "index", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22393 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (bool)(arg1
)->IsSelected(arg2
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22410 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22412 wxListView
*arg1
= (wxListView
*) 0 ;
22415 PyObject
* obj0
= 0 ;
22416 PyObject
* obj1
= 0 ;
22417 PyObject
* obj2
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self",(char *) "col",(char *) "image", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22429 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 (arg1
)->SetColumnImage(arg2
,arg3
);
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 Py_INCREF(Py_None
); resultobj
= Py_None
;
22446 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxListView
*arg1
= (wxListView
*) 0 ;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 char *kwnames
[] = {
22453 (char *) "self",(char *) "col", NULL
22456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 (arg1
)->ClearColumnImage(arg2
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 Py_INCREF(Py_None
); resultobj
= Py_None
;
22476 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22479 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22481 return Py_BuildValue((char *)"");
22483 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22484 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22489 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22494 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22496 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22503 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxTreeItemId
*result
;
22506 char *kwnames
[] = {
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 result
= (wxTreeItemId
*)new wxTreeItemId();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22525 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 Py_INCREF(Py_None
); resultobj
= Py_None
;
22549 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22574 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22577 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self",(char *) "other", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22587 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22602 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22605 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self",(char *) "other", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22630 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22633 void *arg2
= (void *) 0 ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "m_pItem", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22643 if (arg1
) (arg1
)->m_pItem
= arg2
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22663 result
= (void *) ((arg1
)->m_pItem
);
22665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22672 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22675 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22677 return Py_BuildValue((char *)"");
22679 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22681 PyObject
*arg1
= (PyObject
*) NULL
;
22682 wxPyTreeItemData
*result
;
22683 PyObject
* obj0
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "obj", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22706 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (PyObject
*)(arg1
)->GetData();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= result
;
22731 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22734 PyObject
*arg2
= (PyObject
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 PyObject
* obj1
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self",(char *) "obj", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 (arg1
)->SetData(arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22761 wxTreeItemId
*result
;
22762 PyObject
* obj0
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22773 result
= (wxTreeItemId
*) &_result_ref
;
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
22786 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22789 wxTreeItemId
*arg2
= 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 char *kwnames
[] = {
22793 (char *) "self",(char *) "id", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22799 if (arg2
== NULL
) {
22800 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 Py_INCREF(Py_None
); resultobj
= Py_None
;
22816 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 wxPyTreeItemData_Destroy(arg1
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 Py_INCREF(Py_None
); resultobj
= Py_None
;
22840 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
22842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22843 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22845 return Py_BuildValue((char *)"");
22847 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22850 int arg2
= (int) 0 ;
22851 wxTreeEvent
*result
;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "commandType",(char *) "id", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22861 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22867 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
22885 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22888 wxTreeItemId result
;
22889 PyObject
* obj0
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "self", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
22895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 wxTreeItemId
* resultptr
;
22905 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22906 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22914 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22917 wxTreeItemId
*arg2
= 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "item", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22927 if (arg2
== NULL
) {
22928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 Py_INCREF(Py_None
); resultobj
= Py_None
;
22944 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22947 wxTreeItemId result
;
22948 PyObject
* obj0
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22963 wxTreeItemId
* resultptr
;
22964 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22973 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22976 wxTreeItemId
*arg2
= 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self",(char *) "item", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22986 if (arg2
== NULL
) {
22987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 Py_INCREF(Py_None
); resultobj
= Py_None
;
23003 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23005 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23022 wxPoint
* resultptr
;
23023 resultptr
= new wxPoint((wxPoint
&) result
);
23024 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23032 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23035 wxPoint
*arg2
= 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self",(char *) "pt", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23066 wxKeyEvent
*result
;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23078 result
= (wxKeyEvent
*) &_result_ref
;
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23091 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= SWIG_PyObj_FromInt((int)result
);
23116 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23119 wxKeyEvent
*arg2
= 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self",(char *) "evt", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23129 if (arg2
== NULL
) {
23130 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 Py_INCREF(Py_None
); resultobj
= Py_None
;
23146 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23161 result
= (wxString
*) &_result_ref
;
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23180 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23183 wxString
*arg2
= 0 ;
23184 bool temp2
= False
;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "label", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23194 arg2
= wxString_in_helper(obj1
);
23195 if (arg2
== NULL
) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->SetLabel((wxString
const &)*arg2
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23245 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 PyObject
* obj1
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self",(char *) "editCancelled", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23258 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 (arg1
)->SetEditCanceled(arg2
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23275 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23278 wxString
*arg2
= 0 ;
23279 bool temp2
= False
;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self",(char *) "toolTip", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23289 arg2
= wxString_in_helper(obj1
);
23290 if (arg2
== NULL
) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 Py_INCREF(Py_None
); resultobj
= Py_None
;
23315 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23318 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23320 return Py_BuildValue((char *)"");
23322 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxWindow
*arg1
= (wxWindow
*) 0 ;
23325 int arg2
= (int) -1 ;
23326 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23327 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23328 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23329 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23330 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23331 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23332 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23333 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23334 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23335 wxPyTreeCtrl
*result
;
23338 bool temp7
= False
;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 PyObject
* obj2
= 0 ;
23342 PyObject
* obj3
= 0 ;
23343 PyObject
* obj4
= 0 ;
23344 PyObject
* obj5
= 0 ;
23345 PyObject
* obj6
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23354 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23367 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23372 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23377 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23378 if (arg6
== NULL
) {
23379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23384 arg7
= wxString_in_helper(obj6
);
23385 if (arg7
== NULL
) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= wxPyMake_wxObject(result
);
23413 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxPyTreeCtrl
*result
;
23416 char *kwnames
[] = {
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= wxPyMake_wxObject(result
);
23437 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23440 wxWindow
*arg2
= (wxWindow
*) 0 ;
23441 int arg3
= (int) -1 ;
23442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23446 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23447 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23448 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23449 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23450 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23454 bool temp8
= False
;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 PyObject
* obj2
= 0 ;
23458 PyObject
* obj3
= 0 ;
23459 PyObject
* obj4
= 0 ;
23460 PyObject
* obj5
= 0 ;
23461 PyObject
* obj6
= 0 ;
23462 PyObject
* obj7
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23472 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23490 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23495 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23496 if (arg7
== NULL
) {
23497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23502 arg8
= wxString_in_helper(obj7
);
23503 if (arg8
== NULL
) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23529 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23532 PyObject
*arg2
= (PyObject
*) 0 ;
23533 PyObject
*arg3
= (PyObject
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 PyObject
* obj1
= 0 ;
23536 PyObject
* obj2
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self",(char *) "self",(char *) "_class", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23559 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23584 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
;
23586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23587 unsigned int result
;
23588 PyObject
* obj0
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23609 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23612 unsigned int arg2
;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "indent", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23622 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 (arg1
)->SetIndent(arg2
);
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 Py_INCREF(Py_None
); resultobj
= Py_None
;
23639 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23642 unsigned int result
;
23643 PyObject
* obj0
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23664 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23667 unsigned int arg2
;
23668 PyObject
* obj0
= 0 ;
23669 PyObject
* obj1
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self",(char *) "spacing", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23677 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 (arg1
)->SetSpacing(arg2
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 Py_INCREF(Py_None
); resultobj
= Py_None
;
23694 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23697 wxImageList
*result
;
23698 PyObject
* obj0
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= wxPyMake_wxObject(result
);
23721 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23724 wxImageList
*result
;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= wxPyMake_wxObject(result
);
23748 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23751 wxImageList
*arg2
= (wxImageList
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "imageList", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 (arg1
)->SetImageList(arg2
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 Py_INCREF(Py_None
); resultobj
= Py_None
;
23775 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23778 wxImageList
*arg2
= (wxImageList
*) 0 ;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "imageList", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 (arg1
)->SetStateImageList(arg2
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 Py_INCREF(Py_None
); resultobj
= Py_None
;
23802 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23805 wxImageList
*arg2
= (wxImageList
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 PyObject
* obj1
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self",(char *) "imageList", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->AssignImageList(arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 Py_INCREF(Py_None
); resultobj
= Py_None
;
23829 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23832 wxImageList
*arg2
= (wxImageList
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self",(char *) "imageList", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 (arg1
)->AssignStateImageList(arg2
);
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 Py_INCREF(Py_None
); resultobj
= Py_None
;
23856 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23859 wxTreeItemId
*arg2
= 0 ;
23861 PyObject
* obj0
= 0 ;
23862 PyObject
* obj1
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self",(char *) "item", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23870 if (arg2
== NULL
) {
23871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23893 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23896 wxTreeItemId
*arg2
= 0 ;
23897 int arg3
= (int) wxTreeItemIcon_Normal
;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 PyObject
* obj2
= 0 ;
23902 char *kwnames
[] = {
23903 (char *) "self",(char *) "item",(char *) "which", NULL
23906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23909 if (arg2
== NULL
) {
23910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23914 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= SWIG_PyObj_FromInt((int)result
);
23932 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23935 wxTreeItemId
*arg2
= 0 ;
23936 wxPyTreeItemData
*result
;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self",(char *) "item", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23946 if (arg2
== NULL
) {
23947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
23963 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
;
23965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23966 wxTreeItemId
*arg2
= 0 ;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self",(char *) "item", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23977 if (arg2
== NULL
) {
23978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= result
;
23994 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23997 wxTreeItemId
*arg2
= 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self",(char *) "item", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24008 if (arg2
== NULL
) {
24009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24019 wxColour
* resultptr
;
24020 resultptr
= new wxColour((wxColour
&) result
);
24021 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24029 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24032 wxTreeItemId
*arg2
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "item", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24043 if (arg2
== NULL
) {
24044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 wxColour
* resultptr
;
24055 resultptr
= new wxColour((wxColour
&) result
);
24056 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24064 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24067 wxTreeItemId
*arg2
= 0 ;
24069 PyObject
* obj0
= 0 ;
24070 PyObject
* obj1
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self",(char *) "item", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24078 if (arg2
== NULL
) {
24079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24089 wxFont
* resultptr
;
24090 resultptr
= new wxFont((wxFont
&) result
);
24091 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24099 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24102 wxTreeItemId
*arg2
= 0 ;
24103 wxString
*arg3
= 0 ;
24104 bool temp3
= False
;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 PyObject
* obj2
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self",(char *) "item",(char *) "text", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24115 if (arg2
== NULL
) {
24116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24119 arg3
= wxString_in_helper(obj2
);
24120 if (arg3
== NULL
) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 Py_INCREF(Py_None
); resultobj
= Py_None
;
24145 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24148 wxTreeItemId
*arg2
= 0 ;
24150 int arg4
= (int) wxTreeItemIcon_Normal
;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 PyObject
* obj2
= 0 ;
24154 PyObject
* obj3
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24162 if (arg2
== NULL
) {
24163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24166 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24171 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 Py_INCREF(Py_None
); resultobj
= Py_None
;
24189 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24192 wxTreeItemId
*arg2
= 0 ;
24193 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 PyObject
* obj2
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "item",(char *) "data", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24204 if (arg2
== NULL
) {
24205 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24207 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 Py_INCREF(Py_None
); resultobj
= Py_None
;
24222 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24225 wxTreeItemId
*arg2
= 0 ;
24226 PyObject
*arg3
= (PyObject
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 PyObject
* obj2
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self",(char *) "item",(char *) "obj", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24237 if (arg2
== NULL
) {
24238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 Py_INCREF(Py_None
); resultobj
= Py_None
;
24255 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24258 wxTreeItemId
*arg2
= 0 ;
24259 bool arg3
= (bool) True
;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 PyObject
* obj2
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self",(char *) "item",(char *) "has", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24269 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24270 if (arg2
== NULL
) {
24271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24275 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 Py_INCREF(Py_None
); resultobj
= Py_None
;
24293 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24296 wxTreeItemId
*arg2
= 0 ;
24297 bool arg3
= (bool) True
;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 PyObject
* obj2
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self",(char *) "item",(char *) "bold", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24308 if (arg2
== NULL
) {
24309 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24313 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 Py_INCREF(Py_None
); resultobj
= Py_None
;
24331 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24334 wxTreeItemId
*arg2
= 0 ;
24335 wxColour
*arg3
= 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 PyObject
* obj2
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "item",(char *) "col", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24347 if (arg2
== NULL
) {
24348 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24352 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24361 Py_INCREF(Py_None
); resultobj
= Py_None
;
24368 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24371 wxTreeItemId
*arg2
= 0 ;
24372 wxColour
*arg3
= 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 PyObject
* obj2
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "item",(char *) "col", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
24389 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 Py_INCREF(Py_None
); resultobj
= Py_None
;
24405 static PyObject
*_wrap_TreeCtrl_SetItemFont(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 PyObject
* obj2
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "item",(char *) "font", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24420 if (arg2
== NULL
) {
24421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24423 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24424 if (arg3
== NULL
) {
24425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 Py_INCREF(Py_None
); resultobj
= Py_None
;
24441 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24444 wxTreeItemId
*arg2
= 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "item", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24455 if (arg2
== NULL
) {
24456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24472 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24475 wxTreeItemId
*arg2
= 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "item", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24486 if (arg2
== NULL
) {
24487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24503 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24506 wxTreeItemId
*arg2
= 0 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self",(char *) "item", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24517 if (arg2
== NULL
) {
24518 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24534 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24537 wxTreeItemId
*arg2
= 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "item", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24548 if (arg2
== NULL
) {
24549 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24565 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24568 wxTreeItemId
*arg2
= 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self",(char *) "item", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24579 if (arg2
== NULL
) {
24580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24596 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24599 wxTreeItemId
*arg2
= 0 ;
24600 bool arg3
= (bool) True
;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "item",(char *) "recursively", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24612 if (arg2
== NULL
) {
24613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24617 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24635 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24638 wxTreeItemId result
;
24639 PyObject
* obj0
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24654 wxTreeItemId
* resultptr
;
24655 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24656 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24664 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24667 wxTreeItemId result
;
24668 PyObject
* obj0
= 0 ;
24669 char *kwnames
[] = {
24670 (char *) "self", NULL
24673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24683 wxTreeItemId
* resultptr
;
24684 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24685 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24693 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24697 PyObject
* obj0
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= result
;
24718 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
;
24720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24721 wxTreeItemId
*arg2
= 0 ;
24722 wxTreeItemId result
;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self",(char *) "item", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24732 if (arg2
== NULL
) {
24733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 wxTreeItemId
* resultptr
;
24744 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24745 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24753 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24756 wxTreeItemId
*arg2
= 0 ;
24758 PyObject
* obj0
= 0 ;
24759 PyObject
* obj1
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self",(char *) "item", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24767 if (arg2
== NULL
) {
24768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= result
;
24784 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24787 wxTreeItemId
*arg2
= 0 ;
24788 void *arg3
= (void *) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 PyObject
* obj2
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self",(char *) "item",(char *) "cookie", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24800 if (arg2
== NULL
) {
24801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24803 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= result
;
24818 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24821 wxTreeItemId
*arg2
= 0 ;
24822 wxTreeItemId result
;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self",(char *) "item", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24832 if (arg2
== NULL
) {
24833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 wxTreeItemId
* resultptr
;
24844 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24853 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24856 wxTreeItemId
*arg2
= 0 ;
24857 wxTreeItemId result
;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self",(char *) "item", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24867 if (arg2
== NULL
) {
24868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 wxTreeItemId
* resultptr
;
24879 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24888 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24891 wxTreeItemId
*arg2
= 0 ;
24892 wxTreeItemId result
;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self",(char *) "item", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24902 if (arg2
== NULL
) {
24903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 wxTreeItemId
* resultptr
;
24914 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24923 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24926 wxTreeItemId result
;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24942 wxTreeItemId
* resultptr
;
24943 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24952 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24955 wxTreeItemId
*arg2
= 0 ;
24956 wxTreeItemId result
;
24957 PyObject
* obj0
= 0 ;
24958 PyObject
* obj1
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self",(char *) "item", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24966 if (arg2
== NULL
) {
24967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24977 wxTreeItemId
* resultptr
;
24978 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24987 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24990 wxTreeItemId
*arg2
= 0 ;
24991 wxTreeItemId result
;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "item", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25001 if (arg2
== NULL
) {
25002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25012 wxTreeItemId
* resultptr
;
25013 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25014 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25022 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
;
25024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25025 wxString
*arg2
= 0 ;
25026 int arg3
= (int) -1 ;
25027 int arg4
= (int) -1 ;
25028 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25029 wxTreeItemId result
;
25030 bool temp2
= False
;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 PyObject
* obj2
= 0 ;
25034 PyObject
* obj3
= 0 ;
25035 PyObject
* obj4
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25043 arg2
= wxString_in_helper(obj1
);
25044 if (arg2
== NULL
) SWIG_fail
;
25049 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25055 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25060 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 wxTreeItemId
* resultptr
;
25071 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25072 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25088 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
;
25090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25091 wxTreeItemId
*arg2
= 0 ;
25092 wxString
*arg3
= 0 ;
25093 int arg4
= (int) -1 ;
25094 int arg5
= (int) -1 ;
25095 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25096 wxTreeItemId result
;
25097 bool temp3
= False
;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 PyObject
* obj2
= 0 ;
25101 PyObject
* obj3
= 0 ;
25102 PyObject
* obj4
= 0 ;
25103 PyObject
* obj5
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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 arg3
= wxString_in_helper(obj2
);
25116 if (arg3
== NULL
) SWIG_fail
;
25121 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25127 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25132 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25142 wxTreeItemId
* resultptr
;
25143 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25144 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25160 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25163 wxTreeItemId
*arg2
= 0 ;
25164 wxTreeItemId
*arg3
= 0 ;
25165 wxString
*arg4
= 0 ;
25166 int arg5
= (int) -1 ;
25167 int arg6
= (int) -1 ;
25168 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25169 wxTreeItemId result
;
25170 bool temp4
= False
;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 PyObject
* obj2
= 0 ;
25174 PyObject
* obj3
= 0 ;
25175 PyObject
* obj4
= 0 ;
25176 PyObject
* obj5
= 0 ;
25177 PyObject
* obj6
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25185 if (arg2
== NULL
) {
25186 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25188 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25189 if (arg3
== NULL
) {
25190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25193 arg4
= wxString_in_helper(obj3
);
25194 if (arg4
== NULL
) SWIG_fail
;
25199 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25205 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25210 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 wxTreeItemId
* resultptr
;
25221 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25222 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25238 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25241 wxTreeItemId
*arg2
= 0 ;
25243 wxString
*arg4
= 0 ;
25244 int arg5
= (int) -1 ;
25245 int arg6
= (int) -1 ;
25246 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25247 wxTreeItemId result
;
25248 bool temp4
= False
;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 PyObject
* obj2
= 0 ;
25252 PyObject
* obj3
= 0 ;
25253 PyObject
* obj4
= 0 ;
25254 PyObject
* obj5
= 0 ;
25255 PyObject
* obj6
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25263 if (arg2
== NULL
) {
25264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25267 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 arg4
= wxString_in_helper(obj3
);
25272 if (arg4
== NULL
) SWIG_fail
;
25277 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25283 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25288 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25298 wxTreeItemId
* resultptr
;
25299 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25300 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25316 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
;
25318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25319 wxTreeItemId
*arg2
= 0 ;
25320 wxString
*arg3
= 0 ;
25321 int arg4
= (int) -1 ;
25322 int arg5
= (int) -1 ;
25323 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25324 wxTreeItemId result
;
25325 bool temp3
= False
;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 PyObject
* obj2
= 0 ;
25329 PyObject
* obj3
= 0 ;
25330 PyObject
* obj4
= 0 ;
25331 PyObject
* obj5
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25339 if (arg2
== NULL
) {
25340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25343 arg3
= wxString_in_helper(obj2
);
25344 if (arg3
== NULL
) SWIG_fail
;
25349 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25355 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25360 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25370 wxTreeItemId
* resultptr
;
25371 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25388 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
;
25390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25391 wxTreeItemId
*arg2
= 0 ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self",(char *) "item", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25401 if (arg2
== NULL
) {
25402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25421 wxTreeItemId
*arg2
= 0 ;
25422 PyObject
* obj0
= 0 ;
25423 PyObject
* obj1
= 0 ;
25424 char *kwnames
[] = {
25425 (char *) "self",(char *) "item", NULL
25428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25431 if (arg2
== NULL
) {
25432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 Py_INCREF(Py_None
); resultobj
= Py_None
;
25448 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25451 PyObject
* obj0
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 (arg1
)->DeleteAllItems();
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 Py_INCREF(Py_None
); resultobj
= Py_None
;
25472 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
;
25474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25475 wxTreeItemId
*arg2
= 0 ;
25476 PyObject
* obj0
= 0 ;
25477 PyObject
* obj1
= 0 ;
25478 char *kwnames
[] = {
25479 (char *) "self",(char *) "item", NULL
25482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25485 if (arg2
== NULL
) {
25486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 Py_INCREF(Py_None
); resultobj
= Py_None
;
25502 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
;
25504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25505 wxTreeItemId
*arg2
= 0 ;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self",(char *) "item", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25515 if (arg2
== NULL
) {
25516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25532 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25535 wxTreeItemId
*arg2
= 0 ;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "item", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25545 if (arg2
== NULL
) {
25546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 Py_INCREF(Py_None
); resultobj
= Py_None
;
25562 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
;
25564 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25565 wxTreeItemId
*arg2
= 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self",(char *) "item", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25575 if (arg2
== NULL
) {
25576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 Py_INCREF(Py_None
); resultobj
= Py_None
;
25592 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "self", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 (arg1
)->Unselect();
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 Py_INCREF(Py_None
); resultobj
= Py_None
;
25616 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25619 wxTreeItemId
*arg2
= 0 ;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self",(char *) "item", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25629 if (arg2
== NULL
) {
25630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 Py_INCREF(Py_None
); resultobj
= Py_None
;
25646 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 char *kwnames
[] = {
25651 (char *) "self", NULL
25654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->UnselectAll();
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 Py_INCREF(Py_None
); resultobj
= Py_None
;
25670 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25673 wxTreeItemId
*arg2
= 0 ;
25674 bool arg3
= (bool) True
;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj1
= 0 ;
25677 PyObject
* obj2
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self",(char *) "item",(char *) "select", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25685 if (arg2
== NULL
) {
25686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25690 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 Py_INCREF(Py_None
); resultobj
= Py_None
;
25708 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25711 wxTreeItemId
*arg2
= 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self",(char *) "item", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
25719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25721 if (arg2
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 Py_INCREF(Py_None
); resultobj
= Py_None
;
25738 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25741 wxTreeItemId
*arg2
= 0 ;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "item", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25751 if (arg2
== NULL
) {
25752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 Py_INCREF(Py_None
); resultobj
= Py_None
;
25768 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25771 wxTreeItemId
*arg2
= 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "item", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25781 if (arg2
== NULL
) {
25782 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 Py_INCREF(Py_None
); resultobj
= Py_None
;
25798 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25801 wxTreeItemId
*arg2
= 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "item", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25811 if (arg2
== NULL
) {
25812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25831 wxTextCtrl
*result
;
25832 PyObject
* obj0
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "self", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= wxPyMake_wxObject(result
);
25855 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25858 wxTreeItemId
*arg2
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "item", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25868 if (arg2
== NULL
) {
25869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 Py_INCREF(Py_None
); resultobj
= Py_None
;
25885 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25888 wxPoint
*arg2
= 0 ;
25890 wxTreeItemId result
;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self",(char *) "point", NULL
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25904 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 wxTreeItemId
* resultptr
;
25915 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25916 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25919 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25920 resultobj
= t_output_helper(resultobj
,o
);
25928 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25931 wxTreeItemId
*arg2
= 0 ;
25932 bool arg3
= (bool) False
;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 PyObject
* obj2
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "item",(char *) "textOnly", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25944 if (arg2
== NULL
) {
25945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25949 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= result
;
25967 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
25969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25970 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
25972 return Py_BuildValue((char *)"");
25974 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
25975 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
25980 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
25985 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25987 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25994 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxWindow
*arg1
= (wxWindow
*) 0 ;
25997 int arg2
= (int) (int)-1 ;
25998 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
25999 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26004 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26005 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26006 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26007 int arg8
= (int) 0 ;
26008 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26009 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26010 wxGenericDirCtrl
*result
;
26011 bool temp3
= False
;
26014 bool temp7
= False
;
26015 bool temp9
= False
;
26016 PyObject
* obj0
= 0 ;
26017 PyObject
* obj1
= 0 ;
26018 PyObject
* obj2
= 0 ;
26019 PyObject
* obj3
= 0 ;
26020 PyObject
* obj4
= 0 ;
26021 PyObject
* obj5
= 0 ;
26022 PyObject
* obj6
= 0 ;
26023 PyObject
* obj7
= 0 ;
26024 PyObject
* obj8
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26033 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26039 arg3
= wxString_in_helper(obj2
);
26040 if (arg3
== NULL
) SWIG_fail
;
26047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26058 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26064 arg7
= wxString_in_helper(obj6
);
26065 if (arg7
== NULL
) SWIG_fail
;
26071 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26077 arg9
= wxString_in_helper(obj8
);
26078 if (arg9
== NULL
) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26120 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxGenericDirCtrl
*result
;
26123 char *kwnames
[] = {
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26142 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26145 wxWindow
*arg2
= (wxWindow
*) 0 ;
26146 int arg3
= (int) (int)-1 ;
26147 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26149 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26150 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26151 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26152 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26153 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26154 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26155 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26156 int arg9
= (int) 0 ;
26157 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26158 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26160 bool temp4
= False
;
26163 bool temp8
= False
;
26164 bool temp10
= False
;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 PyObject
* obj2
= 0 ;
26168 PyObject
* obj3
= 0 ;
26169 PyObject
* obj4
= 0 ;
26170 PyObject
* obj5
= 0 ;
26171 PyObject
* obj6
= 0 ;
26172 PyObject
* obj7
= 0 ;
26173 PyObject
* obj8
= 0 ;
26174 PyObject
* obj9
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26184 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26190 arg4
= wxString_in_helper(obj3
);
26191 if (arg4
== NULL
) SWIG_fail
;
26198 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26204 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26209 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26215 arg8
= wxString_in_helper(obj7
);
26216 if (arg8
== NULL
) SWIG_fail
;
26222 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26228 arg10
= wxString_in_helper(obj9
);
26229 if (arg10
== NULL
) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26271 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26274 wxString
*arg2
= 0 ;
26276 bool temp2
= False
;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "path", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26286 arg2
= wxString_in_helper(obj1
);
26287 if (arg2
== NULL
) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26312 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26343 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26346 wxString
*arg2
= 0 ;
26347 bool temp2
= False
;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self",(char *) "path", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26357 arg2
= wxString_in_helper(obj1
);
26358 if (arg2
== NULL
) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 Py_INCREF(Py_None
); resultobj
= Py_None
;
26383 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26385 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26414 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26445 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
;
26447 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26448 wxString
*arg2
= 0 ;
26449 bool temp2
= False
;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "path", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26459 arg2
= wxString_in_helper(obj1
);
26460 if (arg2
== NULL
) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 (arg1
)->SetPath((wxString
const &)*arg2
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 Py_INCREF(Py_None
); resultobj
= Py_None
;
26485 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self",(char *) "show", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26498 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 (arg1
)->ShowHidden(arg2
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 Py_INCREF(Py_None
); resultobj
= Py_None
;
26515 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26519 PyObject
* obj0
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 result
= (bool)(arg1
)->GetShowHidden();
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26540 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "self", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26571 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26574 wxString
*arg2
= 0 ;
26575 bool temp2
= False
;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self",(char *) "filter", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26585 arg2
= wxString_in_helper(obj1
);
26586 if (arg2
== NULL
) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->SetFilter((wxString
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 Py_INCREF(Py_None
); resultobj
= Py_None
;
26611 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26615 PyObject
* obj0
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_PyObj_FromInt((int)result
);
26636 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "n", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 (arg1
)->SetFilterIndex(arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 Py_INCREF(Py_None
); resultobj
= Py_None
;
26666 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26669 wxTreeItemId result
;
26670 PyObject
* obj0
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (arg1
)->GetRootId();
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26685 wxTreeItemId
* resultptr
;
26686 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26687 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26695 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26698 wxPyTreeCtrl
*result
;
26699 PyObject
* obj0
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= wxPyMake_wxObject(result
);
26722 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26725 wxDirFilterListCtrl
*result
;
26726 PyObject
* obj0
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26747 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
;
26749 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26750 wxTreeItemId arg2
;
26751 wxString
*arg3
= 0 ;
26753 wxTreeItemId result
;
26754 wxTreeItemId
*argp2
;
26755 bool temp3
= False
;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 PyObject
* obj2
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "self",(char *) "parentId",(char *) "path", NULL
26765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26767 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
26770 arg3
= wxString_in_helper(obj2
);
26771 if (arg3
== NULL
) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26782 wxTreeItemId
* resultptr
;
26783 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26784 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26787 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26788 resultobj
= t_output_helper(resultobj
,o
);
26804 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
26813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 (arg1
)->DoResize();
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 Py_INCREF(Py_None
); resultobj
= Py_None
;
26828 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 (arg1
)->ReCreateTree();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 Py_INCREF(Py_None
); resultobj
= Py_None
;
26852 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26855 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
26857 return Py_BuildValue((char *)"");
26859 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26862 int arg2
= (int) (int)-1 ;
26863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26867 long arg5
= (long) 0 ;
26868 wxDirFilterListCtrl
*result
;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 PyObject
* obj2
= 0 ;
26874 PyObject
* obj3
= 0 ;
26875 PyObject
* obj4
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26884 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26897 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26902 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26920 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxDirFilterListCtrl
*result
;
26923 char *kwnames
[] = {
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26942 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
;
26944 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26945 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
26946 int arg3
= (int) (int)-1 ;
26947 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26948 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26949 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26950 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26951 long arg6
= (long) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 PyObject
* obj2
= 0 ;
26958 PyObject
* obj3
= 0 ;
26959 PyObject
* obj4
= 0 ;
26960 PyObject
* obj5
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26970 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26988 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27006 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27009 wxString
*arg2
= 0 ;
27011 bool temp2
= False
;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 PyObject
* obj2
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27022 arg2
= wxString_in_helper(obj1
);
27023 if (arg2
== NULL
) SWIG_fail
;
27027 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 Py_INCREF(Py_None
); resultobj
= Py_None
;
27052 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27055 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27057 return Py_BuildValue((char *)"");
27059 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxWindow
*arg1
= (wxWindow
*) 0 ;
27063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27067 long arg5
= (long) 0 ;
27068 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27069 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27070 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27072 wxPyControl
*result
;
27075 bool temp7
= False
;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 PyObject
* obj2
= 0 ;
27079 PyObject
* obj3
= 0 ;
27080 PyObject
* obj4
= 0 ;
27081 PyObject
* obj5
= 0 ;
27082 PyObject
* obj6
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27090 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27107 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27112 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27113 if (arg6
== NULL
) {
27114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27119 arg7
= wxString_in_helper(obj6
);
27120 if (arg7
== NULL
) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27146 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
;
27148 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27149 PyObject
*arg2
= (PyObject
*) 0 ;
27150 PyObject
*arg3
= (PyObject
*) 0 ;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 PyObject
* obj2
= 0 ;
27154 char *kwnames
[] = {
27155 (char *) "self",(char *) "self",(char *) "_class", NULL
27158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 Py_INCREF(Py_None
); resultobj
= Py_None
;
27176 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 PyObject
* obj2
= 0 ;
27186 PyObject
* obj3
= 0 ;
27187 PyObject
* obj4
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27195 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27203 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27207 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 Py_INCREF(Py_None
); resultobj
= Py_None
;
27224 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27231 int arg6
= (int) wxSIZE_AUTO
;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 PyObject
* obj2
= 0 ;
27235 PyObject
* obj3
= 0 ;
27236 PyObject
* obj4
= 0 ;
27237 PyObject
* obj5
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27249 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27262 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27273 Py_INCREF(Py_None
); resultobj
= Py_None
;
27280 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 PyObject
* obj2
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "width",(char *) "height", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27299 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 Py_INCREF(Py_None
); resultobj
= Py_None
;
27316 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 PyObject
* obj2
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self",(char *) "x",(char *) "y", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27331 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27335 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 Py_INCREF(Py_None
); resultobj
= Py_None
;
27352 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
;
27354 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27355 int *arg2
= (int *) 0 ;
27356 int *arg3
= (int *) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 Py_INCREF(Py_None
); resultobj
= Py_None
;
27377 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27378 resultobj
= t_output_helper(resultobj
,o
);
27381 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27382 resultobj
= t_output_helper(resultobj
,o
);
27390 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27393 int *arg2
= (int *) 0 ;
27394 int *arg3
= (int *) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27416 resultobj
= t_output_helper(resultobj
,o
);
27419 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27420 resultobj
= t_output_helper(resultobj
,o
);
27428 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27431 int *arg2
= (int *) 0 ;
27432 int *arg3
= (int *) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 Py_INCREF(Py_None
); resultobj
= Py_None
;
27453 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27454 resultobj
= t_output_helper(resultobj
,o
);
27457 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27458 resultobj
= t_output_helper(resultobj
,o
);
27466 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
;
27468 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27470 PyObject
* obj0
= 0 ;
27471 char *kwnames
[] = {
27472 (char *) "self", NULL
27475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 wxSize
* resultptr
;
27486 resultptr
= new wxSize((wxSize
&) result
);
27487 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27495 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27496 PyObject
*resultobj
;
27497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27499 PyObject
* obj0
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "self", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27514 wxSize
* resultptr
;
27515 resultptr
= new wxSize((wxSize
&) result
);
27516 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27524 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
;
27526 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 (arg1
)->base_InitDialog();
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27541 Py_INCREF(Py_None
); resultobj
= Py_None
;
27548 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
;
27550 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27552 PyObject
* obj0
= 0 ;
27553 char *kwnames
[] = {
27554 (char *) "self", NULL
27557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= (bool)(arg1
)->base_TransferDataToWindow();
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27573 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27577 PyObject
* obj0
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27598 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27602 PyObject
* obj0
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 result
= (bool)(arg1
)->base_Validate();
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27623 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27648 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 char *kwnames
[] = {
27654 (char *) "self", NULL
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27673 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
;
27675 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27677 PyObject
* obj0
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27692 wxSize
* resultptr
;
27693 resultptr
= new wxSize((wxSize
&) result
);
27694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27702 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27705 wxWindow
*arg2
= (wxWindow
*) 0 ;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self",(char *) "child", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 (arg1
)->base_AddChild(arg2
);
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 Py_INCREF(Py_None
); resultobj
= Py_None
;
27729 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27732 wxWindow
*arg2
= (wxWindow
*) 0 ;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self",(char *) "child", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 (arg1
)->base_RemoveChild(arg2
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 Py_INCREF(Py_None
); resultobj
= Py_None
;
27756 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27759 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27761 return Py_BuildValue((char *)"");
27763 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27766 int arg2
= (int) 0 ;
27767 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27768 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27769 wxHelpEvent
*result
;
27771 PyObject
* obj0
= 0 ;
27772 PyObject
* obj1
= 0 ;
27773 PyObject
* obj2
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "type",(char *) "winid",(char *) "pt", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27781 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
27811 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27815 PyObject
* obj0
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
27826 result
= (wxPoint
*) &_result_ref
;
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
27839 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
;
27841 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27842 wxPoint
*arg2
= 0 ;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self",(char *) "pos", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
;
27872 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
27880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
27885 result
= (wxString
*) &_result_ref
;
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27895 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27904 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27907 wxString
*arg2
= 0 ;
27908 bool temp2
= False
;
27909 PyObject
* obj0
= 0 ;
27910 PyObject
* obj1
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "self",(char *) "link", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
27916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27918 arg2
= wxString_in_helper(obj1
);
27919 if (arg2
== NULL
) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 (arg1
)->SetLink((wxString
const &)*arg2
);
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 Py_INCREF(Py_None
); resultobj
= Py_None
;
27944 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27948 PyObject
* obj0
= 0 ;
27949 char *kwnames
[] = {
27950 (char *) "self", NULL
27953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
27954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
27959 result
= (wxString
*) &_result_ref
;
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27969 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27978 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27981 wxString
*arg2
= 0 ;
27982 bool temp2
= False
;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "target", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27992 arg2
= wxString_in_helper(obj1
);
27993 if (arg2
== NULL
) SWIG_fail
;
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 (arg1
)->SetTarget((wxString
const &)*arg2
);
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 Py_INCREF(Py_None
); resultobj
= Py_None
;
28018 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28021 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28023 return Py_BuildValue((char *)"");
28025 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
;
28027 wxWindow
*arg1
= (wxWindow
*) NULL
;
28028 bool arg2
= (bool) True
;
28029 wxContextHelp
*result
;
28030 PyObject
* obj0
= 0 ;
28031 PyObject
* obj1
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "window",(char *) "doNow", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28042 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28060 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28063 PyObject
* obj0
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 wxPyEndAllowThreads(__tstate
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28077 Py_INCREF(Py_None
); resultobj
= Py_None
;
28084 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
;
28086 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28087 wxWindow
*arg2
= (wxWindow
*) NULL
;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self",(char *) "window", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28114 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 char *kwnames
[] = {
28120 (char *) "self", NULL
28123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (bool)(arg1
)->EndContextHelp();
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28139 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28142 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28144 return Py_BuildValue((char *)"");
28146 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxWindow
*arg1
= (wxWindow
*) 0 ;
28149 int arg2
= (int) wxID_CONTEXT_HELP
;
28150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28154 long arg5
= (long) wxBU_AUTODRAW
;
28155 wxContextHelpButton
*result
;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 PyObject
* obj2
= 0 ;
28161 PyObject
* obj3
= 0 ;
28162 PyObject
* obj4
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28171 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28184 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28189 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28207 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28210 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28212 return Py_BuildValue((char *)"");
28214 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
;
28216 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28217 wxHelpProvider
*result
;
28218 PyObject
* obj0
= 0 ;
28219 char *kwnames
[] = {
28220 (char *) "helpProvider", NULL
28223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28239 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxHelpProvider
*result
;
28242 char *kwnames
[] = {
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28261 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
;
28263 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28264 wxWindow
*arg2
= (wxWindow
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self",(char *) "window", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28295 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28298 wxWindow
*arg2
= (wxWindow
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 PyObject
* obj1
= 0 ;
28302 char *kwnames
[] = {
28303 (char *) "self",(char *) "window", NULL
28306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28311 result
= (bool)(arg1
)->ShowHelp(arg2
);
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28323 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28324 PyObject
*resultobj
;
28325 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28326 wxWindow
*arg2
= (wxWindow
*) 0 ;
28327 wxString
*arg3
= 0 ;
28328 bool temp3
= False
;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 PyObject
* obj2
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "window",(char *) "text", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28340 arg3
= wxString_in_helper(obj2
);
28341 if (arg3
== NULL
) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 Py_INCREF(Py_None
); resultobj
= Py_None
;
28366 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28370 wxString
*arg3
= 0 ;
28371 bool temp3
= False
;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 PyObject
* obj2
= 0 ;
28375 char *kwnames
[] = {
28376 (char *) "self",(char *) "id",(char *) "text", NULL
28379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28382 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28386 arg3
= wxString_in_helper(obj2
);
28387 if (arg3
== NULL
) SWIG_fail
;
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 Py_INCREF(Py_None
); resultobj
= Py_None
;
28412 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28415 PyObject
* obj0
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 wxHelpProvider_Destroy(arg1
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 Py_INCREF(Py_None
); resultobj
= Py_None
;
28436 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28439 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28441 return Py_BuildValue((char *)"");
28443 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxSimpleHelpProvider
*result
;
28446 char *kwnames
[] = {
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28465 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28468 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28470 return Py_BuildValue((char *)"");
28472 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxBitmap
*arg1
= 0 ;
28475 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28476 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28477 wxGenericDragImage
*result
;
28478 PyObject
* obj0
= 0 ;
28479 PyObject
* obj1
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "image",(char *) "cursor", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28486 if (arg1
== NULL
) {
28487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28491 if (arg2
== NULL
) {
28492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28509 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
;
28512 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28513 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28514 wxGenericDragImage
*result
;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "image",(char *) "cursor", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28523 if (arg1
== NULL
) {
28524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28528 if (arg2
== NULL
) {
28529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28546 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxString
*arg1
= 0 ;
28549 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28550 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28551 wxGenericDragImage
*result
;
28552 bool temp1
= False
;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 char *kwnames
[] = {
28556 (char *) "str",(char *) "cursor", NULL
28559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28561 arg1
= wxString_in_helper(obj0
);
28562 if (arg1
== NULL
) SWIG_fail
;
28566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28567 if (arg2
== NULL
) {
28568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28593 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxPyTreeCtrl
*arg1
= 0 ;
28596 wxTreeItemId
*arg2
= 0 ;
28597 wxGenericDragImage
*result
;
28598 PyObject
* obj0
= 0 ;
28599 PyObject
* obj1
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "treeCtrl",(char *) "id", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28606 if (arg1
== NULL
) {
28607 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28610 if (arg2
== NULL
) {
28611 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28627 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxPyListCtrl
*arg1
= 0 ;
28631 wxGenericDragImage
*result
;
28632 PyObject
* obj0
= 0 ;
28633 PyObject
* obj1
= 0 ;
28634 char *kwnames
[] = {
28635 (char *) "listCtrl",(char *) "id", NULL
28638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28640 if (arg1
== NULL
) {
28641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28644 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28661 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28662 PyObject
*resultobj
;
28663 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 Py_INCREF(Py_None
); resultobj
= Py_None
;
28685 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28688 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 char *kwnames
[] = {
28692 (char *) "self",(char *) "bitmap", NULL
28695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 (arg1
)->SetBackingBitmap(arg2
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 Py_INCREF(Py_None
); resultobj
= Py_None
;
28712 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28715 wxPoint
*arg2
= 0 ;
28716 wxWindow
*arg3
= (wxWindow
*) 0 ;
28717 bool arg4
= (bool) False
;
28718 wxRect
*arg5
= (wxRect
*) NULL
;
28721 PyObject
* obj0
= 0 ;
28722 PyObject
* obj1
= 0 ;
28723 PyObject
* obj2
= 0 ;
28724 PyObject
* obj3
= 0 ;
28725 PyObject
* obj4
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28736 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28739 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28744 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28760 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28763 wxPoint
*arg2
= 0 ;
28764 wxWindow
*arg3
= (wxWindow
*) 0 ;
28765 wxWindow
*arg4
= (wxWindow
*) 0 ;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 PyObject
* obj2
= 0 ;
28771 PyObject
* obj3
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28782 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28783 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28798 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28802 PyObject
* obj0
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
28808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (bool)(arg1
)->EndDrag();
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28823 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28826 wxPoint
*arg2
= 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self",(char *) "pt", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
28836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28855 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28859 PyObject
* obj0
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
28865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 result
= (bool)(arg1
)->Show();
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28880 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
;
28882 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
28890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (bool)(arg1
)->Hide();
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28905 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28906 PyObject
*resultobj
;
28907 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28908 wxPoint
*arg2
= 0 ;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "self",(char *) "pos", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 wxRect
* resultptr
;
28932 resultptr
= new wxRect((wxRect
&) result
);
28933 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
28941 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28945 wxPoint
*arg3
= 0 ;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 PyObject
* obj2
= 0 ;
28951 char *kwnames
[] = {
28952 (char *) "self",(char *) "dc",(char *) "pos", NULL
28955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28958 if (arg2
== NULL
) {
28959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28979 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28983 wxMemoryDC
*arg3
= 0 ;
28989 PyObject
* obj0
= 0 ;
28990 PyObject
* obj1
= 0 ;
28991 PyObject
* obj2
= 0 ;
28992 PyObject
* obj3
= 0 ;
28993 PyObject
* obj4
= 0 ;
28994 char *kwnames
[] = {
28995 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
28998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29001 if (arg2
== NULL
) {
29002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29004 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29005 if (arg3
== NULL
) {
29006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29010 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29014 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29030 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
;
29032 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29033 wxPoint
*arg2
= 0 ;
29034 wxPoint
*arg3
= 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 PyObject
* obj2
= 0 ;
29043 PyObject
* obj3
= 0 ;
29044 PyObject
* obj4
= 0 ;
29045 char *kwnames
[] = {
29046 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29060 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29064 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29081 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29084 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29086 return Py_BuildValue((char *)"");
29088 static PyMethodDef SwigMethods
[] = {
29089 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29091 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29092 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29093 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29094 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29095 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29096 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29097 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29098 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29099 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29100 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29101 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29102 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29103 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29104 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29105 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29106 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29107 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29108 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29109 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29110 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29111 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29112 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29113 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29114 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29115 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29116 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29117 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29118 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29119 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29120 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29121 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29122 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29123 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29124 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29125 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29126 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29127 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29128 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29129 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29130 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29131 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29132 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29133 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29134 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29135 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29136 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29137 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29138 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29139 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29140 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29141 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29142 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29143 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29144 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29145 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29146 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29147 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29148 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29149 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29150 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29151 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29152 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29153 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29154 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29155 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29156 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29157 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29158 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29159 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29160 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29161 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29162 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29163 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29164 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29165 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29166 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29167 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29168 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29169 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29170 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29171 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29172 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29173 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29174 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29175 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29176 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29177 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29178 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29179 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29180 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29181 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29182 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29183 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29184 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29185 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29186 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29187 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29188 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29189 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29190 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29191 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29192 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29193 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29194 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29195 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29196 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29197 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29198 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29199 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29200 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29201 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29202 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29203 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29204 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29205 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29206 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29207 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29208 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29209 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29210 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29211 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29212 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29213 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29214 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29215 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29216 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29217 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29218 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29219 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29220 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29221 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29222 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29223 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29224 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29225 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29226 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29227 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29228 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29229 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29230 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29231 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29232 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29233 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29234 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29235 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29236 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29237 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29238 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29239 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29240 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29241 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29242 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29243 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29244 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29245 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29246 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29247 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29248 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29249 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29250 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29251 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29252 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29253 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29254 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29255 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29256 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29257 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29258 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29259 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29260 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29261 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29262 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29263 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29264 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29265 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29266 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29267 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29268 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29269 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29270 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29271 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29272 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29273 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29274 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29275 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29276 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29277 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29278 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29279 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29280 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29281 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29282 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29283 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29284 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29285 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29286 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29287 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29288 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29289 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29290 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29291 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29292 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29293 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29294 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29295 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29296 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29297 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29298 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29299 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29300 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29301 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29302 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29303 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29304 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29305 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29306 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29307 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29308 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29309 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29310 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29311 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29312 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29313 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29314 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29315 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29316 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29317 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29318 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29319 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29320 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29321 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29322 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29323 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29324 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29325 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29328 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29329 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29330 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29333 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29335 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29337 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29339 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29341 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29343 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29345 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29346 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29353 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29354 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29356 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29357 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29359 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29360 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29361 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29362 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29363 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29364 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29365 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29366 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29368 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29374 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29375 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29381 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29385 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29387 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29388 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29394 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29398 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29402 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29404 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29408 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29414 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29423 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29425 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29430 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29432 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29437 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29442 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29453 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29472 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29474 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29497 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29517 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29522 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29534 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29586 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29613 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29682 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29694 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29702 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29709 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29725 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
29799 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
29821 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
29826 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
29847 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
29855 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
29860 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
29862 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
29870 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
29872 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
29894 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29896 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
29897 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29899 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
29900 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29902 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
29903 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
29905 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
29906 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29908 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
29909 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29911 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
29912 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
29914 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
29915 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29917 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
29918 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
29920 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
29921 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
29923 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
29924 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
29926 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29927 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29929 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29930 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29932 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29933 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29935 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29936 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29938 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29939 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29941 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
29942 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
29944 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29945 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29947 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29948 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29950 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29953 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
29954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
29956 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
29957 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
29959 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29960 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29962 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29965 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
29966 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
29968 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
29969 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29971 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
29972 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29974 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
29975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
29977 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29978 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29980 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29983 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29984 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29986 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29987 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29989 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29990 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29992 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29993 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29995 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29996 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29998 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29999 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30001 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30002 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30004 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30005 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30007 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30008 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30010 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30011 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30013 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30014 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30016 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30017 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30019 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30020 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30022 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30023 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30025 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30026 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30028 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30029 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30031 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30032 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30034 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30035 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30037 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30040 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30041 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30043 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30044 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30046 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30047 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30049 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30050 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30052 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30053 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30055 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30056 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30058 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30059 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30061 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30062 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30064 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30065 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30067 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30068 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30070 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30071 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30073 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30074 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30076 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30077 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30079 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30080 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30082 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30083 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30085 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30086 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30088 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30089 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30091 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30092 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30094 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30095 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30097 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30098 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30100 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30101 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30103 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30104 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30106 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30107 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30109 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30110 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30112 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30113 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30115 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30116 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30118 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30119 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30121 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30122 return (void *)((wxControl
*) ((wxGauge
*) x
));
30124 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30125 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30127 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30128 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30130 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30131 return (void *)((wxControl
*) ((wxButton
*) x
));
30133 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30134 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30136 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30137 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30139 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30140 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30142 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30143 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30145 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30146 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30148 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30149 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30151 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30152 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30154 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30155 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30157 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30158 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30160 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30161 return (void *)((wxControl
*) ((wxSlider
*) x
));
30163 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30164 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30166 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30167 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30169 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30170 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30172 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30173 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30175 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30176 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30178 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30179 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30181 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30182 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30184 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30185 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30187 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30188 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30190 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30191 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30193 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30194 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30196 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30197 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30199 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30202 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30203 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30205 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30206 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30208 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30209 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30211 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30214 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30215 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30217 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30220 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30223 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30224 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30226 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30227 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30229 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30232 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30235 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30238 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30241 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30244 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30245 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30247 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30250 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30253 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30256 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30259 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30262 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30265 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30268 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30271 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30274 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30277 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30280 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30283 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30286 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30289 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30292 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30295 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30298 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30301 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30304 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30307 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30310 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30313 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30316 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30319 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30320 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30322 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30323 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30325 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30326 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30328 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30329 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30331 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30332 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30334 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30335 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30337 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30338 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30340 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30341 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30343 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30344 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30346 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30347 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30349 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30352 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30353 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30355 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30358 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30361 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30362 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30364 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30365 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30367 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30368 return (void *)((wxObject
*) ((wxSizer
*) x
));
30370 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30371 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30373 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30376 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30379 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30382 static void *_p_wxEventTo_p_wxObject(void *x
) {
30383 return (void *)((wxObject
*) ((wxEvent
*) x
));
30385 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30386 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30388 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30389 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30391 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30392 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30394 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30397 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30400 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30403 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30404 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30406 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30407 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30409 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30410 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30412 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30413 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30415 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30416 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30418 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30419 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30421 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30424 static void *_p_wxControlTo_p_wxObject(void *x
) {
30425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30427 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30430 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30433 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30436 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30439 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30442 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30443 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30445 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30448 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30449 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30451 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30452 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30454 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30457 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30460 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30463 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30464 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30466 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30469 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30472 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30473 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30475 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30478 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30481 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30482 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30484 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30485 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30487 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30490 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30491 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30493 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30494 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30496 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30497 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30499 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30500 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30502 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30503 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30505 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30506 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30508 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30511 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30512 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30514 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30515 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30517 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30518 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30520 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30521 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30523 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30524 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30526 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30529 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30530 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30532 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30533 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30535 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30536 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30538 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30539 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30541 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30542 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30544 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30545 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30547 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30550 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30551 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30553 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30556 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30559 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30562 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30565 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30568 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30571 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30574 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30577 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30578 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30580 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30583 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30586 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30589 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30592 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30593 return (void *)((wxObject
*) ((wxListItem
*) x
));
30595 static void *_p_wxImageTo_p_wxObject(void *x
) {
30596 return (void *)((wxObject
*) ((wxImage
*) x
));
30598 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30599 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30601 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30602 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30604 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30607 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30608 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30610 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30613 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30616 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30619 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30622 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30623 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30625 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30626 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30628 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30631 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30632 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30634 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30637 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30638 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30640 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30643 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30644 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30646 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30647 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30649 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30650 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30652 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30653 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30655 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30656 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30658 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30661 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30662 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30664 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30665 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30667 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30670 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30671 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30673 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30674 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30676 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30677 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30679 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30682 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30683 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30685 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30688 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30691 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30692 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30694 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30695 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30697 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30698 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30700 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30701 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30703 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30704 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30706 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30707 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30709 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30710 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30712 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30713 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30715 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30716 return (void *)((wxWindow
*) ((wxControl
*) x
));
30718 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30719 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30721 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30722 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30724 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30725 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30727 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30728 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30730 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30731 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30733 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30734 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30736 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30737 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30739 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30740 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30742 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30743 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30745 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30746 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30748 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30749 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30751 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30752 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30754 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30755 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30757 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30758 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30760 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
30761 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30763 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
30764 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30766 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
30767 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30769 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
30770 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30772 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
30773 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
30775 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
30776 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
30778 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
30779 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
30781 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
30782 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
30784 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
30785 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
30787 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
30788 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
30790 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
30791 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
30793 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
30794 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30796 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
30797 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30799 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
30800 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
30802 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
30803 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30805 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
30806 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30808 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
30809 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30811 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
30812 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
30814 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
30815 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30817 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
30818 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30820 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
30821 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30823 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
30824 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30826 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
30827 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30829 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
30830 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
30832 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
30833 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30835 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
30836 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30838 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
30839 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30841 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
30842 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
30844 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
30845 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30847 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
30848 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30850 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
30851 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30853 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
30854 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
30856 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
30857 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
30859 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
30860 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
30862 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
30863 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
30865 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30866 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}};
30867 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}};
30868 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30869 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30870 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}};
30871 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30872 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30873 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30874 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}};
30875 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30876 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
30877 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30878 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}};
30879 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30880 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30881 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
30882 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30883 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30884 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30885 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
30886 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30887 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30888 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30889 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30890 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30891 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30892 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30893 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30894 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30895 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30896 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}};
30897 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30898 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30899 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30900 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30901 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30902 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30903 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30904 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30905 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}};
30906 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30907 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
30908 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30909 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}};
30910 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30911 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}};
30912 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
30913 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30914 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30915 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30916 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30917 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30918 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30919 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30920 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30921 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30922 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30923 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30924 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30925 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30926 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30927 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
30928 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30929 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30930 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30931 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30932 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30933 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}};
30934 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
30935 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
30936 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}};
30937 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
30938 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
30939 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
30940 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
30941 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}};
30942 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
30943 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_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}};
30944 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
30945 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
30946 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
30947 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
30948 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
30950 static swig_type_info
*swig_types_initial
[] = {
30951 _swigt__p_wxTextUrlEvent
,
30952 _swigt__p_wxBookCtrlEvent
,
30954 _swigt__p_wxCheckBox
,
30955 _swigt__p_wxPyTreeCtrl
,
30957 _swigt__p_wxGenericDirCtrl
,
30959 _swigt__p_wxPyTreeItemData
,
30960 _swigt__p_wxItemContainer
,
30961 _swigt__p_wxDirFilterListCtrl
,
30962 _swigt__p_wxPyListCtrl
,
30963 _swigt__p_wxStaticLine
,
30964 _swigt__p_wxControl
,
30965 _swigt__p_wxPyControl
,
30967 _swigt__p_wxToolBarBase
,
30969 _swigt__p_wxToggleButton
,
30970 _swigt__p_wxRadioButton
,
30971 _swigt__p_wxChoice
,
30972 _swigt__p_wxMemoryDC
,
30973 _swigt__p_wxListItemAttr
,
30978 _swigt__p_wxListView
,
30980 _swigt__p_wxTextCtrl
,
30981 _swigt__p_wxNotebook
,
30982 _swigt__p_wxNotifyEvent
,
30983 _swigt__p_wxArrayString
,
30984 _swigt__p_wxListbook
,
30985 _swigt__p_wxStaticBitmap
,
30986 _swigt__p_wxSlider
,
30987 _swigt__p_wxStaticBox
,
30988 _swigt__p_wxArrayInt
,
30989 _swigt__p_wxContextHelp
,
30991 _swigt__p_wxEvtHandler
,
30992 _swigt__p_wxListEvent
,
30993 _swigt__p_wxListBox
,
30994 _swigt__p_wxCheckListBox
,
30995 _swigt__p_wxBookCtrl
,
30996 _swigt__p_wxSpinButton
,
30997 _swigt__p_wxButton
,
30998 _swigt__p_wxBitmapButton
,
31000 _swigt__p_wxContextHelpButton
,
31001 _swigt__p_wxRadioBox
,
31002 _swigt__p_wxScrollBar
,
31004 _swigt__p_wxTreeItemId
,
31005 _swigt__p_wxComboBox
,
31006 _swigt__p_wxHelpEvent
,
31007 _swigt__p_wxListItem
,
31008 _swigt__p_wxNotebookSizer
,
31009 _swigt__p_wxSpinEvent
,
31010 _swigt__p_wxGenericDragImage
,
31011 _swigt__p_wxSpinCtrl
,
31012 _swigt__p_wxImageList
,
31013 _swigt__p_wxHelpProvider
,
31014 _swigt__p_wxTextAttr
,
31015 _swigt__p_wxSimpleHelpProvider
,
31017 _swigt__p_wxListbookEvent
,
31018 _swigt__p_wxNotebookEvent
,
31019 _swigt__p_wxObject
,
31020 _swigt__p_wxCursor
,
31021 _swigt__p_wxKeyEvent
,
31022 _swigt__p_wxWindow
,
31023 _swigt__p_wxString
,
31024 _swigt__p_wxBitmap
,
31025 _swigt__p_wxTreeEvent
,
31026 _swigt__p_wxMouseEvent
,
31027 _swigt__p_wxCommandEvent
,
31028 _swigt__p_wxStaticText
,
31029 _swigt__p_wxControlWithItems
,
31030 _swigt__p_wxToolBarToolBase
,
31031 _swigt__p_wxColour
,
31032 _swigt__p_wxToolBar
,
31033 _swigt__p_wxBookCtrlSizer
,
31034 _swigt__p_wxValidator
,
31039 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31041 static swig_const_info swig_const_table
[] = {
31051 SWIGEXPORT(void) SWIG_init(void) {
31052 static PyObject
*SWIG_globals
= 0;
31053 static int typeinit
= 0;
31056 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31057 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31058 d
= PyModule_GetDict(m
);
31061 for (i
= 0; swig_types_initial
[i
]; i
++) {
31062 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31066 SWIG_InstallConstants(d
,swig_const_table
);
31068 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31069 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31070 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31071 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31072 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31073 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31074 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31075 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31076 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31077 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31078 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31079 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31080 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31081 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31082 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31083 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31084 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31085 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31086 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31087 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31088 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31089 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31090 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31091 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31092 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31093 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31094 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31095 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31096 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31097 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31098 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31099 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31100 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31101 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31102 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31103 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31104 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31105 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31106 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31107 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31108 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31109 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31110 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31111 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31112 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31113 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31114 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31115 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31116 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31117 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31118 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31119 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31120 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31121 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31122 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31123 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31124 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31125 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31126 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31127 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31128 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31129 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31130 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31131 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31132 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31133 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31134 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31135 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31136 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31137 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31138 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31139 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31140 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31141 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31142 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31143 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31144 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31145 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31146 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31147 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31148 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31149 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31150 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31151 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31152 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31153 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31154 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31155 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31156 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31157 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31158 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31159 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31160 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31161 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31162 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31163 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31164 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31165 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31166 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31167 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31168 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31169 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31170 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31171 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31173 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31174 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31175 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31176 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31177 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31178 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31179 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31180 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31181 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31182 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31183 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31184 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31185 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31186 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31187 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31188 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31189 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31190 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31191 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31192 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31193 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31194 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31195 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31196 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31197 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31198 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31199 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31200 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31201 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31202 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31203 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31204 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31205 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31206 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31207 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31208 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31209 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31210 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31211 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31212 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31213 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31214 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31215 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31216 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31217 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31218 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31219 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31220 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31221 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31222 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31223 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31224 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31225 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31226 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31227 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31228 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31229 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31230 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31231 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31232 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31233 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31234 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31235 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31236 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31237 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31238 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31239 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31240 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31241 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31242 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31243 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31244 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31245 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31246 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31247 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31248 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31249 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31250 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31251 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31252 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31253 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31254 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31255 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31256 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31257 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31258 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31259 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31260 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31261 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31262 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31263 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31267 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31268 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31269 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31270 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31271 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31273 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31274 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31278 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31280 // Map renamed classes back to their common name for OOR
31281 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31283 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31284 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31285 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31286 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31287 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31288 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31289 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31290 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31291 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31292 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31293 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31294 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31295 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31296 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31297 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31298 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31299 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31300 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31301 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31302 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31303 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31304 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31305 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31306 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31307 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31308 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31309 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31310 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31311 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31312 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31313 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31314 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31315 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31316 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31317 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31318 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31319 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31320 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31321 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31322 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31323 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31324 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31328 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31329 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31340 // Map renamed classes back to their common name for OOR
31341 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31342 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31344 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31345 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31346 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31347 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31348 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31349 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31350 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31351 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31352 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31353 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31355 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");