1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
374 const wxArrayString wxPyEmptyStringArray
;
376 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
379 SWIG_PyObj_AsInt(PyObject
*obj
)
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
387 SWIG_PyObj_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
400 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
401 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
402 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
403 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
404 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
405 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
407 #include <wx/checklst.h>
410 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
411 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
413 wxPyClientData
* data
= new wxPyClientData(clientData
);
414 self
->Insert(item
, pos
, data
);
416 self
->Insert(item
, pos
);
418 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
420 self
->GetSelections(lst
);
421 PyObject
*tup
= PyTuple_New(lst
.GetCount());
422 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
423 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
427 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
429 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
430 self
->GetItem(item
)->SetTextColour(c
);
433 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
435 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
436 self
->GetItem(item
)->SetBackgroundColour(c
);
439 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
441 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
442 self
->GetItem(item
)->SetFont(f
);
445 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
447 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
453 } else if (target
== Py_None
) {
457 if (!PyTuple_Check(target
)) {
459 target
= PyTuple_New(1);
460 PyTuple_SetItem(target
, 0, o2
);
463 PyTuple_SetItem(o3
, 0, o
);
466 target
= PySequence_Concat(o2
, o3
);
473 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
474 self
->AppendText(text
);
476 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
477 return self
->GetValue().Mid(from
, to
- from
);
479 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
480 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
481 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
483 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
485 #include <wx/slider.h>
488 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
489 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
491 #if defined(__WXMAC__) || defined(__WXX11__)
492 // implement dummy classes and such for wxMac
494 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
496 class wxToggleButton
: public wxControl
499 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
500 const wxPoint
&, const wxSize
&, long,
501 const wxValidator
&, const wxString
&)
502 { wxPyRaiseNotImplemented(); }
505 { wxPyRaiseNotImplemented(); }
509 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
511 SWIGSTATIC(PyObject
* )
512 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
514 return (value
> (unsigned long)(LONG_MAX
)) ?
515 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
519 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
520 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
522 Py_INCREF(udata
->m_obj
);
529 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
530 self
->SetClientData(new wxPyUserData(clientData
));
532 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
533 wxPyUserData
* udata
= NULL
;
534 if (clientData
&& clientData
!= Py_None
)
535 udata
= new wxPyUserData(clientData
);
536 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
537 shortHelp
, longHelp
, udata
);
539 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
540 wxPyUserData
* udata
= NULL
;
541 if (clientData
&& clientData
!= Py_None
)
542 udata
= new wxPyUserData(clientData
);
543 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
544 shortHelp
, longHelp
, udata
);
546 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
547 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
549 Py_INCREF(udata
->m_obj
);
556 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
557 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
560 #include <wx/listctrl.h>
563 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
564 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
565 // Python aware sorting function for wxPyListCtrl
566 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
568 PyObject
* func
= (PyObject
*)funcPtr
;
569 wxPyBeginBlockThreads();
571 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
572 PyObject
* result
= PyEval_CallObject(func
, args
);
575 retval
= PyInt_AsLong(result
);
579 wxPyEndBlockThreads();
583 // C++ Version of a Python aware class
584 class wxPyListCtrl
: public wxListCtrl
{
585 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
587 wxPyListCtrl() : wxListCtrl() {}
588 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
592 const wxValidator
& validator
,
593 const wxString
& name
) :
594 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
596 bool Create(wxWindow
* parent
, wxWindowID id
,
600 const wxValidator
& validator
,
601 const wxString
& name
) {
602 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
605 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
606 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
607 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
612 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
614 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
615 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
616 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
618 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
620 item
.SetMask( wxLIST_MASK_STATE
|
628 if (self
->GetColumn(col
, item
))
629 return new wxListItem(item
);
633 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
634 wxListItem
* info
= new wxListItem
;
635 info
->m_itemId
= itemId
;
637 info
->m_mask
= 0xFFFF;
638 self
->GetItem(*info
);
641 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
643 self
->GetItemPosition(item
, pos
);
646 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
648 self
->GetItemRect(item
, rect
, code
);
651 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
652 if (!PyCallable_Check(func
))
654 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
656 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
664 #include <wx/treectrl.h>
665 #include "wx/wxPython/pytree.h"
667 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
668 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
669 if (!other
) return False
;
670 return *self
== *other
;
672 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
673 if (!other
) return True
;
674 return *self
!= *other
;
676 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
677 // C++ version of Python aware wxTreeCtrl
678 class wxPyTreeCtrl
: public wxTreeCtrl
{
679 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
681 wxPyTreeCtrl() : wxTreeCtrl() {}
682 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
686 const wxValidator
& validator
,
687 const wxString
& name
) :
688 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
690 bool Create(wxWindow
*parent
, wxWindowID id
,
694 const wxValidator
& validator
,
695 const wxString
& name
) {
696 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
700 int OnCompareItems(const wxTreeItemId
& item1
,
701 const wxTreeItemId
& item2
) {
704 wxPyBeginBlockThreads();
705 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
706 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
707 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
708 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
712 wxPyEndBlockThreads();
714 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
720 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
724 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
727 SWIGSTATIC(unsigned int)
728 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
730 return numeric_cast(unsigned int,
731 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
734 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
735 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
737 data
= new wxPyTreeItemData();
738 data
->SetId(item
); // set the id
739 self
->SetItemData(item
, data
);
743 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
744 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
746 data
= new wxPyTreeItemData();
747 data
->SetId(item
); // set the id
748 self
->SetItemData(item
, data
);
750 return data
->GetData();
752 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
753 data
->SetId(item
); // set the id
754 self
->SetItemData(item
, data
);
756 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
757 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
759 data
= new wxPyTreeItemData(obj
);
760 data
->SetId(item
); // set the id
761 self
->SetItemData(item
, data
);
765 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
766 wxPyBeginBlockThreads();
767 PyObject
* rval
= PyList_New(0);
768 wxArrayTreeItemIds array
;
770 num
= self
->GetSelections(array
);
771 for (x
=0; x
< num
; x
++) {
772 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
773 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
774 PyList_Append(rval
, item
);
776 wxPyEndBlockThreads();
779 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
781 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
782 wxPyBeginBlockThreads();
783 PyObject
* tup
= PyTuple_New(2);
784 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
785 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
786 wxPyEndBlockThreads();
789 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
790 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
791 wxPyBeginBlockThreads();
792 PyObject
* tup
= PyTuple_New(2);
793 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
794 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
795 wxPyEndBlockThreads();
798 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
800 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
801 wxPyBeginBlockThreads();
802 wxRect
* r
= new wxRect(rect
);
803 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
804 wxPyEndBlockThreads();
810 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
811 // C++ version of Python aware wxControl
812 class wxPyControl
: public wxControl
814 DECLARE_DYNAMIC_CLASS(wxPyControl
)
816 wxPyControl() : wxControl() {}
817 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
818 const wxPoint
& pos
= wxDefaultPosition
,
819 const wxSize
& size
= wxDefaultSize
,
821 const wxValidator
& validator
=wxDefaultValidator
,
822 const wxString
& name
= wxPyControlNameStr
)
823 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
838 DEC_PYCALLBACK__(InitDialog
);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
841 DEC_PYCALLBACK_BOOL_(Validate
);
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
853 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
855 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
856 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
857 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
858 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
860 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
861 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
864 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
865 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
867 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
868 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
869 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
870 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
872 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
873 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
874 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
876 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
877 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
882 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
884 #include <wx/generic/dragimgg.h>
889 static int _wrap_ButtonNameStr_set(PyObject
*) {
890 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
895 static PyObject
*_wrap_ButtonNameStr_get() {
900 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
902 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
909 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 wxWindow
*arg1
= (wxWindow
*) 0 ;
914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
918 long arg6
= (long) 0 ;
919 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
920 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
921 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
928 PyObject
* obj0
= 0 ;
929 PyObject
* obj1
= 0 ;
930 PyObject
* obj2
= 0 ;
931 PyObject
* obj3
= 0 ;
932 PyObject
* obj4
= 0 ;
933 PyObject
* obj5
= 0 ;
934 PyObject
* obj6
= 0 ;
935 PyObject
* obj7
= 0 ;
937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
944 if (PyErr_Occurred()) SWIG_fail
;
947 arg3
= wxString_in_helper(obj2
);
948 if (arg3
== NULL
) SWIG_fail
;
954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
965 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
966 if (PyErr_Occurred()) SWIG_fail
;
970 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
977 arg8
= wxString_in_helper(obj7
);
978 if (arg8
== NULL
) SWIG_fail
;
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= wxPyMake_wxObject(result
);
1014 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
*resultobj
;
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 result
= (wxButton
*)new wxButton();
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= wxPyMake_wxObject(result
);
1038 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
*resultobj
;
1040 wxButton
*arg1
= (wxButton
*) 0 ;
1041 wxWindow
*arg2
= (wxWindow
*) 0 ;
1043 wxString
*arg4
= 0 ;
1044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1048 long arg7
= (long) 0 ;
1049 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1050 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1051 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1052 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1054 bool temp4
= False
;
1057 bool temp9
= False
;
1058 PyObject
* obj0
= 0 ;
1059 PyObject
* obj1
= 0 ;
1060 PyObject
* obj2
= 0 ;
1061 PyObject
* obj3
= 0 ;
1062 PyObject
* obj4
= 0 ;
1063 PyObject
* obj5
= 0 ;
1064 PyObject
* obj6
= 0 ;
1065 PyObject
* obj7
= 0 ;
1066 PyObject
* obj8
= 0 ;
1068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1075 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1079 arg4
= wxString_in_helper(obj3
);
1080 if (arg4
== NULL
) SWIG_fail
;
1086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1097 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1102 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1109 arg9
= wxString_in_helper(obj8
);
1110 if (arg9
== NULL
) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1144 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxButton
*arg1
= (wxButton
*) 0 ;
1147 PyObject
* obj0
= 0 ;
1149 (char *) "self", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 (arg1
)->SetDefault();
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 Py_INCREF(Py_None
); resultobj
= Py_None
;
1168 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 result
= wxButton::GetDefaultSize();
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1185 resultptr
= new wxSize((wxSize
&) result
);
1186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1194 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1197 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1199 return Py_BuildValue((char *)"");
1201 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1203 wxWindow
*arg1
= (wxWindow
*) 0 ;
1205 wxBitmap
*arg3
= 0 ;
1206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1210 long arg6
= (long) wxBU_AUTODRAW
;
1211 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1212 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1213 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1215 wxBitmapButton
*result
;
1218 bool temp8
= False
;
1219 PyObject
* obj0
= 0 ;
1220 PyObject
* obj1
= 0 ;
1221 PyObject
* obj2
= 0 ;
1222 PyObject
* obj3
= 0 ;
1223 PyObject
* obj4
= 0 ;
1224 PyObject
* obj5
= 0 ;
1225 PyObject
* obj6
= 0 ;
1226 PyObject
* obj7
= 0 ;
1228 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1237 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1255 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1260 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1267 arg8
= wxString_in_helper(obj7
);
1268 if (arg8
== NULL
) SWIG_fail
;
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1280 resultobj
= wxPyMake_wxObject(result
);
1296 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
*resultobj
;
1298 wxBitmapButton
*result
;
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 result
= (wxBitmapButton
*)new wxBitmapButton();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1312 resultobj
= wxPyMake_wxObject(result
);
1320 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1323 wxWindow
*arg2
= (wxWindow
*) 0 ;
1325 wxBitmap
*arg4
= 0 ;
1326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1328 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1329 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1330 long arg7
= (long) wxBU_AUTODRAW
;
1331 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1332 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1333 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1334 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1338 bool temp9
= False
;
1339 PyObject
* obj0
= 0 ;
1340 PyObject
* obj1
= 0 ;
1341 PyObject
* obj2
= 0 ;
1342 PyObject
* obj3
= 0 ;
1343 PyObject
* obj4
= 0 ;
1344 PyObject
* obj5
= 0 ;
1345 PyObject
* obj6
= 0 ;
1346 PyObject
* obj7
= 0 ;
1347 PyObject
* obj8
= 0 ;
1349 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1366 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1372 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1377 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1378 if (PyErr_Occurred()) SWIG_fail
;
1382 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1389 arg9
= wxString_in_helper(obj8
);
1390 if (arg9
== NULL
) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1416 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
*resultobj
;
1418 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1420 PyObject
* obj0
= 0 ;
1422 (char *) "self", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 result
= (arg1
)->GetBitmapLabel();
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) SWIG_fail
;
1435 wxBitmap
* resultptr
;
1436 resultptr
= new wxBitmap((wxBitmap
&) result
);
1437 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1445 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1449 PyObject
* obj0
= 0 ;
1451 (char *) "self", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 result
= (arg1
)->GetBitmapDisabled();
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) SWIG_fail
;
1464 wxBitmap
* resultptr
;
1465 resultptr
= new wxBitmap((wxBitmap
&) result
);
1466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1474 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (arg1
)->GetBitmapFocus();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 wxBitmap
* resultptr
;
1494 resultptr
= new wxBitmap((wxBitmap
&) result
);
1495 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1503 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1507 PyObject
* obj0
= 0 ;
1509 (char *) "self", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (arg1
)->GetBitmapSelected();
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 wxBitmap
* resultptr
;
1523 resultptr
= new wxBitmap((wxBitmap
&) result
);
1524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1532 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1535 wxBitmap
*arg2
= 0 ;
1536 PyObject
* obj0
= 0 ;
1537 PyObject
* obj1
= 0 ;
1539 (char *) "self",(char *) "bitmap", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1555 Py_INCREF(Py_None
); resultobj
= Py_None
;
1562 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1565 wxBitmap
*arg2
= 0 ;
1566 PyObject
* obj0
= 0 ;
1567 PyObject
* obj1
= 0 ;
1569 (char *) "self",(char *) "bitmap", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1585 Py_INCREF(Py_None
); resultobj
= Py_None
;
1592 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1595 wxBitmap
*arg2
= 0 ;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1599 (char *) "self",(char *) "bitmap", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1615 Py_INCREF(Py_None
); resultobj
= Py_None
;
1622 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1625 wxBitmap
*arg2
= 0 ;
1626 PyObject
* obj0
= 0 ;
1627 PyObject
* obj1
= 0 ;
1629 (char *) "self",(char *) "bitmap", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 Py_INCREF(Py_None
); resultobj
= Py_None
;
1652 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1659 PyObject
* obj2
= 0 ;
1661 (char *) "self",(char *) "x",(char *) "y", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1671 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 (arg1
)->SetMargins(arg2
,arg3
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 Py_INCREF(Py_None
); resultobj
= Py_None
;
1688 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1692 PyObject
* obj0
= 0 ;
1694 (char *) "self", NULL
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= SWIG_PyObj_FromInt((int)result
);
1713 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1719 (char *) "self", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= SWIG_PyObj_FromInt((int)result
);
1738 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1741 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1743 return Py_BuildValue((char *)"");
1745 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1746 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1751 static PyObject
*_wrap_CheckBoxNameStr_get() {
1756 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1758 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1765 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxWindow
*arg1
= (wxWindow
*) 0 ;
1769 wxString
*arg3
= 0 ;
1770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1774 long arg6
= (long) 0 ;
1775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1777 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1780 bool temp3
= False
;
1783 bool temp8
= False
;
1784 PyObject
* obj0
= 0 ;
1785 PyObject
* obj1
= 0 ;
1786 PyObject
* obj2
= 0 ;
1787 PyObject
* obj3
= 0 ;
1788 PyObject
* obj4
= 0 ;
1789 PyObject
* obj5
= 0 ;
1790 PyObject
* obj6
= 0 ;
1791 PyObject
* obj7
= 0 ;
1793 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1803 arg3
= wxString_in_helper(obj2
);
1804 if (arg3
== NULL
) SWIG_fail
;
1810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1821 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1826 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1833 arg8
= wxString_in_helper(obj7
);
1834 if (arg8
== NULL
) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1868 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (wxCheckBox
*)new wxCheckBox();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1890 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1893 wxWindow
*arg2
= (wxWindow
*) 0 ;
1895 wxString
*arg4
= 0 ;
1896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1900 long arg7
= (long) 0 ;
1901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1903 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1906 bool temp4
= False
;
1909 bool temp9
= False
;
1910 PyObject
* obj0
= 0 ;
1911 PyObject
* obj1
= 0 ;
1912 PyObject
* obj2
= 0 ;
1913 PyObject
* obj3
= 0 ;
1914 PyObject
* obj4
= 0 ;
1915 PyObject
* obj5
= 0 ;
1916 PyObject
* obj6
= 0 ;
1917 PyObject
* obj7
= 0 ;
1918 PyObject
* obj8
= 0 ;
1920 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1927 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1931 arg4
= wxString_in_helper(obj3
);
1932 if (arg4
== NULL
) SWIG_fail
;
1938 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1944 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1949 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1954 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1961 arg9
= wxString_in_helper(obj8
);
1962 if (arg9
== NULL
) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1996 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2000 PyObject
* obj0
= 0 ;
2002 (char *) "self", NULL
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (bool)(arg1
)->GetValue();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2021 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2025 PyObject
* obj0
= 0 ;
2027 (char *) "self", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (bool)(arg1
)->IsChecked();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2046 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2053 (char *) "self",(char *) "state", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2059 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->SetValue(arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2080 PyObject
* obj0
= 0 ;
2082 (char *) "self", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 resultobj
= SWIG_PyObj_FromInt((int)result
);
2101 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "state", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2124 Py_INCREF(Py_None
); resultobj
= Py_None
;
2131 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "self", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2156 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2160 PyObject
* obj0
= 0 ;
2162 (char *) "self", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2184 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2186 return Py_BuildValue((char *)"");
2188 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2189 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2194 static PyObject
*_wrap_ChoiceNameStr_get() {
2199 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2201 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2208 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2210 wxWindow
*arg1
= (wxWindow
*) 0 ;
2212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2216 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2217 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2218 long arg6
= (long) 0 ;
2219 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2220 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2221 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2226 bool temp5
= False
;
2227 bool temp8
= False
;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2230 PyObject
* obj2
= 0 ;
2231 PyObject
* obj3
= 0 ;
2232 PyObject
* obj4
= 0 ;
2233 PyObject
* obj5
= 0 ;
2234 PyObject
* obj6
= 0 ;
2235 PyObject
* obj7
= 0 ;
2237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2249 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2255 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2260 if (! PySequence_Check(obj4
)) {
2261 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2264 arg5
= new wxArrayString
;
2266 int i
, len
=PySequence_Length(obj4
);
2267 for (i
=0; i
<len
; i
++) {
2268 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2270 PyObject
* str
= PyObject_Unicode(item
);
2272 PyObject
* str
= PyObject_Str(item
);
2274 arg5
->Add(Py2wxString(str
));
2282 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2287 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2294 arg8
= wxString_in_helper(obj7
);
2295 if (arg8
== NULL
) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2308 if (temp5
) delete arg5
;
2317 if (temp5
) delete arg5
;
2327 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (wxChoice
*)new wxChoice();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2349 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxChoice
*arg1
= (wxChoice
*) 0 ;
2352 wxWindow
*arg2
= (wxWindow
*) 0 ;
2354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2358 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2359 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2360 long arg7
= (long) 0 ;
2361 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2362 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2363 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2364 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2368 bool temp6
= False
;
2369 bool temp9
= False
;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2372 PyObject
* obj2
= 0 ;
2373 PyObject
* obj3
= 0 ;
2374 PyObject
* obj4
= 0 ;
2375 PyObject
* obj5
= 0 ;
2376 PyObject
* obj6
= 0 ;
2377 PyObject
* obj7
= 0 ;
2378 PyObject
* obj8
= 0 ;
2380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2387 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2404 if (! PySequence_Check(obj5
)) {
2405 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2408 arg6
= new wxArrayString
;
2410 int i
, len
=PySequence_Length(obj5
);
2411 for (i
=0; i
<len
; i
++) {
2412 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2414 PyObject
* str
= PyObject_Unicode(item
);
2416 PyObject
* str
= PyObject_Str(item
);
2418 arg6
->Add(Py2wxString(str
));
2426 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2431 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2438 arg9
= wxString_in_helper(obj8
);
2439 if (arg9
== NULL
) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2452 if (temp6
) delete arg6
;
2461 if (temp6
) delete arg6
;
2471 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxChoice
*arg1
= (wxChoice
*) 0 ;
2475 PyObject
* obj0
= 0 ;
2476 PyObject
* obj1
= 0 ;
2478 (char *) "self",(char *) "n", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2484 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 (arg1
)->SetSelection(arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxChoice
*arg1
= (wxChoice
*) 0 ;
2504 wxString
*arg2
= 0 ;
2505 bool temp2
= False
;
2506 PyObject
* obj0
= 0 ;
2507 PyObject
* obj1
= 0 ;
2509 (char *) "self",(char *) "string", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2515 arg2
= wxString_in_helper(obj1
);
2516 if (arg2
== NULL
) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2526 Py_INCREF(Py_None
); resultobj
= Py_None
;
2541 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 wxChoice
*arg1
= (wxChoice
*) 0 ;
2545 wxString
*arg3
= 0 ;
2546 bool temp3
= False
;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2549 PyObject
* obj2
= 0 ;
2551 (char *) "self",(char *) "n",(char *) "string", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2561 arg3
= wxString_in_helper(obj2
);
2562 if (arg3
== NULL
) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2587 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2590 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2592 return Py_BuildValue((char *)"");
2594 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2595 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2600 static PyObject
*_wrap_ComboBoxNameStr_get() {
2605 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2607 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2614 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxWindow
*arg1
= (wxWindow
*) 0 ;
2618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2624 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2625 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2626 long arg7
= (long) 0 ;
2627 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2628 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2629 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2630 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2632 bool temp3
= False
;
2635 bool temp6
= False
;
2636 bool temp9
= False
;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2639 PyObject
* obj2
= 0 ;
2640 PyObject
* obj3
= 0 ;
2641 PyObject
* obj4
= 0 ;
2642 PyObject
* obj5
= 0 ;
2643 PyObject
* obj6
= 0 ;
2644 PyObject
* obj7
= 0 ;
2645 PyObject
* obj8
= 0 ;
2647 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2658 arg3
= wxString_in_helper(obj2
);
2659 if (arg3
== NULL
) SWIG_fail
;
2666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2677 if (! PySequence_Check(obj5
)) {
2678 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2681 arg6
= new wxArrayString
;
2683 int i
, len
=PySequence_Length(obj5
);
2684 for (i
=0; i
<len
; i
++) {
2685 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2687 PyObject
* str
= PyObject_Unicode(item
);
2689 PyObject
* str
= PyObject_Str(item
);
2691 arg6
->Add(Py2wxString(str
));
2699 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2704 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2711 arg9
= wxString_in_helper(obj8
);
2712 if (arg9
== NULL
) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 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
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2729 if (temp6
) delete arg6
;
2742 if (temp6
) delete arg6
;
2752 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (wxComboBox
*)new wxComboBox();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2774 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2777 wxWindow
*arg2
= (wxWindow
*) 0 ;
2779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2781 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2782 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2783 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2784 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2785 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2786 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2787 long arg8
= (long) 0 ;
2788 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2789 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2790 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2791 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2793 bool temp4
= False
;
2796 bool temp7
= False
;
2797 bool temp10
= False
;
2798 PyObject
* obj0
= 0 ;
2799 PyObject
* obj1
= 0 ;
2800 PyObject
* obj2
= 0 ;
2801 PyObject
* obj3
= 0 ;
2802 PyObject
* obj4
= 0 ;
2803 PyObject
* obj5
= 0 ;
2804 PyObject
* obj6
= 0 ;
2805 PyObject
* obj7
= 0 ;
2806 PyObject
* obj8
= 0 ;
2807 PyObject
* obj9
= 0 ;
2809 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2816 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2821 arg4
= wxString_in_helper(obj3
);
2822 if (arg4
== NULL
) SWIG_fail
;
2829 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2835 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2840 if (! PySequence_Check(obj6
)) {
2841 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2844 arg7
= new wxArrayString
;
2846 int i
, len
=PySequence_Length(obj6
);
2847 for (i
=0; i
<len
; i
++) {
2848 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2850 PyObject
* str
= PyObject_Unicode(item
);
2852 PyObject
* str
= PyObject_Str(item
);
2854 arg7
->Add(Py2wxString(str
));
2862 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2867 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2874 arg10
= wxString_in_helper(obj9
);
2875 if (arg10
== NULL
) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 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
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2892 if (temp7
) delete arg7
;
2905 if (temp7
) delete arg7
;
2915 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "self", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= ((wxComboBox
const *)arg1
)->GetValue();
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2946 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2949 wxString
*arg2
= 0 ;
2950 bool temp2
= False
;
2951 PyObject
* obj0
= 0 ;
2952 PyObject
* obj1
= 0 ;
2954 (char *) "self",(char *) "value", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2960 arg2
= wxString_in_helper(obj1
);
2961 if (arg2
== NULL
) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 (arg1
)->SetValue((wxString
const &)*arg2
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2971 Py_INCREF(Py_None
); resultobj
= Py_None
;
2986 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2989 PyObject
* obj0
= 0 ;
2991 (char *) "self", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "self", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 Py_INCREF(Py_None
); resultobj
= Py_None
;
3034 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3039 (char *) "self", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3058 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "pos", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3071 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 (arg1
)->SetInsertionPoint(arg2
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 Py_INCREF(Py_None
); resultobj
= Py_None
;
3088 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3092 PyObject
* obj0
= 0 ;
3094 (char *) "self", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= SWIG_PyObj_FromLong((long)result
);
3113 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
*resultobj
;
3115 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3117 PyObject
* obj0
= 0 ;
3119 (char *) "self", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= SWIG_PyObj_FromLong((long)result
);
3138 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3143 wxString
*arg4
= 0 ;
3144 bool temp4
= False
;
3145 PyObject
* obj0
= 0 ;
3146 PyObject
* obj1
= 0 ;
3147 PyObject
* obj2
= 0 ;
3148 PyObject
* obj3
= 0 ;
3150 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3156 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 arg4
= wxString_in_helper(obj3
);
3165 if (arg4
== NULL
) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3195 PyObject
* obj1
= 0 ;
3197 (char *) "self",(char *) "n", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3203 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 (arg1
)->SetSelection(arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3213 Py_INCREF(Py_None
); resultobj
= Py_None
;
3220 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3227 PyObject
* obj2
= 0 ;
3229 (char *) "self",(char *) "from",(char *) "to", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3235 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3239 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 (arg1
)->SetSelection(arg2
,arg3
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 Py_INCREF(Py_None
); resultobj
= Py_None
;
3256 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3263 (char *) "self",(char *) "editable", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3269 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetEditable(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 (arg1
)->SetInsertionPointEnd();
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3317 PyObject
* obj2
= 0 ;
3319 (char *) "self",(char *) "from",(char *) "to", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3325 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3329 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 (arg1
)->Remove(arg2
,arg3
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3351 return Py_BuildValue((char *)"");
3353 static int _wrap_GaugeNameStr_set(PyObject
*) {
3354 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3359 static PyObject
*_wrap_GaugeNameStr_get() {
3364 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3366 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3373 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 wxWindow
*arg1
= (wxWindow
*) 0 ;
3378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3382 long arg6
= (long) wxGA_HORIZONTAL
;
3383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3385 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3390 bool temp8
= False
;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3393 PyObject
* obj2
= 0 ;
3394 PyObject
* obj3
= 0 ;
3395 PyObject
* obj4
= 0 ;
3396 PyObject
* obj5
= 0 ;
3397 PyObject
* obj6
= 0 ;
3398 PyObject
* obj7
= 0 ;
3400 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3427 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3432 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3439 arg8
= wxString_in_helper(obj7
);
3440 if (arg8
== NULL
) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3466 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= (wxGauge
*)new wxGauge();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3488 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxGauge
*arg1
= (wxGauge
*) 0 ;
3491 wxWindow
*arg2
= (wxWindow
*) 0 ;
3494 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3495 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3496 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3497 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3498 long arg7
= (long) wxGA_HORIZONTAL
;
3499 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3500 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3501 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3502 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3506 bool temp9
= False
;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3509 PyObject
* obj2
= 0 ;
3510 PyObject
* obj3
= 0 ;
3511 PyObject
* obj4
= 0 ;
3512 PyObject
* obj5
= 0 ;
3513 PyObject
* obj6
= 0 ;
3514 PyObject
* obj7
= 0 ;
3515 PyObject
* obj8
= 0 ;
3517 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3524 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3545 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3550 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3557 arg9
= wxString_in_helper(obj8
);
3558 if (arg9
== NULL
) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3584 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxGauge
*arg1
= (wxGauge
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 (char *) "self",(char *) "range", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->SetRange(arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3614 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxGauge
*arg1
= (wxGauge
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3620 (char *) "self", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= SWIG_PyObj_FromInt((int)result
);
3639 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxGauge
*arg1
= (wxGauge
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3646 (char *) "self",(char *) "pos", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 (arg1
)->SetValue(arg2
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 Py_INCREF(Py_None
); resultobj
= Py_None
;
3669 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxGauge
*arg1
= (wxGauge
*) 0 ;
3673 PyObject
* obj0
= 0 ;
3675 (char *) "self", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 resultobj
= SWIG_PyObj_FromInt((int)result
);
3694 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxGauge
*arg1
= (wxGauge
*) 0 ;
3698 PyObject
* obj0
= 0 ;
3700 (char *) "self", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3719 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxGauge
*arg1
= (wxGauge
*) 0 ;
3723 PyObject
* obj0
= 0 ;
3724 PyObject
* obj1
= 0 ;
3726 (char *) "self",(char *) "w", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3732 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 (arg1
)->SetShadowWidth(arg2
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 Py_INCREF(Py_None
); resultobj
= Py_None
;
3749 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxGauge
*arg1
= (wxGauge
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= SWIG_PyObj_FromInt((int)result
);
3774 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxGauge
*arg1
= (wxGauge
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3781 (char *) "self",(char *) "w", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->SetBezelFace(arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxGauge
*arg1
= (wxGauge
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "self", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= SWIG_PyObj_FromInt((int)result
);
3829 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3832 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3834 return Py_BuildValue((char *)"");
3836 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3837 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3842 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3847 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3849 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3856 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3857 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3862 static PyObject
*_wrap_StaticBoxNameStr_get() {
3867 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3869 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3876 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3877 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3882 static PyObject
*_wrap_StaticTextNameStr_get() {
3887 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3889 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3896 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxWindow
*arg1
= (wxWindow
*) 0 ;
3900 wxString
*arg3
= 0 ;
3901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3905 long arg6
= (long) 0 ;
3906 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3908 wxStaticBox
*result
;
3909 bool temp3
= False
;
3912 bool temp7
= False
;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3915 PyObject
* obj2
= 0 ;
3916 PyObject
* obj3
= 0 ;
3917 PyObject
* obj4
= 0 ;
3918 PyObject
* obj5
= 0 ;
3919 PyObject
* obj6
= 0 ;
3921 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3927 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3931 arg3
= wxString_in_helper(obj2
);
3932 if (arg3
== NULL
) SWIG_fail
;
3938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3949 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3955 arg7
= wxString_in_helper(obj6
);
3956 if (arg7
== NULL
) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= wxPyMake_wxObject(result
);
3992 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxStaticBox
*result
;
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (wxStaticBox
*)new wxStaticBox();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= wxPyMake_wxObject(result
);
4016 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4019 wxWindow
*arg2
= (wxWindow
*) 0 ;
4021 wxString
*arg4
= 0 ;
4022 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4023 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4024 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4025 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4026 long arg7
= (long) 0 ;
4027 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4028 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4030 bool temp4
= False
;
4033 bool temp8
= False
;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4036 PyObject
* obj2
= 0 ;
4037 PyObject
* obj3
= 0 ;
4038 PyObject
* obj4
= 0 ;
4039 PyObject
* obj5
= 0 ;
4040 PyObject
* obj6
= 0 ;
4041 PyObject
* obj7
= 0 ;
4043 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4050 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 arg4
= wxString_in_helper(obj3
);
4055 if (arg4
== NULL
) SWIG_fail
;
4061 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4067 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4072 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4078 arg8
= wxString_in_helper(obj7
);
4079 if (arg8
== NULL
) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4113 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4118 return Py_BuildValue((char *)"");
4120 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 wxWindow
*arg1
= (wxWindow
*) 0 ;
4124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4128 long arg5
= (long) wxLI_HORIZONTAL
;
4129 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4131 wxStaticLine
*result
;
4134 bool temp6
= False
;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4137 PyObject
* obj2
= 0 ;
4138 PyObject
* obj3
= 0 ;
4139 PyObject
* obj4
= 0 ;
4140 PyObject
* obj5
= 0 ;
4142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4148 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4160 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4165 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4171 arg6
= wxString_in_helper(obj5
);
4172 if (arg6
== NULL
) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4198 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxStaticLine
*result
;
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (wxStaticLine
*)new wxStaticLine();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4220 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4223 wxWindow
*arg2
= (wxWindow
*) 0 ;
4225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4229 long arg6
= (long) wxLI_HORIZONTAL
;
4230 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4235 bool temp7
= False
;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 PyObject
* obj2
= 0 ;
4239 PyObject
* obj3
= 0 ;
4240 PyObject
* obj4
= 0 ;
4241 PyObject
* obj5
= 0 ;
4242 PyObject
* obj6
= 0 ;
4244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4251 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4257 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4263 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4268 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4274 arg7
= wxString_in_helper(obj6
);
4275 if (arg7
== NULL
) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4301 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "self", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4326 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (int)wxStaticLine::GetDefaultSize();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_PyObj_FromInt((int)result
);
4348 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4353 return Py_BuildValue((char *)"");
4355 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxWindow
*arg1
= (wxWindow
*) 0 ;
4359 wxString
*arg3
= 0 ;
4360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4364 long arg6
= (long) 0 ;
4365 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4366 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4367 wxStaticText
*result
;
4368 bool temp3
= False
;
4371 bool temp7
= False
;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4377 PyObject
* obj5
= 0 ;
4378 PyObject
* obj6
= 0 ;
4380 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4390 arg3
= wxString_in_helper(obj2
);
4391 if (arg3
== NULL
) SWIG_fail
;
4397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4408 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4414 arg7
= wxString_in_helper(obj6
);
4415 if (arg7
== NULL
) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4449 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxStaticText
*result
;
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (wxStaticText
*)new wxStaticText();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4471 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4474 wxWindow
*arg2
= (wxWindow
*) 0 ;
4476 wxString
*arg4
= 0 ;
4477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4481 long arg7
= (long) 0 ;
4482 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4483 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4485 bool temp4
= False
;
4488 bool temp8
= False
;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj2
= 0 ;
4492 PyObject
* obj3
= 0 ;
4493 PyObject
* obj4
= 0 ;
4494 PyObject
* obj5
= 0 ;
4495 PyObject
* obj6
= 0 ;
4496 PyObject
* obj7
= 0 ;
4498 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 arg4
= wxString_in_helper(obj3
);
4510 if (arg4
== NULL
) SWIG_fail
;
4516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4527 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4533 arg8
= wxString_in_helper(obj7
);
4534 if (arg8
== NULL
) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4568 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4571 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4573 return Py_BuildValue((char *)"");
4575 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxWindow
*arg1
= (wxWindow
*) 0 ;
4579 wxBitmap
*arg3
= 0 ;
4580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4584 long arg6
= (long) 0 ;
4585 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4587 wxStaticBitmap
*result
;
4590 bool temp7
= False
;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 PyObject
* obj3
= 0 ;
4595 PyObject
* obj4
= 0 ;
4596 PyObject
* obj5
= 0 ;
4597 PyObject
* obj6
= 0 ;
4599 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4626 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4632 arg7
= wxString_in_helper(obj6
);
4633 if (arg7
== NULL
) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4659 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxStaticBitmap
*result
;
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4681 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4684 wxWindow
*arg2
= (wxWindow
*) 0 ;
4686 wxBitmap
*arg4
= 0 ;
4687 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4688 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4689 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4690 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4691 long arg7
= (long) 0 ;
4692 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4693 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4697 bool temp8
= False
;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4700 PyObject
* obj2
= 0 ;
4701 PyObject
* obj3
= 0 ;
4702 PyObject
* obj4
= 0 ;
4703 PyObject
* obj5
= 0 ;
4704 PyObject
* obj6
= 0 ;
4705 PyObject
* obj7
= 0 ;
4707 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4714 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4724 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4730 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4735 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4741 arg8
= wxString_in_helper(obj7
);
4742 if (arg8
== NULL
) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4768 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4774 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (arg1
)->GetBitmap();
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4787 wxBitmap
* resultptr
;
4788 resultptr
= new wxBitmap((wxBitmap
&) result
);
4789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4797 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4800 wxBitmap
*arg2
= 0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4804 (char *) "self",(char *) "bitmap", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 Py_INCREF(Py_None
); resultobj
= Py_None
;
4827 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4834 (char *) "self",(char *) "icon", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 Py_INCREF(Py_None
); resultobj
= Py_None
;
4857 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4860 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4862 return Py_BuildValue((char *)"");
4864 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4865 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4870 static PyObject
*_wrap_ListBoxNameStr_get() {
4875 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4877 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4884 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxWindow
*arg1
= (wxWindow
*) 0 ;
4888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4890 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4891 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4892 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4893 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4894 long arg6
= (long) 0 ;
4895 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4896 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4897 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4898 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4902 bool temp5
= False
;
4903 bool temp8
= False
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4908 PyObject
* obj4
= 0 ;
4909 PyObject
* obj5
= 0 ;
4910 PyObject
* obj6
= 0 ;
4911 PyObject
* obj7
= 0 ;
4913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4936 if (! PySequence_Check(obj4
)) {
4937 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4940 arg5
= new wxArrayString
;
4942 int i
, len
=PySequence_Length(obj4
);
4943 for (i
=0; i
<len
; i
++) {
4944 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4946 PyObject
* str
= PyObject_Unicode(item
);
4948 PyObject
* str
= PyObject_Str(item
);
4950 arg5
->Add(Py2wxString(str
));
4958 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4963 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4970 arg8
= wxString_in_helper(obj7
);
4971 if (arg8
== NULL
) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4984 if (temp5
) delete arg5
;
4993 if (temp5
) delete arg5
;
5003 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (wxListBox
*)new wxListBox();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5025 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxListBox
*arg1
= (wxListBox
*) 0 ;
5028 wxWindow
*arg2
= (wxWindow
*) 0 ;
5030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5034 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5035 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5036 long arg7
= (long) 0 ;
5037 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5038 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5039 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5040 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5044 bool temp6
= False
;
5045 bool temp9
= False
;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 PyObject
* obj2
= 0 ;
5049 PyObject
* obj3
= 0 ;
5050 PyObject
* obj4
= 0 ;
5051 PyObject
* obj5
= 0 ;
5052 PyObject
* obj6
= 0 ;
5053 PyObject
* obj7
= 0 ;
5054 PyObject
* obj8
= 0 ;
5056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5063 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5080 if (! PySequence_Check(obj5
)) {
5081 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5084 arg6
= new wxArrayString
;
5086 int i
, len
=PySequence_Length(obj5
);
5087 for (i
=0; i
<len
; i
++) {
5088 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5090 PyObject
* str
= PyObject_Unicode(item
);
5092 PyObject
* str
= PyObject_Str(item
);
5094 arg6
->Add(Py2wxString(str
));
5102 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5107 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5114 arg9
= wxString_in_helper(obj8
);
5115 if (arg9
== NULL
) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5128 if (temp6
) delete arg6
;
5137 if (temp6
) delete arg6
;
5147 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxListBox
*arg1
= (wxListBox
*) 0 ;
5150 wxString
*arg2
= 0 ;
5152 PyObject
*arg4
= (PyObject
*) NULL
;
5153 bool temp2
= False
;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5157 PyObject
* obj3
= 0 ;
5159 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5165 arg2
= wxString_in_helper(obj1
);
5166 if (arg2
== NULL
) SWIG_fail
;
5170 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5198 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxListBox
*arg1
= (wxListBox
*) 0 ;
5201 wxArrayString
*arg2
= 0 ;
5203 bool temp2
= False
;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 PyObject
* obj2
= 0 ;
5208 (char *) "self",(char *) "items",(char *) "pos", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5214 if (! PySequence_Check(obj1
)) {
5215 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5218 arg2
= new wxArrayString
;
5220 int i
, len
=PySequence_Length(obj1
);
5221 for (i
=0; i
<len
; i
++) {
5222 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5224 PyObject
* str
= PyObject_Unicode(item
);
5226 PyObject
* str
= PyObject_Str(item
);
5228 arg2
->Add(Py2wxString(str
));
5234 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 Py_INCREF(Py_None
); resultobj
= Py_None
;
5246 if (temp2
) delete arg2
;
5251 if (temp2
) delete arg2
;
5257 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxListBox
*arg1
= (wxListBox
*) 0 ;
5260 wxArrayString
*arg2
= 0 ;
5261 bool temp2
= False
;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5265 (char *) "self",(char *) "items", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 if (! PySequence_Check(obj1
)) {
5272 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5275 arg2
= new wxArrayString
;
5277 int i
, len
=PySequence_Length(obj1
);
5278 for (i
=0; i
<len
; i
++) {
5279 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5281 PyObject
* str
= PyObject_Unicode(item
);
5283 PyObject
* str
= PyObject_Str(item
);
5285 arg2
->Add(Py2wxString(str
));
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 (arg1
)->Set((wxArrayString
const &)*arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5299 if (temp2
) delete arg2
;
5304 if (temp2
) delete arg2
;
5310 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxListBox
*arg1
= (wxListBox
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "n", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5324 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5341 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxListBox
*arg1
= (wxListBox
*) 0 ;
5345 bool arg3
= (bool) True
;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 PyObject
* obj2
= 0 ;
5350 (char *) "self",(char *) "n",(char *) "select", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5356 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5361 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 (arg1
)->SetSelection(arg2
,arg3
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 Py_INCREF(Py_None
); resultobj
= Py_None
;
5379 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxListBox
*arg1
= (wxListBox
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5386 (char *) "self",(char *) "n", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5392 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->Select(arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxListBox
*arg1
= (wxListBox
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5416 (char *) "self",(char *) "n", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5422 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->Deselect(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxListBox
*arg1
= (wxListBox
*) 0 ;
5442 int arg2
= (int) -1 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "itemToLeaveSelected", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5453 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 (arg1
)->DeselectAll(arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 Py_INCREF(Py_None
); resultobj
= Py_None
;
5471 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxListBox
*arg1
= (wxListBox
*) 0 ;
5474 wxString
*arg2
= 0 ;
5475 bool arg3
= (bool) True
;
5477 bool temp2
= False
;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5480 PyObject
* obj2
= 0 ;
5482 (char *) "self",(char *) "s",(char *) "select", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5488 arg2
= wxString_in_helper(obj1
);
5489 if (arg2
== NULL
) SWIG_fail
;
5494 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5520 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxListBox
*arg1
= (wxListBox
*) 0 ;
5524 PyObject
* obj0
= 0 ;
5526 (char *) "self", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5545 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxListBox
*arg1
= (wxListBox
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "n", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->SetFirstItem(arg2
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxListBox
*arg1
= (wxListBox
*) 0 ;
5578 wxString
*arg2
= 0 ;
5579 bool temp2
= False
;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5583 (char *) "self",(char *) "s", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5589 arg2
= wxString_in_helper(obj1
);
5590 if (arg2
== NULL
) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxListBox
*arg1
= (wxListBox
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "n", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 (arg1
)->EnsureVisible(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 Py_INCREF(Py_None
); resultobj
= Py_None
;
5645 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxListBox
*arg1
= (wxListBox
*) 0 ;
5648 wxString
*arg2
= 0 ;
5649 bool temp2
= False
;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5653 (char *) "self",(char *) "s", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5659 arg2
= wxString_in_helper(obj1
);
5660 if (arg2
== NULL
) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 Py_INCREF(Py_None
); resultobj
= Py_None
;
5685 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxListBox
*arg1
= (wxListBox
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5691 (char *) "self", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5710 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxListBox
*arg1
= (wxListBox
*) 0 ;
5714 wxColour
*arg3
= 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5718 PyObject
* obj2
= 0 ;
5720 (char *) "self",(char *) "item",(char *) "c", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5731 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxListBox
*arg1
= (wxListBox
*) 0 ;
5751 wxColour
*arg3
= 0 ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5755 PyObject
* obj2
= 0 ;
5757 (char *) "self",(char *) "item",(char *) "c", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5768 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 Py_INCREF(Py_None
); resultobj
= Py_None
;
5784 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxListBox
*arg1
= (wxListBox
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "item",(char *) "f", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5823 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5825 return Py_BuildValue((char *)"");
5827 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxWindow
*arg1
= (wxWindow
*) 0 ;
5831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5835 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5836 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5837 long arg6
= (long) 0 ;
5838 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5839 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5840 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5841 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5842 wxCheckListBox
*result
;
5845 bool temp5
= False
;
5846 bool temp8
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5850 PyObject
* obj3
= 0 ;
5851 PyObject
* obj4
= 0 ;
5852 PyObject
* obj5
= 0 ;
5853 PyObject
* obj6
= 0 ;
5854 PyObject
* obj7
= 0 ;
5856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5862 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5879 if (! PySequence_Check(obj4
)) {
5880 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5883 arg5
= new wxArrayString
;
5885 int i
, len
=PySequence_Length(obj4
);
5886 for (i
=0; i
<len
; i
++) {
5887 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5889 PyObject
* str
= PyObject_Unicode(item
);
5891 PyObject
* str
= PyObject_Str(item
);
5893 arg5
->Add(Py2wxString(str
));
5901 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5906 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5908 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5913 arg8
= wxString_in_helper(obj7
);
5914 if (arg8
== NULL
) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5927 if (temp5
) delete arg5
;
5936 if (temp5
) delete arg5
;
5946 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxCheckListBox
*result
;
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (wxCheckListBox
*)new wxCheckListBox();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5968 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5971 wxWindow
*arg2
= (wxWindow
*) 0 ;
5973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5977 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5978 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5979 long arg7
= (long) 0 ;
5980 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5981 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5982 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5983 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5987 bool temp6
= False
;
5988 bool temp9
= False
;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 PyObject
* obj2
= 0 ;
5992 PyObject
* obj3
= 0 ;
5993 PyObject
* obj4
= 0 ;
5994 PyObject
* obj5
= 0 ;
5995 PyObject
* obj6
= 0 ;
5996 PyObject
* obj7
= 0 ;
5997 PyObject
* obj8
= 0 ;
5999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6006 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6023 if (! PySequence_Check(obj5
)) {
6024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6027 arg6
= new wxArrayString
;
6029 int i
, len
=PySequence_Length(obj5
);
6030 for (i
=0; i
<len
; i
++) {
6031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6033 PyObject
* str
= PyObject_Unicode(item
);
6035 PyObject
* str
= PyObject_Str(item
);
6037 arg6
->Add(Py2wxString(str
));
6045 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6050 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6057 arg9
= wxString_in_helper(obj8
);
6058 if (arg9
== NULL
) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6071 if (temp6
) delete arg6
;
6080 if (temp6
) delete arg6
;
6090 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6098 (char *) "self",(char *) "index", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6104 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->IsChecked(arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6121 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6125 int arg3
= (int) True
;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6130 (char *) "self",(char *) "index",(char *) "check", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6136 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 (arg1
)->Check(arg2
,arg3
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 Py_INCREF(Py_None
); resultobj
= Py_None
;
6159 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6165 (char *) "self", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (int)(arg1
)->GetItemHeight();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_PyObj_FromInt((int)result
);
6184 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6193 (char *) "self",(char *) "pt", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_PyObj_FromInt((int)result
);
6216 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 PyObject
* obj2
= 0 ;
6226 (char *) "self",(char *) "x",(char *) "y", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6232 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6236 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_PyObj_FromInt((int)result
);
6253 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6256 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6258 return Py_BuildValue((char *)"");
6260 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6261 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6266 static PyObject
*_wrap_TextCtrlNameStr_get() {
6271 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6273 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6280 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6281 PyObject
*resultobj
;
6284 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (wxTextAttr
*)new wxTextAttr();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6299 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6300 PyObject
*resultobj
;
6301 wxColour
*arg1
= 0 ;
6302 wxColour
const &arg2_defvalue
= wxNullColour
;
6303 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6304 wxFont
const &arg3_defvalue
= wxNullFont
;
6305 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6306 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6312 PyObject
* obj2
= 0 ;
6313 PyObject
* obj3
= 0 ;
6315 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6318 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6327 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6334 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6352 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6357 argc
= PyObject_Length(args
);
6358 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6359 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6362 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6364 if ((argc
>= 1) && (argc
<= 4)) {
6367 _v
= wxColour_typecheck(argv
[0]);
6371 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6374 _v
= wxColour_typecheck(argv
[1]);
6378 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6382 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6391 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6394 SWIG_PyObj_AsInt(argv
[3]);
6395 if (PyErr_Occurred()) {
6403 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6410 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6415 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6420 (char *) "self", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 Py_INCREF(Py_None
); resultobj
= Py_None
;
6439 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_TextAttr_SetTextColour(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 *) "colText", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",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
)->SetTextColour((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_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6497 wxColour
*arg2
= 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6502 (char *) "self",(char *) "colBack", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 Py_INCREF(Py_None
); resultobj
= Py_None
;
6525 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6529 long arg3
= (long) wxTEXT_ATTR_FONT
;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 PyObject
* obj2
= 0 ;
6534 (char *) "self",(char *) "font",(char *) "flags", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6545 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6570 (char *) "self",(char *) "alignment", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6576 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 Py_INCREF(Py_None
); resultobj
= Py_None
;
6593 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6596 wxArrayInt
*arg2
= 0 ;
6597 bool temp2
= False
;
6598 PyObject
* obj0
= 0 ;
6599 PyObject
* obj1
= 0 ;
6601 (char *) "self",(char *) "tabs", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6607 if (! PySequence_Check(obj1
)) {
6608 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6611 arg2
= new wxArrayInt
;
6613 int i
, len
=PySequence_Length(obj1
);
6614 for (i
=0; i
<len
; i
++) {
6615 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6616 PyObject
* number
= PyNumber_Int(item
);
6617 arg2
->Add(PyInt_AS_LONG(number
));
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6631 if (temp2
) delete arg2
;
6636 if (temp2
) delete arg2
;
6642 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6649 (char *) "self",(char *) "indent", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6655 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 (arg1
)->SetLeftIndent(arg2
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 Py_INCREF(Py_None
); resultobj
= Py_None
;
6672 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6679 (char *) "self",(char *) "indent", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6685 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 (arg1
)->SetRightIndent(arg2
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 Py_INCREF(Py_None
); resultobj
= Py_None
;
6702 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6709 (char *) "self",(char *) "flags", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6715 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->SetFlags(arg2
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 Py_INCREF(Py_None
); resultobj
= Py_None
;
6732 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6757 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6782 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "self", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6807 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6813 (char *) "self", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6832 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6838 (char *) "self", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6863 (char *) "self", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6882 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6888 (char *) "self", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6907 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "flag", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6938 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6953 result
= (wxColour
*) &_result_ref
;
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6966 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "self", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6981 result
= (wxColour
*) &_result_ref
;
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6994 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "self", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7009 result
= (wxFont
*) &_result_ref
;
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
7022 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_PyObj_FromInt((int)result
);
7047 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7062 result
= (wxArrayInt
*) &_result_ref
;
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= PyList_New(0);
7071 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7072 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7073 PyList_Append(resultobj
, val
);
7083 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_PyObj_FromLong((long)result
);
7108 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7114 (char *) "self", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_PyObj_FromLong((long)result
);
7133 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= SWIG_PyObj_FromLong((long)result
);
7158 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7164 (char *) "self", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7183 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxTextAttr
*arg1
= 0 ;
7186 wxTextAttr
*arg2
= 0 ;
7187 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7190 PyObject
* obj1
= 0 ;
7191 PyObject
* obj2
= 0 ;
7193 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7214 wxTextAttr
* resultptr
;
7215 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7216 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7224 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7227 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7229 return Py_BuildValue((char *)"");
7231 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxWindow
*arg1
= (wxWindow
*) 0 ;
7235 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7236 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7237 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7238 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7239 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7240 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7241 long arg6
= (long) 0 ;
7242 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7243 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7244 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7245 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7247 bool temp3
= False
;
7250 bool temp8
= False
;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7253 PyObject
* obj2
= 0 ;
7254 PyObject
* obj3
= 0 ;
7255 PyObject
* obj4
= 0 ;
7256 PyObject
* obj5
= 0 ;
7257 PyObject
* obj6
= 0 ;
7258 PyObject
* obj7
= 0 ;
7260 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7266 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7271 arg3
= wxString_in_helper(obj2
);
7272 if (arg3
== NULL
) SWIG_fail
;
7279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7290 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7295 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7302 arg8
= wxString_in_helper(obj7
);
7303 if (arg8
== NULL
) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= wxPyMake_wxObject(result
);
7339 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (wxTextCtrl
*)new wxTextCtrl();
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= wxPyMake_wxObject(result
);
7363 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7366 wxWindow
*arg2
= (wxWindow
*) 0 ;
7368 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7369 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7370 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7371 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7372 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7373 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7374 long arg7
= (long) 0 ;
7375 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7376 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7377 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7378 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7380 bool temp4
= False
;
7383 bool temp9
= False
;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7386 PyObject
* obj2
= 0 ;
7387 PyObject
* obj3
= 0 ;
7388 PyObject
* obj4
= 0 ;
7389 PyObject
* obj5
= 0 ;
7390 PyObject
* obj6
= 0 ;
7391 PyObject
* obj7
= 0 ;
7392 PyObject
* obj8
= 0 ;
7394 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7401 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7406 arg4
= wxString_in_helper(obj3
);
7407 if (arg4
== NULL
) SWIG_fail
;
7414 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7420 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7425 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7430 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7437 arg9
= wxString_in_helper(obj8
);
7438 if (arg9
== NULL
) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7472 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7503 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7506 wxString
*arg2
= 0 ;
7507 bool temp2
= False
;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7511 (char *) "self",(char *) "value", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7517 arg2
= wxString_in_helper(obj1
);
7518 if (arg2
== NULL
) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 (arg1
)->SetValue((wxString
const &)*arg2
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7543 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7553 (char *) "self",(char *) "from",(char *) "to", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7559 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7563 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7586 static PyObject
*_wrap_TextCtrl_GetLineLength(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_GetLineLength",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
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_PyObj_FromInt((int)result
);
7617 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7625 (char *) "self",(char *) "lineNo", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7631 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7654 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "self", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_PyObj_FromInt((int)result
);
7679 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7704 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7729 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7735 (char *) "self", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7754 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
;
7756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7758 PyObject
* obj0
= 0 ;
7760 (char *) "self", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7779 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7782 long *arg2
= (long *) 0 ;
7783 long *arg3
= (long *) 0 ;
7786 PyObject
* obj0
= 0 ;
7788 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7805 resultobj
= t_output_helper(resultobj
,o
);
7808 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7809 resultobj
= t_output_helper(resultobj
,o
);
7817 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7848 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7853 (char *) "self", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 Py_INCREF(Py_None
); resultobj
= Py_None
;
7872 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7877 wxString
*arg4
= 0 ;
7878 bool temp4
= False
;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7881 PyObject
* obj2
= 0 ;
7882 PyObject
* obj3
= 0 ;
7884 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7890 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7898 arg4
= wxString_in_helper(obj3
);
7899 if (arg4
== NULL
) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 Py_INCREF(Py_None
); resultobj
= Py_None
;
7924 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7930 PyObject
* obj1
= 0 ;
7931 PyObject
* obj2
= 0 ;
7933 (char *) "self",(char *) "from",(char *) "to", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7939 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 (arg1
)->Remove(arg2
,arg3
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 Py_INCREF(Py_None
); resultobj
= Py_None
;
7960 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7963 wxString
*arg2
= 0 ;
7965 bool temp2
= False
;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7969 (char *) "self",(char *) "file", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7975 arg2
= wxString_in_helper(obj1
);
7976 if (arg2
== NULL
) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8001 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8004 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8005 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8007 bool temp2
= False
;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8011 (char *) "self",(char *) "file", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8018 arg2
= wxString_in_helper(obj1
);
8019 if (arg2
== NULL
) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8045 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 (arg1
)->MarkDirty();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 (arg1
)->DiscardEdits();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8096 unsigned long arg2
;
8097 PyObject
* obj0
= 0 ;
8098 PyObject
* obj1
= 0 ;
8100 (char *) "self",(char *) "len", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8106 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 (arg1
)->SetMaxLength(arg2
);
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 Py_INCREF(Py_None
); resultobj
= Py_None
;
8123 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8126 wxString
*arg2
= 0 ;
8127 bool temp2
= False
;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8131 (char *) "self",(char *) "text", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8137 arg2
= wxString_in_helper(obj1
);
8138 if (arg2
== NULL
) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 (arg1
)->WriteText((wxString
const &)*arg2
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8163 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8166 wxString
*arg2
= 0 ;
8167 bool temp2
= False
;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "text", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8177 arg2
= wxString_in_helper(obj1
);
8178 if (arg2
== NULL
) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 (arg1
)->AppendText((wxString
const &)*arg2
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 Py_INCREF(Py_None
); resultobj
= Py_None
;
8203 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8206 wxKeyEvent
*arg2
= 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8211 (char *) "self",(char *) "event", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8234 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8239 wxTextAttr
*arg4
= 0 ;
8241 PyObject
* obj0
= 0 ;
8242 PyObject
* obj1
= 0 ;
8243 PyObject
* obj2
= 0 ;
8244 PyObject
* obj3
= 0 ;
8246 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8252 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8256 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8277 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8281 wxTextAttr
*arg3
= 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8285 PyObject
* obj2
= 0 ;
8287 (char *) "self",(char *) "position",(char *) "style", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8293 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 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
)->GetStyle(arg2
,*arg3
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8314 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8317 wxTextAttr
*arg2
= 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8322 (char *) "self",(char *) "style", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8327 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8345 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8349 PyObject
* obj0
= 0 ;
8351 (char *) "self", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8360 result
= (wxTextAttr
*) &_result_ref
;
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8373 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8380 PyObject
* obj1
= 0 ;
8381 PyObject
* obj2
= 0 ;
8383 (char *) "self",(char *) "x",(char *) "y", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8389 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_PyObj_FromLong((long)result
);
8410 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8414 long *arg3
= (long *) 0 ;
8415 long *arg4
= (long *) 0 ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8421 (char *) "self",(char *) "pos", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8429 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8441 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8442 resultobj
= t_output_helper(resultobj
,o
);
8445 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8446 resultobj
= t_output_helper(resultobj
,o
);
8454 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8461 (char *) "self",(char *) "pos", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8467 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 (arg1
)->ShowPosition(arg2
);
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8488 long *arg3
= (long *) 0 ;
8489 long *arg4
= (long *) 0 ;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8497 (char *) "self",(char *) "pt", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8506 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_PyObj_FromInt((int)result
);
8517 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8518 resultobj
= t_output_helper(resultobj
,o
);
8521 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8522 resultobj
= t_output_helper(resultobj
,o
);
8530 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8533 PyObject
* obj0
= 0 ;
8535 (char *) "self", NULL
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 Py_INCREF(Py_None
); resultobj
= Py_None
;
8554 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
;
8556 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8557 PyObject
* obj0
= 0 ;
8559 (char *) "self", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 Py_INCREF(Py_None
); resultobj
= Py_None
;
8578 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "self", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 Py_INCREF(Py_None
); resultobj
= Py_None
;
8602 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8652 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8656 PyObject
* obj0
= 0 ;
8658 (char *) "self", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8677 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8682 (char *) "self", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8750 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8756 (char *) "self", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8775 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8780 PyObject
* obj1
= 0 ;
8782 (char *) "self",(char *) "pos", NULL
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8788 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 (arg1
)->SetInsertionPoint(arg2
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 (arg1
)->SetInsertionPointEnd();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= SWIG_PyObj_FromLong((long)result
);
8854 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8860 (char *) "self", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_PyObj_FromLong((long)result
);
8879 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 PyObject
* obj2
= 0 ;
8888 (char *) "self",(char *) "from",(char *) "to", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8894 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8898 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetSelection(arg2
,arg3
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 (arg1
)->SelectAll();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8946 (char *) "self",(char *) "editable", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8952 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 (arg1
)->SetEditable(arg2
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8972 bool arg2
= (bool) True
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "show", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8984 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9002 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (bool)(arg1
)->HideNativeCaret();
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9027 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9030 wxString
*arg2
= 0 ;
9031 bool temp2
= False
;
9032 PyObject
* obj0
= 0 ;
9033 PyObject
* obj1
= 0 ;
9035 (char *) "self",(char *) "text", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9041 arg2
= wxString_in_helper(obj1
);
9042 if (arg2
== NULL
) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 Py_INCREF(Py_None
); resultobj
= Py_None
;
9067 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9077 (char *) "self",(char *) "from",(char *) "to", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9083 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9110 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9113 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9115 return Py_BuildValue((char *)"");
9117 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9120 wxMouseEvent
*arg2
= 0 ;
9123 wxTextUrlEvent
*result
;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9127 PyObject
* obj3
= 0 ;
9129 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9134 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9142 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9163 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9166 wxMouseEvent
*result
;
9167 PyObject
* obj0
= 0 ;
9169 (char *) "self", NULL
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9178 result
= (wxMouseEvent
*) &_result_ref
;
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9191 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9197 (char *) "self", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_PyObj_FromLong((long)result
);
9216 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9222 (char *) "self", NULL
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= SWIG_PyObj_FromLong((long)result
);
9241 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9244 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9246 return Py_BuildValue((char *)"");
9248 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9249 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9254 static PyObject
*_wrap_ScrollBarNameStr_get() {
9259 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9261 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9268 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxWindow
*arg1
= (wxWindow
*) 0 ;
9271 int arg2
= (int) -1 ;
9272 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9273 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9274 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9275 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9276 long arg5
= (long) wxSB_HORIZONTAL
;
9277 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9278 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9279 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9280 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9281 wxScrollBar
*result
;
9284 bool temp7
= False
;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 PyObject
* obj2
= 0 ;
9288 PyObject
* obj3
= 0 ;
9289 PyObject
* obj4
= 0 ;
9290 PyObject
* obj5
= 0 ;
9291 PyObject
* obj6
= 0 ;
9293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9300 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9313 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9318 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9323 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9330 arg7
= wxString_in_helper(obj6
);
9331 if (arg7
== NULL
) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9357 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxScrollBar
*result
;
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (wxScrollBar
*)new wxScrollBar();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9379 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9382 wxWindow
*arg2
= (wxWindow
*) 0 ;
9383 int arg3
= (int) -1 ;
9384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9388 long arg6
= (long) wxSB_HORIZONTAL
;
9389 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9390 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9391 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9392 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9396 bool temp8
= False
;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9399 PyObject
* obj2
= 0 ;
9400 PyObject
* obj3
= 0 ;
9401 PyObject
* obj4
= 0 ;
9402 PyObject
* obj5
= 0 ;
9403 PyObject
* obj6
= 0 ;
9404 PyObject
* obj7
= 0 ;
9406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9414 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9421 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9427 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9432 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9437 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9444 arg8
= wxString_in_helper(obj7
);
9445 if (arg8
== NULL
) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9471 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= SWIG_PyObj_FromInt((int)result
);
9496 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "self", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_PyObj_FromInt((int)result
);
9521 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "self", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_PyObj_FromInt((int)result
);
9546 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9552 (char *) "self", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_PyObj_FromInt((int)result
);
9571 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9577 (char *) "self", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9596 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "self",(char *) "viewStart", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9609 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetThumbPosition(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9633 bool arg6
= (bool) True
;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9636 PyObject
* obj2
= 0 ;
9637 PyObject
* obj3
= 0 ;
9638 PyObject
* obj4
= 0 ;
9639 PyObject
* obj5
= 0 ;
9641 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9659 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9664 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 Py_INCREF(Py_None
); resultobj
= Py_None
;
9682 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9685 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9687 return Py_BuildValue((char *)"");
9689 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9690 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9695 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9700 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9702 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9709 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9710 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9715 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9720 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9722 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9729 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
;
9731 wxWindow
*arg1
= (wxWindow
*) 0 ;
9732 int arg2
= (int) -1 ;
9733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9737 long arg5
= (long) wxSP_HORIZONTAL
;
9738 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9740 wxSpinButton
*result
;
9743 bool temp6
= False
;
9744 PyObject
* obj0
= 0 ;
9745 PyObject
* obj1
= 0 ;
9746 PyObject
* obj2
= 0 ;
9747 PyObject
* obj3
= 0 ;
9748 PyObject
* obj4
= 0 ;
9749 PyObject
* obj5
= 0 ;
9751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9765 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9771 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9776 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9782 arg6
= wxString_in_helper(obj5
);
9783 if (arg6
== NULL
) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9809 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxSpinButton
*result
;
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (wxSpinButton
*)new wxSpinButton();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9831 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9834 wxWindow
*arg2
= (wxWindow
*) 0 ;
9835 int arg3
= (int) -1 ;
9836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9840 long arg6
= (long) wxSP_HORIZONTAL
;
9841 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9846 bool temp7
= False
;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 PyObject
* obj2
= 0 ;
9850 PyObject
* obj3
= 0 ;
9851 PyObject
* obj4
= 0 ;
9852 PyObject
* obj5
= 0 ;
9853 PyObject
* obj6
= 0 ;
9855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9863 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9870 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9876 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9881 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9887 arg7
= wxString_in_helper(obj6
);
9888 if (arg7
== NULL
) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9914 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_PyObj_FromInt((int)result
);
9939 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9943 PyObject
* obj0
= 0 ;
9945 (char *) "self", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_PyObj_FromInt((int)result
);
9964 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9970 (char *) "self", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_PyObj_FromInt((int)result
);
9989 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9996 (char *) "self",(char *) "val", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10002 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 (arg1
)->SetValue(arg2
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "minVal", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10032 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->SetMin(arg2
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 Py_INCREF(Py_None
); resultobj
= Py_None
;
10049 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self",(char *) "maxVal", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10062 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->SetMax(arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10079 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 PyObject
* obj2
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10094 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10098 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->SetRange(arg2
,arg3
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 Py_INCREF(Py_None
); resultobj
= Py_None
;
10115 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
;
10117 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "self", NULL
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10140 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10145 return Py_BuildValue((char *)"");
10147 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxWindow
*arg1
= (wxWindow
*) 0 ;
10150 int arg2
= (int) -1 ;
10151 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10152 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10153 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10154 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10155 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10156 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10157 long arg6
= (long) wxSP_ARROW_KEYS
;
10158 int arg7
= (int) 0 ;
10159 int arg8
= (int) 100 ;
10160 int arg9
= (int) 0 ;
10161 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10162 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10163 wxSpinCtrl
*result
;
10164 bool temp3
= False
;
10167 bool temp10
= False
;
10168 PyObject
* obj0
= 0 ;
10169 PyObject
* obj1
= 0 ;
10170 PyObject
* obj2
= 0 ;
10171 PyObject
* obj3
= 0 ;
10172 PyObject
* obj4
= 0 ;
10173 PyObject
* obj5
= 0 ;
10174 PyObject
* obj6
= 0 ;
10175 PyObject
* obj7
= 0 ;
10176 PyObject
* obj8
= 0 ;
10177 PyObject
* obj9
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10186 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10192 arg3
= wxString_in_helper(obj2
);
10193 if (arg3
== NULL
) SWIG_fail
;
10200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10211 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10217 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10223 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10229 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10235 arg10
= wxString_in_helper(obj9
);
10236 if (arg10
== NULL
) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10270 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxSpinCtrl
*result
;
10273 char *kwnames
[] = {
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10292 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10295 wxWindow
*arg2
= (wxWindow
*) 0 ;
10296 int arg3
= (int) -1 ;
10297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10299 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10300 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10301 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10302 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10303 long arg7
= (long) wxSP_ARROW_KEYS
;
10304 int arg8
= (int) 0 ;
10305 int arg9
= (int) 100 ;
10306 int arg10
= (int) 0 ;
10307 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10308 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10310 bool temp4
= False
;
10313 bool temp11
= False
;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 PyObject
* obj3
= 0 ;
10318 PyObject
* obj4
= 0 ;
10319 PyObject
* obj5
= 0 ;
10320 PyObject
* obj6
= 0 ;
10321 PyObject
* obj7
= 0 ;
10322 PyObject
* obj8
= 0 ;
10323 PyObject
* obj9
= 0 ;
10324 PyObject
* obj10
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10334 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10340 arg4
= wxString_in_helper(obj3
);
10341 if (arg4
== NULL
) SWIG_fail
;
10348 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10354 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10359 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10365 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10371 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10377 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10383 arg11
= wxString_in_helper(obj10
);
10384 if (arg11
== NULL
) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_PyObj_FromInt((int)result
);
10443 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self",(char *) "value", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 (arg1
)->SetValue(arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 Py_INCREF(Py_None
); resultobj
= Py_None
;
10473 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10476 wxString
*arg2
= 0 ;
10477 bool temp2
= False
;
10478 PyObject
* obj0
= 0 ;
10479 PyObject
* obj1
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self",(char *) "text", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10487 arg2
= wxString_in_helper(obj1
);
10488 if (arg2
== NULL
) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 (arg1
)->SetValue((wxString
const &)*arg2
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 PyObject
* obj2
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10528 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10532 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 (arg1
)->SetRange(arg2
,arg3
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_PyObj_FromInt((int)result
);
10574 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_PyObj_FromInt((int)result
);
10599 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 PyObject
* obj2
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "from",(char *) "to", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10614 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->SetSelection(arg2
,arg3
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10635 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10638 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10640 return Py_BuildValue((char *)"");
10642 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10645 int arg2
= (int) 0 ;
10646 wxSpinEvent
*result
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "commandType",(char *) "winid", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10656 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10680 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_PyObj_FromInt((int)result
);
10705 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "pos", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10718 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->SetPosition(arg2
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10738 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10740 return Py_BuildValue((char *)"");
10742 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10743 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10748 static PyObject
*_wrap_RadioBoxNameStr_get() {
10753 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10755 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10762 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10763 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10768 static PyObject
*_wrap_RadioButtonNameStr_get() {
10773 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10775 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10782 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxWindow
*arg1
= (wxWindow
*) 0 ;
10786 wxString
*arg3
= 0 ;
10787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10791 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10792 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10793 int arg7
= (int) 0 ;
10794 long arg8
= (long) wxRA_HORIZONTAL
;
10795 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10796 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10797 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10798 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10799 wxRadioBox
*result
;
10800 bool temp3
= False
;
10803 bool temp6
= False
;
10804 bool temp10
= False
;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 PyObject
* obj2
= 0 ;
10808 PyObject
* obj3
= 0 ;
10809 PyObject
* obj4
= 0 ;
10810 PyObject
* obj5
= 0 ;
10811 PyObject
* obj6
= 0 ;
10812 PyObject
* obj7
= 0 ;
10813 PyObject
* obj8
= 0 ;
10814 PyObject
* obj9
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10822 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 arg3
= wxString_in_helper(obj2
);
10827 if (arg3
== NULL
) SWIG_fail
;
10833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10839 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10844 if (! PySequence_Check(obj5
)) {
10845 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10848 arg6
= new wxArrayString
;
10850 int i
, len
=PySequence_Length(obj5
);
10851 for (i
=0; i
<len
; i
++) {
10852 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10854 PyObject
* str
= PyObject_Unicode(item
);
10856 PyObject
* str
= PyObject_Str(item
);
10858 arg6
->Add(Py2wxString(str
));
10866 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10872 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10877 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10878 if (arg9
== NULL
) {
10879 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10884 arg10
= wxString_in_helper(obj9
);
10885 if (arg10
== NULL
) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 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
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10902 if (temp6
) delete arg6
;
10915 if (temp6
) delete arg6
;
10925 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxRadioBox
*result
;
10928 char *kwnames
[] = {
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxRadioBox
*)new wxRadioBox();
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10947 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10950 wxWindow
*arg2
= (wxWindow
*) 0 ;
10952 wxString
*arg4
= 0 ;
10953 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10954 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10955 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10956 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10957 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10958 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10959 int arg8
= (int) 0 ;
10960 long arg9
= (long) wxRA_HORIZONTAL
;
10961 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10962 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10963 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10964 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10966 bool temp4
= False
;
10969 bool temp7
= False
;
10970 bool temp11
= False
;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 PyObject
* obj2
= 0 ;
10974 PyObject
* obj3
= 0 ;
10975 PyObject
* obj4
= 0 ;
10976 PyObject
* obj5
= 0 ;
10977 PyObject
* obj6
= 0 ;
10978 PyObject
* obj7
= 0 ;
10979 PyObject
* obj8
= 0 ;
10980 PyObject
* obj9
= 0 ;
10981 PyObject
* obj10
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10990 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10994 arg4
= wxString_in_helper(obj3
);
10995 if (arg4
== NULL
) SWIG_fail
;
11001 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11007 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11012 if (! PySequence_Check(obj6
)) {
11013 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11016 arg7
= new wxArrayString
;
11018 int i
, len
=PySequence_Length(obj6
);
11019 for (i
=0; i
<len
; i
++) {
11020 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11022 PyObject
* str
= PyObject_Unicode(item
);
11024 PyObject
* str
= PyObject_Str(item
);
11026 arg7
->Add(Py2wxString(str
));
11034 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11040 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11045 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11046 if (arg10
== NULL
) {
11047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11052 arg11
= wxString_in_helper(obj10
);
11053 if (arg11
== NULL
) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 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
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11070 if (temp7
) delete arg7
;
11083 if (temp7
) delete arg7
;
11093 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self",(char *) "n", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11106 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 (arg1
)->SetSelection(arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_PyObj_FromInt((int)result
);
11148 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11179 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11182 wxString
*arg2
= 0 ;
11184 bool temp2
= False
;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "s", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11194 arg2
= wxString_in_helper(obj1
);
11195 if (arg2
== NULL
) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11220 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_PyObj_FromInt((int)result
);
11245 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11248 wxString
*arg2
= 0 ;
11250 bool temp2
= False
;
11251 PyObject
* obj0
= 0 ;
11252 PyObject
* obj1
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self",(char *) "s", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11260 arg2
= wxString_in_helper(obj1
);
11261 if (arg2
== NULL
) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_PyObj_FromInt((int)result
);
11286 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self",(char *) "n", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11300 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11323 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11327 wxString
*arg3
= 0 ;
11328 bool temp3
= False
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "n",(char *) "label", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11339 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11343 arg3
= wxString_in_helper(obj2
);
11344 if (arg3
== NULL
) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 Py_INCREF(Py_None
); resultobj
= Py_None
;
11369 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11373 bool arg3
= (bool) True
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "n",(char *) "enable", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11384 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11389 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 (arg1
)->Enable(arg2
,arg3
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 Py_INCREF(Py_None
); resultobj
= Py_None
;
11407 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11411 bool arg3
= (bool) True
;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 PyObject
* obj2
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self",(char *) "n",(char *) "show", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11422 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11427 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->Show(arg2
,arg3
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_PyObj_FromInt((int)result
);
11470 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11474 PyObject
* obj0
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_PyObj_FromInt((int)result
);
11495 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 PyObject
* obj2
= 0 ;
11505 PyObject
* obj3
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11513 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_PyObj_FromInt((int)result
);
11538 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11541 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11543 return Py_BuildValue((char *)"");
11545 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxWindow
*arg1
= (wxWindow
*) 0 ;
11549 wxString
*arg3
= 0 ;
11550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11554 long arg6
= (long) 0 ;
11555 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11556 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11557 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11559 wxRadioButton
*result
;
11560 bool temp3
= False
;
11563 bool temp8
= False
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 PyObject
* obj2
= 0 ;
11567 PyObject
* obj3
= 0 ;
11568 PyObject
* obj4
= 0 ;
11569 PyObject
* obj5
= 0 ;
11570 PyObject
* obj6
= 0 ;
11571 PyObject
* obj7
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11579 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 arg3
= wxString_in_helper(obj2
);
11584 if (arg3
== NULL
) SWIG_fail
;
11590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11601 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11606 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11607 if (arg7
== NULL
) {
11608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11613 arg8
= wxString_in_helper(obj7
);
11614 if (arg8
== NULL
) SWIG_fail
;
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11648 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxRadioButton
*result
;
11651 char *kwnames
[] = {
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (wxRadioButton
*)new wxRadioButton();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11670 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11673 wxWindow
*arg2
= (wxWindow
*) 0 ;
11675 wxString
*arg4
= 0 ;
11676 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11677 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11678 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11679 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11680 long arg7
= (long) 0 ;
11681 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11682 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11683 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11684 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11686 bool temp4
= False
;
11689 bool temp9
= False
;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 PyObject
* obj2
= 0 ;
11693 PyObject
* obj3
= 0 ;
11694 PyObject
* obj4
= 0 ;
11695 PyObject
* obj5
= 0 ;
11696 PyObject
* obj6
= 0 ;
11697 PyObject
* obj7
= 0 ;
11698 PyObject
* obj8
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11707 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 arg4
= wxString_in_helper(obj3
);
11712 if (arg4
== NULL
) SWIG_fail
;
11718 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11724 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11729 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11734 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11735 if (arg8
== NULL
) {
11736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11741 arg9
= wxString_in_helper(obj8
);
11742 if (arg9
== NULL
) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11776 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11780 PyObject
* obj0
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (bool)(arg1
)->GetValue();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11801 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "value", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11814 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->SetValue(arg2
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 Py_INCREF(Py_None
); resultobj
= Py_None
;
11831 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11834 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11836 return Py_BuildValue((char *)"");
11838 static int _wrap_SliderNameStr_set(PyObject
*) {
11839 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11844 static PyObject
*_wrap_SliderNameStr_get() {
11849 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11851 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11858 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxWindow
*arg1
= (wxWindow
*) 0 ;
11865 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11866 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11867 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11868 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11869 long arg8
= (long) wxSL_HORIZONTAL
;
11870 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11871 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11872 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11873 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11877 bool temp10
= False
;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 PyObject
* obj2
= 0 ;
11881 PyObject
* obj3
= 0 ;
11882 PyObject
* obj4
= 0 ;
11883 PyObject
* obj5
= 0 ;
11884 PyObject
* obj6
= 0 ;
11885 PyObject
* obj7
= 0 ;
11886 PyObject
* obj8
= 0 ;
11887 PyObject
* obj9
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11913 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11919 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11924 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11929 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11930 if (arg9
== NULL
) {
11931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11936 arg10
= wxString_in_helper(obj9
);
11937 if (arg10
== NULL
) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11963 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11966 char *kwnames
[] = {
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (wxSlider
*)new wxSlider();
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11985 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxSlider
*arg1
= (wxSlider
*) 0 ;
11988 wxWindow
*arg2
= (wxWindow
*) 0 ;
11993 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11994 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11995 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11996 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11997 long arg9
= (long) wxSL_HORIZONTAL
;
11998 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11999 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12000 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12001 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12005 bool temp11
= False
;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 PyObject
* obj2
= 0 ;
12009 PyObject
* obj3
= 0 ;
12010 PyObject
* obj4
= 0 ;
12011 PyObject
* obj5
= 0 ;
12012 PyObject
* obj6
= 0 ;
12013 PyObject
* obj7
= 0 ;
12014 PyObject
* obj8
= 0 ;
12015 PyObject
* obj9
= 0 ;
12016 PyObject
* obj10
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12025 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12043 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12049 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12054 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12059 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12060 if (arg10
== NULL
) {
12061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12066 arg11
= wxString_in_helper(obj10
);
12067 if (arg11
== NULL
) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12093 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxSlider
*arg1
= (wxSlider
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_PyObj_FromInt((int)result
);
12118 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxSlider
*arg1
= (wxSlider
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "value", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 (arg1
)->SetValue(arg2
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 Py_INCREF(Py_None
); resultobj
= Py_None
;
12148 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxSlider
*arg1
= (wxSlider
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 PyObject
* obj2
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12163 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12167 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 (arg1
)->SetRange(arg2
,arg3
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 Py_INCREF(Py_None
); resultobj
= Py_None
;
12184 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxSlider
*arg1
= (wxSlider
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_PyObj_FromInt((int)result
);
12209 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxSlider
*arg1
= (wxSlider
*) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_PyObj_FromInt((int)result
);
12234 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxSlider
*arg1
= (wxSlider
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self",(char *) "minValue", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->SetMin(arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 Py_INCREF(Py_None
); resultobj
= Py_None
;
12264 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxSlider
*arg1
= (wxSlider
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self",(char *) "maxValue", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12277 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 (arg1
)->SetMax(arg2
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 Py_INCREF(Py_None
); resultobj
= Py_None
;
12294 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxSlider
*arg1
= (wxSlider
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self",(char *) "lineSize", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12307 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 (arg1
)->SetLineSize(arg2
);
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxSlider
*arg1
= (wxSlider
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "pageSize", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12337 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 (arg1
)->SetPageSize(arg2
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12354 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxSlider
*arg1
= (wxSlider
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_PyObj_FromInt((int)result
);
12379 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxSlider
*arg1
= (wxSlider
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= SWIG_PyObj_FromInt((int)result
);
12404 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxSlider
*arg1
= (wxSlider
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self",(char *) "lenPixels", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 (arg1
)->SetThumbLength(arg2
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 Py_INCREF(Py_None
); resultobj
= Py_None
;
12434 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxSlider
*arg1
= (wxSlider
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_PyObj_FromInt((int)result
);
12459 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxSlider
*arg1
= (wxSlider
*) 0 ;
12463 int arg3
= (int) 1 ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 PyObject
* obj2
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "n",(char *) "pos", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12474 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12479 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 (arg1
)->SetTickFreq(arg2
,arg3
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 Py_INCREF(Py_None
); resultobj
= Py_None
;
12497 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxSlider
*arg1
= (wxSlider
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_PyObj_FromInt((int)result
);
12522 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxSlider
*arg1
= (wxSlider
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->ClearTicks();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 Py_INCREF(Py_None
); resultobj
= Py_None
;
12546 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxSlider
*arg1
= (wxSlider
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self",(char *) "tickPos", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12559 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 (arg1
)->SetTick(arg2
);
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 Py_INCREF(Py_None
); resultobj
= Py_None
;
12576 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
;
12578 wxSlider
*arg1
= (wxSlider
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->ClearSel();
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxSlider
*arg1
= (wxSlider
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_PyObj_FromInt((int)result
);
12625 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxSlider
*arg1
= (wxSlider
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= SWIG_PyObj_FromInt((int)result
);
12650 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxSlider
*arg1
= (wxSlider
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 PyObject
* obj2
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self",(char *) "min",(char *) "max", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 (arg1
)->SetSelection(arg2
,arg3
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 Py_INCREF(Py_None
); resultobj
= Py_None
;
12686 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12689 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12691 return Py_BuildValue((char *)"");
12693 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12694 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12699 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12704 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12706 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12713 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxWindow
*arg1
= (wxWindow
*) 0 ;
12717 wxString
*arg3
= 0 ;
12718 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12719 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12720 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12721 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12722 long arg6
= (long) 0 ;
12723 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12724 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12725 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12726 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12727 wxToggleButton
*result
;
12728 bool temp3
= False
;
12731 bool temp8
= False
;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 PyObject
* obj2
= 0 ;
12735 PyObject
* obj3
= 0 ;
12736 PyObject
* obj4
= 0 ;
12737 PyObject
* obj5
= 0 ;
12738 PyObject
* obj6
= 0 ;
12739 PyObject
* obj7
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12747 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12751 arg3
= wxString_in_helper(obj2
);
12752 if (arg3
== NULL
) SWIG_fail
;
12758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12769 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12774 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12775 if (arg7
== NULL
) {
12776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12781 arg8
= wxString_in_helper(obj7
);
12782 if (arg8
== NULL
) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12816 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxToggleButton
*result
;
12819 char *kwnames
[] = {
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (wxToggleButton
*)new wxToggleButton();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12838 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12841 wxWindow
*arg2
= (wxWindow
*) 0 ;
12843 wxString
*arg4
= 0 ;
12844 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12845 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12846 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12847 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12848 long arg7
= (long) 0 ;
12849 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12850 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12851 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12852 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12854 bool temp4
= False
;
12857 bool temp9
= False
;
12858 PyObject
* obj0
= 0 ;
12859 PyObject
* obj1
= 0 ;
12860 PyObject
* obj2
= 0 ;
12861 PyObject
* obj3
= 0 ;
12862 PyObject
* obj4
= 0 ;
12863 PyObject
* obj5
= 0 ;
12864 PyObject
* obj6
= 0 ;
12865 PyObject
* obj7
= 0 ;
12866 PyObject
* obj8
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12875 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12879 arg4
= wxString_in_helper(obj3
);
12880 if (arg4
== NULL
) SWIG_fail
;
12886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12897 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12902 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12903 if (arg8
== NULL
) {
12904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12909 arg9
= wxString_in_helper(obj8
);
12910 if (arg9
== NULL
) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12944 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self",(char *) "value", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12957 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 (arg1
)->SetValue(arg2
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 Py_INCREF(Py_None
); resultobj
= Py_None
;
12974 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12999 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13002 wxString
*arg2
= 0 ;
13003 bool temp2
= False
;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self",(char *) "label", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13013 arg2
= wxString_in_helper(obj1
);
13014 if (arg2
== NULL
) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 (arg1
)->SetLabel((wxString
const &)*arg2
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 Py_INCREF(Py_None
); resultobj
= Py_None
;
13039 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13042 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13044 return Py_BuildValue((char *)"");
13046 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
13047 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13052 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13057 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13059 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13066 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13070 PyObject
* obj0
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
13091 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self",(char *) "n", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13105 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= wxPyMake_wxObject(result
);
13124 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_PyObj_FromInt((int)result
);
13149 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13153 wxString
*arg3
= 0 ;
13155 bool temp3
= False
;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 PyObject
* obj2
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "self",(char *) "n",(char *) "strText", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13166 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 arg3
= wxString_in_helper(obj2
);
13171 if (arg3
== NULL
) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13196 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "self",(char *) "n", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13210 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13233 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13236 wxImageList
*arg2
= (wxImageList
*) 0 ;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self",(char *) "imageList", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->SetImageList(arg2
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13263 wxImageList
*arg2
= (wxImageList
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "imageList", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 (arg1
)->AssignImageList(arg2
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 Py_INCREF(Py_None
); resultobj
= Py_None
;
13287 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13290 wxImageList
*result
;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= wxPyMake_wxObject(result
);
13314 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "n", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13328 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_PyObj_FromInt((int)result
);
13345 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "n",(char *) "imageId", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13361 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13365 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "size", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 Py_INCREF(Py_None
); resultobj
= Py_None
;
13413 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "sizePage", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13429 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13439 wxSize
* resultptr
;
13440 resultptr
= new wxSize((wxSize
&) result
);
13441 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13449 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "n", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13463 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)(arg1
)->DeletePage(arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13480 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 PyObject
* obj1
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self",(char *) "n", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13494 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (bool)(arg1
)->RemovePage(arg2
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= (bool)(arg1
)->DeleteAllPages();
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13536 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13539 wxWindow
*arg2
= (wxWindow
*) 0 ;
13540 wxString
*arg3
= 0 ;
13541 bool arg4
= (bool) False
;
13542 int arg5
= (int) -1 ;
13544 bool temp3
= False
;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 PyObject
* obj2
= 0 ;
13548 PyObject
* obj3
= 0 ;
13549 PyObject
* obj4
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13558 arg3
= wxString_in_helper(obj2
);
13559 if (arg3
== NULL
) SWIG_fail
;
13564 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13570 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13596 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13600 wxWindow
*arg3
= (wxWindow
*) 0 ;
13601 wxString
*arg4
= 0 ;
13602 bool arg5
= (bool) False
;
13603 int arg6
= (int) -1 ;
13605 bool temp4
= False
;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 PyObject
* obj2
= 0 ;
13609 PyObject
* obj3
= 0 ;
13610 PyObject
* obj4
= 0 ;
13611 PyObject
* obj5
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13619 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13624 arg4
= wxString_in_helper(obj3
);
13625 if (arg4
== NULL
) SWIG_fail
;
13630 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13636 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13662 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self",(char *) "n", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13676 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (int)(arg1
)->SetSelection(arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_PyObj_FromInt((int)result
);
13693 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13696 bool arg2
= (bool) True
;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "forward", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13707 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->AdvanceSelection(arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13728 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13730 return Py_BuildValue((char *)"");
13732 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13735 int arg2
= (int) 0 ;
13736 int arg3
= (int) -1 ;
13737 int arg4
= (int) -1 ;
13738 wxBookCtrlEvent
*result
;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 PyObject
* obj2
= 0 ;
13742 PyObject
* obj3
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13750 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13756 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13762 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13768 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13786 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= SWIG_PyObj_FromInt((int)result
);
13811 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "nSel", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 (arg1
)->SetSelection(arg2
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 Py_INCREF(Py_None
); resultobj
= Py_None
;
13841 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13845 PyObject
* obj0
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_PyObj_FromInt((int)result
);
13866 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self",(char *) "nOldSel", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13879 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 (arg1
)->SetOldSelection(arg2
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 Py_INCREF(Py_None
); resultobj
= Py_None
;
13896 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13899 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13901 return Py_BuildValue((char *)"");
13903 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxWindow
*arg1
= (wxWindow
*) 0 ;
13907 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13908 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13909 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13910 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13911 long arg5
= (long) 0 ;
13912 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13913 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13914 wxNotebook
*result
;
13917 bool temp6
= False
;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 PyObject
* obj2
= 0 ;
13921 PyObject
* obj3
= 0 ;
13922 PyObject
* obj4
= 0 ;
13923 PyObject
* obj5
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13931 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13943 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13948 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13954 arg6
= wxString_in_helper(obj5
);
13955 if (arg6
== NULL
) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= wxPyMake_wxObject(result
);
13983 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxNotebook
*result
;
13986 char *kwnames
[] = {
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (wxNotebook
*)new wxNotebook();
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= wxPyMake_wxObject(result
);
14007 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14010 wxWindow
*arg2
= (wxWindow
*) 0 ;
14012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14016 long arg6
= (long) 0 ;
14017 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14018 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14022 bool temp7
= False
;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 PyObject
* obj3
= 0 ;
14027 PyObject
* obj4
= 0 ;
14028 PyObject
* obj5
= 0 ;
14029 PyObject
* obj6
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14038 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14055 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14061 arg7
= wxString_in_helper(obj6
);
14062 if (arg7
== NULL
) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14088 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 resultobj
= SWIG_PyObj_FromInt((int)result
);
14113 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 PyObject
* obj1
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self",(char *) "padding", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj1
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self",(char *) "sz", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 Py_INCREF(Py_None
); resultobj
= Py_None
;
14175 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14178 wxPoint
*arg2
= 0 ;
14179 long *arg3
= (long *) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 PyObject
* obj1
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self",(char *) "pt", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_PyObj_FromInt((int)result
);
14205 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14206 resultobj
= t_output_helper(resultobj
,o
);
14214 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
;
14216 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 PyObject
* obj1
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "self",(char *) "sizePage", NULL
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 wxSize
* resultptr
;
14241 resultptr
= new wxSize((wxSize
&) result
);
14242 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14250 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14253 wxWindow
*arg2
= (wxWindow
*) 0 ;
14254 wxColour
*arg3
= 0 ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "window",(char *) "colour", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14268 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14287 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14289 return Py_BuildValue((char *)"");
14291 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14294 int arg2
= (int) 0 ;
14295 int arg3
= (int) -1 ;
14296 int arg4
= (int) -1 ;
14297 wxNotebookEvent
*result
;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 PyObject
* obj2
= 0 ;
14301 PyObject
* obj3
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14309 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14315 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14321 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14327 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14345 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14348 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14350 return Py_BuildValue((char *)"");
14352 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxWindow
*arg1
= (wxWindow
*) 0 ;
14356 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14357 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14360 long arg5
= (long) 0 ;
14361 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14362 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14363 wxListbook
*result
;
14366 bool temp6
= False
;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 PyObject
* obj3
= 0 ;
14371 PyObject
* obj4
= 0 ;
14372 PyObject
* obj5
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14380 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14392 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14397 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14403 arg6
= wxString_in_helper(obj5
);
14404 if (arg6
== NULL
) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14430 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxListbook
*result
;
14433 char *kwnames
[] = {
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (wxListbook
*)new wxListbook();
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14452 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxListbook
*arg1
= (wxListbook
*) 0 ;
14455 wxWindow
*arg2
= (wxWindow
*) 0 ;
14457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14461 long arg6
= (long) 0 ;
14462 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14467 bool temp7
= False
;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 PyObject
* obj3
= 0 ;
14472 PyObject
* obj4
= 0 ;
14473 PyObject
* obj5
= 0 ;
14474 PyObject
* obj6
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14483 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14500 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14506 arg7
= wxString_in_helper(obj6
);
14507 if (arg7
== NULL
) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14533 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxListbook
*arg1
= (wxListbook
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14558 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14561 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14563 return Py_BuildValue((char *)"");
14565 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14568 int arg2
= (int) 0 ;
14569 int arg3
= (int) -1 ;
14570 int arg4
= (int) -1 ;
14571 wxListbookEvent
*result
;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 PyObject
* obj2
= 0 ;
14575 PyObject
* obj3
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14583 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14595 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14601 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14619 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14622 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14624 return Py_BuildValue((char *)"");
14626 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14629 wxBookCtrlSizer
*result
;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "nb", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14651 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 (arg1
)->RecalcSizes();
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 Py_INCREF(Py_None
); resultobj
= Py_None
;
14675 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14679 PyObject
* obj0
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (arg1
)->CalcMin();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14694 wxSize
* resultptr
;
14695 resultptr
= new wxSize((wxSize
&) result
);
14696 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14704 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14707 wxBookCtrl
*result
;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14729 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14732 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14734 return Py_BuildValue((char *)"");
14736 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14739 wxNotebookSizer
*result
;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "nb", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14761 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 (arg1
)->RecalcSizes();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 Py_INCREF(Py_None
); resultobj
= Py_None
;
14785 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14789 PyObject
* obj0
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (arg1
)->CalcMin();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14804 wxSize
* resultptr
;
14805 resultptr
= new wxSize((wxSize
&) result
);
14806 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14814 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14817 wxNotebook
*result
;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= wxPyMake_wxObject(result
);
14841 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14844 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14846 return Py_BuildValue((char *)"");
14848 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)(arg1
)->GetId();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_PyObj_FromInt((int)result
);
14873 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (wxControl
*)(arg1
)->GetControl();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= wxPyMake_wxObject(result
);
14900 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14903 wxToolBarBase
*result
;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= wxPyMake_wxObject(result
);
14927 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (int)(arg1
)->IsButton();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_PyObj_FromInt((int)result
);
14952 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (int)(arg1
)->IsControl();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_PyObj_FromInt((int)result
);
14977 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (int)(arg1
)->IsSeparator();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_PyObj_FromInt((int)result
);
15002 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (int)(arg1
)->GetStyle();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_PyObj_FromInt((int)result
);
15027 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (int)(arg1
)->GetKind();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_PyObj_FromInt((int)result
);
15052 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (bool)(arg1
)->IsEnabled();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15077 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)(arg1
)->IsToggled();
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15102 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (bool)(arg1
)->CanBeToggled();
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15127 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15142 result
= (wxBitmap
*) &_result_ref
;
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15155 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15170 result
= (wxBitmap
*) &_result_ref
;
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15183 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (arg1
)->GetBitmap();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 wxBitmap
* resultptr
;
15203 resultptr
= new wxBitmap((wxBitmap
&) result
);
15204 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15212 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
;
15214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (arg1
)->GetLabel();
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15243 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (arg1
)->GetShortHelp();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15274 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (arg1
)->GetLongHelp();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15305 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 PyObject
* obj1
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self",(char *) "enable", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15319 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (bool)(arg1
)->Enable(arg2
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 Py_INCREF(Py_None
); resultobj
= Py_None
;
15360 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "toggle", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15374 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= (bool)(arg1
)->SetToggle(arg2
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15391 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
;
15393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15394 wxString
*arg2
= 0 ;
15396 bool temp2
= False
;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self",(char *) "help", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15406 arg2
= wxString_in_helper(obj1
);
15407 if (arg2
== NULL
) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15435 wxString
*arg2
= 0 ;
15437 bool temp2
= False
;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "help", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15447 arg2
= wxString_in_helper(obj1
);
15448 if (arg2
== NULL
) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15473 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15476 wxBitmap
*arg2
= 0 ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self",(char *) "bmp", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15486 if (arg2
== NULL
) {
15487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15503 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15506 wxBitmap
*arg2
= 0 ;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self",(char *) "bmp", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15516 if (arg2
== NULL
) {
15517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 Py_INCREF(Py_None
); resultobj
= Py_None
;
15533 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15536 wxString
*arg2
= 0 ;
15537 bool temp2
= False
;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "label", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15547 arg2
= wxString_in_helper(obj1
);
15548 if (arg2
== NULL
) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 (arg1
)->SetLabel((wxString
const &)*arg2
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 Py_INCREF(Py_None
); resultobj
= Py_None
;
15597 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15600 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self",(char *) "tbar", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 (arg1
)->Attach(arg2
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 Py_INCREF(Py_None
); resultobj
= Py_None
;
15624 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
;
15649 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15652 PyObject
*arg2
= (PyObject
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "clientData", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 Py_INCREF(Py_None
); resultobj
= Py_None
;
15676 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15679 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15681 return Py_BuildValue((char *)"");
15683 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15687 wxString
*arg3
= 0 ;
15688 wxBitmap
*arg4
= 0 ;
15689 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15690 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15691 int arg6
= (int) wxITEM_NORMAL
;
15692 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15694 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15695 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15696 PyObject
*arg9
= (PyObject
*) NULL
;
15697 wxToolBarToolBase
*result
;
15698 bool temp3
= False
;
15699 bool temp7
= False
;
15700 bool temp8
= False
;
15701 PyObject
* obj0
= 0 ;
15702 PyObject
* obj1
= 0 ;
15703 PyObject
* obj2
= 0 ;
15704 PyObject
* obj3
= 0 ;
15705 PyObject
* obj4
= 0 ;
15706 PyObject
* obj5
= 0 ;
15707 PyObject
* obj6
= 0 ;
15708 PyObject
* obj7
= 0 ;
15709 PyObject
* obj8
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 arg3
= wxString_in_helper(obj2
);
15722 if (arg3
== NULL
) SWIG_fail
;
15725 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15726 if (arg4
== NULL
) {
15727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15730 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15731 if (arg5
== NULL
) {
15732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15737 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15743 arg7
= wxString_in_helper(obj6
);
15744 if (arg7
== NULL
) SWIG_fail
;
15750 arg8
= wxString_in_helper(obj7
);
15751 if (arg8
== NULL
) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= wxPyMake_wxObject(result
);
15798 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15803 wxString
*arg4
= 0 ;
15804 wxBitmap
*arg5
= 0 ;
15805 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15806 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15807 int arg7
= (int) wxITEM_NORMAL
;
15808 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15809 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15810 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15811 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15812 PyObject
*arg10
= (PyObject
*) NULL
;
15813 wxToolBarToolBase
*result
;
15814 bool temp4
= False
;
15815 bool temp8
= False
;
15816 bool temp9
= False
;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 PyObject
* obj3
= 0 ;
15821 PyObject
* obj4
= 0 ;
15822 PyObject
* obj5
= 0 ;
15823 PyObject
* obj6
= 0 ;
15824 PyObject
* obj7
= 0 ;
15825 PyObject
* obj8
= 0 ;
15826 PyObject
* obj9
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15834 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 arg4
= wxString_in_helper(obj3
);
15843 if (arg4
== NULL
) SWIG_fail
;
15846 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15847 if (arg5
== NULL
) {
15848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15851 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15852 if (arg6
== NULL
) {
15853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15858 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15864 arg8
= wxString_in_helper(obj7
);
15865 if (arg8
== NULL
) SWIG_fail
;
15871 arg9
= wxString_in_helper(obj8
);
15872 if (arg9
== NULL
) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 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
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= wxPyMake_wxObject(result
);
15919 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15922 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15923 wxToolBarToolBase
*result
;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self",(char *) "tool", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15941 resultobj
= wxPyMake_wxObject(result
);
15949 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15953 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15954 wxToolBarToolBase
*result
;
15955 PyObject
* obj0
= 0 ;
15956 PyObject
* obj1
= 0 ;
15957 PyObject
* obj2
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "pos",(char *) "tool", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= wxPyMake_wxObject(result
);
15985 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15988 wxControl
*arg2
= (wxControl
*) 0 ;
15989 wxToolBarToolBase
*result
;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "control", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= wxPyMake_wxObject(result
);
16015 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16019 wxControl
*arg3
= (wxControl
*) 0 ;
16020 wxToolBarToolBase
*result
;
16021 PyObject
* obj0
= 0 ;
16022 PyObject
* obj1
= 0 ;
16023 PyObject
* obj2
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "pos",(char *) "control", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16031 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= wxPyMake_wxObject(result
);
16051 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "id", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16065 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= wxPyMake_wxObject(result
);
16084 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16087 wxToolBarToolBase
*result
;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= wxPyMake_wxObject(result
);
16111 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16115 wxToolBarToolBase
*result
;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self",(char *) "pos", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16125 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= wxPyMake_wxObject(result
);
16144 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16148 wxToolBarToolBase
*result
;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "id", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16158 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= wxPyMake_wxObject(result
);
16177 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self",(char *) "pos", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16191 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16208 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "id", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16222 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (bool)(arg1
)->DeleteTool(arg2
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 (arg1
)->ClearTools();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16263 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (bool)(arg1
)->Realize();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16288 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 PyObject
* obj2
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "id",(char *) "enable", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16303 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->EnableTool(arg2
,arg3
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 PyObject
* obj2
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "id",(char *) "toggle", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16339 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 (arg1
)->ToggleTool(arg2
,arg3
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 Py_INCREF(Py_None
); resultobj
= Py_None
;
16360 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 PyObject
* obj2
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "id",(char *) "toggle", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 (arg1
)->SetToggle(arg2
,arg3
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 Py_INCREF(Py_None
); resultobj
= Py_None
;
16396 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "id", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= result
;
16427 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16431 PyObject
*arg3
= (PyObject
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 PyObject
* obj2
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self",(char *) "id",(char *) "clientData", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16442 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self",(char *) "id", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16474 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= SWIG_PyObj_FromInt((int)result
);
16491 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "id", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",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 result
= (bool)(arg1
)->GetToolState(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16522 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "id", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16536 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16553 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16557 wxString
*arg3
= 0 ;
16558 bool temp3
= False
;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 PyObject
* obj2
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self",(char *) "id",(char *) "helpString", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16569 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16573 arg3
= wxString_in_helper(obj2
);
16574 if (arg3
== NULL
) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16599 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "id", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16613 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (arg1
)->GetToolShortHelp(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16636 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16640 wxString
*arg3
= 0 ;
16641 bool temp3
= False
;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 PyObject
* obj2
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self",(char *) "id",(char *) "helpString", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 arg3
= wxString_in_helper(obj2
);
16657 if (arg3
== NULL
) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16667 Py_INCREF(Py_None
); resultobj
= Py_None
;
16682 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 PyObject
* obj1
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "self",(char *) "id", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (arg1
)->GetToolLongHelp(arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16719 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 PyObject
* obj2
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "x",(char *) "y", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16734 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 (arg1
)->SetMargins(arg2
,arg3
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 Py_INCREF(Py_None
); resultobj
= Py_None
;
16755 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 PyObject
* obj1
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "self",(char *) "size", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16770 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 Py_INCREF(Py_None
); resultobj
= Py_None
;
16786 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "packing", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 (arg1
)->SetToolPacking(arg2
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 Py_INCREF(Py_None
); resultobj
= Py_None
;
16816 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 PyObject
* obj1
= 0 ;
16822 char *kwnames
[] = {
16823 (char *) "self",(char *) "separation", NULL
16826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16829 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 (arg1
)->SetToolSeparation(arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 Py_INCREF(Py_None
); resultobj
= Py_None
;
16846 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (arg1
)->GetToolMargins();
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 wxSize
* resultptr
;
16866 resultptr
= new wxSize((wxSize
&) result
);
16867 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16875 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (arg1
)->GetMargins();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 wxSize
* resultptr
;
16895 resultptr
= new wxSize((wxSize
&) result
);
16896 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16904 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (int)(arg1
)->GetToolPacking();
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_PyObj_FromInt((int)result
);
16929 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16933 PyObject
* obj0
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (int)(arg1
)->GetToolSeparation();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_PyObj_FromInt((int)result
);
16954 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "nRows", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16967 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 (arg1
)->SetRows(arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 Py_INCREF(Py_None
); resultobj
= Py_None
;
16984 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 PyObject
* obj2
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "rows",(char *) "cols", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16999 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17003 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 Py_INCREF(Py_None
); resultobj
= Py_None
;
17020 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (int)(arg1
)->GetMaxRows();
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_PyObj_FromInt((int)result
);
17045 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 char *kwnames
[] = {
17051 (char *) "self", NULL
17054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (int)(arg1
)->GetMaxCols();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_PyObj_FromInt((int)result
);
17070 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self",(char *) "size", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 Py_INCREF(Py_None
); resultobj
= Py_None
;
17101 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (arg1
)->GetToolBitmapSize();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 wxSize
* resultptr
;
17121 resultptr
= new wxSize((wxSize
&) result
);
17122 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17130 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (arg1
)->GetToolSize();
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 wxSize
* resultptr
;
17150 resultptr
= new wxSize((wxSize
&) result
);
17151 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17159 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17164 wxToolBarToolBase
*result
;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 PyObject
* obj2
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self",(char *) "x",(char *) "y", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17175 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= wxPyMake_wxObject(result
);
17198 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17202 wxToolBarToolBase
*result
;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self",(char *) "toolid", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= wxPyMake_wxObject(result
);
17231 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17235 PyObject
* obj0
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= (bool)(arg1
)->IsVertical();
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17256 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17259 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17261 return Py_BuildValue((char *)"");
17263 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxWindow
*arg1
= (wxWindow
*) 0 ;
17267 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17268 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17269 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17270 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17271 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17272 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17273 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17277 bool temp6
= False
;
17278 PyObject
* obj0
= 0 ;
17279 PyObject
* obj1
= 0 ;
17280 PyObject
* obj2
= 0 ;
17281 PyObject
* obj3
= 0 ;
17282 PyObject
* obj4
= 0 ;
17283 PyObject
* obj5
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17308 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17314 arg6
= wxString_in_helper(obj5
);
17315 if (arg6
== NULL
) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= wxPyMake_wxObject(result
);
17343 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17346 char *kwnames
[] = {
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (wxToolBar
*)new wxToolBar();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= wxPyMake_wxObject(result
);
17367 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17370 wxWindow
*arg2
= (wxWindow
*) 0 ;
17372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17376 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17377 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17378 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17382 bool temp7
= False
;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 PyObject
* obj2
= 0 ;
17386 PyObject
* obj3
= 0 ;
17387 PyObject
* obj4
= 0 ;
17388 PyObject
* obj5
= 0 ;
17389 PyObject
* obj6
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17398 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17415 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17421 arg7
= wxString_in_helper(obj6
);
17422 if (arg7
== NULL
) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17448 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17453 wxToolBarToolBase
*result
;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 PyObject
* obj2
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "x",(char *) "y", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17464 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= wxPyMake_wxObject(result
);
17487 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17490 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17492 return Py_BuildValue((char *)"");
17494 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17495 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17500 static PyObject
*_wrap_ListCtrlNameStr_get() {
17505 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17507 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17514 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxColour
const &arg1_defvalue
= wxNullColour
;
17517 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17518 wxColour
const &arg2_defvalue
= wxNullColour
;
17519 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17520 wxFont
const &arg3_defvalue
= wxNullFont
;
17521 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17522 wxListItemAttr
*result
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17536 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17542 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17546 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17547 if (arg3
== NULL
) {
17548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17565 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17568 wxColour
*arg2
= 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "colText", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17580 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17599 wxColour
*arg2
= 0 ;
17601 PyObject
* obj0
= 0 ;
17602 PyObject
* obj1
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self",(char *) "colBack", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 Py_INCREF(Py_None
); resultobj
= Py_None
;
17627 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "font", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17640 if (arg2
== NULL
) {
17641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 (arg1
)->SetFont((wxFont
const &)*arg2
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 Py_INCREF(Py_None
); resultobj
= Py_None
;
17657 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (bool)(arg1
)->HasTextColour();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17682 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17686 PyObject
* obj0
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (bool)(arg1
)->HasBackgroundColour();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17707 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (bool)(arg1
)->HasFont();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17732 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (arg1
)->GetTextColour();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 wxColour
* resultptr
;
17752 resultptr
= new wxColour((wxColour
&) result
);
17753 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17761 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (arg1
)->GetBackgroundColour();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 wxColour
* resultptr
;
17781 resultptr
= new wxColour((wxColour
&) result
);
17782 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17790 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (arg1
)->GetFont();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 wxFont
* resultptr
;
17810 resultptr
= new wxFont((wxFont
&) result
);
17811 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17819 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 wxListItemAttr_Destroy(arg1
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 Py_INCREF(Py_None
); resultobj
= Py_None
;
17843 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17846 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17848 return Py_BuildValue((char *)"");
17850 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxListItem
*result
;
17853 char *kwnames
[] = {
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= (wxListItem
*)new wxListItem();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= wxPyMake_wxObject(result
);
17874 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxListItem
*arg1
= (wxListItem
*) 0 ;
17877 PyObject
* obj0
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxListItem
*arg1
= (wxListItem
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 Py_INCREF(Py_None
); resultobj
= Py_None
;
17922 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxListItem
*arg1
= (wxListItem
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 (arg1
)->ClearAttributes();
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 Py_INCREF(Py_None
); resultobj
= Py_None
;
17946 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxListItem
*arg1
= (wxListItem
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self",(char *) "mask", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17959 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->SetMask(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 Py_INCREF(Py_None
); resultobj
= Py_None
;
17976 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxListItem
*arg1
= (wxListItem
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "self",(char *) "id", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17989 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->SetId(arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxListItem
*arg1
= (wxListItem
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "col", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->SetColumn(arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 Py_INCREF(Py_None
); resultobj
= Py_None
;
18036 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxListItem
*arg1
= (wxListItem
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self",(char *) "state", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18049 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 (arg1
)->SetState(arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 Py_INCREF(Py_None
); resultobj
= Py_None
;
18066 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxListItem
*arg1
= (wxListItem
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "stateMask", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 (arg1
)->SetStateMask(arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 Py_INCREF(Py_None
); resultobj
= Py_None
;
18096 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxListItem
*arg1
= (wxListItem
*) 0 ;
18099 wxString
*arg2
= 0 ;
18100 bool temp2
= False
;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "text", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18110 arg2
= wxString_in_helper(obj1
);
18111 if (arg2
== NULL
) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 (arg1
)->SetText((wxString
const &)*arg2
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 Py_INCREF(Py_None
); resultobj
= Py_None
;
18136 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxListItem
*arg1
= (wxListItem
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self",(char *) "image", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18149 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 (arg1
)->SetImage(arg2
);
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 Py_INCREF(Py_None
); resultobj
= Py_None
;
18166 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxListItem
*arg1
= (wxListItem
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "data", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18179 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->SetData(arg2
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 Py_INCREF(Py_None
); resultobj
= Py_None
;
18196 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxListItem
*arg1
= (wxListItem
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "width", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18209 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 (arg1
)->SetWidth(arg2
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 Py_INCREF(Py_None
); resultobj
= Py_None
;
18226 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxListItem
*arg1
= (wxListItem
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "align", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18239 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 Py_INCREF(Py_None
); resultobj
= Py_None
;
18256 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxListItem
*arg1
= (wxListItem
*) 0 ;
18259 wxColour
*arg2
= 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "colText", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18271 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 Py_INCREF(Py_None
); resultobj
= Py_None
;
18287 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxListItem
*arg1
= (wxListItem
*) 0 ;
18290 wxColour
*arg2
= 0 ;
18292 PyObject
* obj0
= 0 ;
18293 PyObject
* obj1
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self",(char *) "colBack", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 Py_INCREF(Py_None
); resultobj
= Py_None
;
18318 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxListItem
*arg1
= (wxListItem
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "font", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18331 if (arg2
== NULL
) {
18332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->SetFont((wxFont
const &)*arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxListItem
*arg1
= (wxListItem
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (long)(arg1
)->GetMask();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_PyObj_FromLong((long)result
);
18373 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxListItem
*arg1
= (wxListItem
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (long)(arg1
)->GetId();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_PyObj_FromLong((long)result
);
18398 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxListItem
*arg1
= (wxListItem
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (int)(arg1
)->GetColumn();
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_PyObj_FromInt((int)result
);
18423 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxListItem
*arg1
= (wxListItem
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= (long)(arg1
)->GetState();
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_PyObj_FromLong((long)result
);
18448 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxListItem
*arg1
= (wxListItem
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 wxString
const &_result_ref
= (arg1
)->GetText();
18463 result
= (wxString
*) &_result_ref
;
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18473 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18482 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxListItem
*arg1
= (wxListItem
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (int)(arg1
)->GetImage();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_PyObj_FromInt((int)result
);
18507 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxListItem
*arg1
= (wxListItem
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 result
= (long)(arg1
)->GetData();
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_PyObj_FromLong((long)result
);
18532 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
;
18534 wxListItem
*arg1
= (wxListItem
*) 0 ;
18536 PyObject
* obj0
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (int)(arg1
)->GetWidth();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_PyObj_FromInt((int)result
);
18557 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxListItem
*arg1
= (wxListItem
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (int)(arg1
)->GetAlign();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_PyObj_FromInt((int)result
);
18582 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxListItem
*arg1
= (wxListItem
*) 0 ;
18585 wxListItemAttr
*result
;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18607 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxListItem
*arg1
= (wxListItem
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= (bool)(arg1
)->HasAttributes();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18632 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxListItem
*arg1
= (wxListItem
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 wxColour
* resultptr
;
18652 resultptr
= new wxColour((wxColour
&) result
);
18653 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18661 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxListItem
*arg1
= (wxListItem
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 wxColour
* resultptr
;
18681 resultptr
= new wxColour((wxColour
&) result
);
18682 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18690 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxListItem
*arg1
= (wxListItem
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= ((wxListItem
const *)arg1
)->GetFont();
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 wxFont
* resultptr
;
18710 resultptr
= new wxFont((wxFont
&) result
);
18711 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18719 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxListItem
*arg1
= (wxListItem
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self",(char *) "m_mask", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18732 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18735 if (arg1
) (arg1
)->m_mask
= arg2
;
18737 Py_INCREF(Py_None
); resultobj
= Py_None
;
18744 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxListItem
*arg1
= (wxListItem
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18755 result
= (long) ((arg1
)->m_mask
);
18757 resultobj
= SWIG_PyObj_FromLong((long)result
);
18764 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxListItem
*arg1
= (wxListItem
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 PyObject
* obj1
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self",(char *) "m_itemId", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18777 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 if (arg1
) (arg1
)->m_itemId
= arg2
;
18782 Py_INCREF(Py_None
); resultobj
= Py_None
;
18789 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxListItem
*arg1
= (wxListItem
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18800 result
= (long) ((arg1
)->m_itemId
);
18802 resultobj
= SWIG_PyObj_FromLong((long)result
);
18809 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxListItem
*arg1
= (wxListItem
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self",(char *) "m_col", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18822 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 if (arg1
) (arg1
)->m_col
= arg2
;
18827 Py_INCREF(Py_None
); resultobj
= Py_None
;
18834 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxListItem
*arg1
= (wxListItem
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18845 result
= (int) ((arg1
)->m_col
);
18847 resultobj
= SWIG_PyObj_FromInt((int)result
);
18854 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxListItem
*arg1
= (wxListItem
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 PyObject
* obj1
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self",(char *) "m_state", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18867 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 if (arg1
) (arg1
)->m_state
= arg2
;
18872 Py_INCREF(Py_None
); resultobj
= Py_None
;
18879 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxListItem
*arg1
= (wxListItem
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18890 result
= (long) ((arg1
)->m_state
);
18892 resultobj
= SWIG_PyObj_FromLong((long)result
);
18899 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxListItem
*arg1
= (wxListItem
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self",(char *) "m_stateMask", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18912 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18917 Py_INCREF(Py_None
); resultobj
= Py_None
;
18924 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxListItem
*arg1
= (wxListItem
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18935 result
= (long) ((arg1
)->m_stateMask
);
18937 resultobj
= SWIG_PyObj_FromLong((long)result
);
18944 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxListItem
*arg1
= (wxListItem
*) 0 ;
18947 wxString
*arg2
= (wxString
*) 0 ;
18948 bool temp2
= False
;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "m_text", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 arg2
= wxString_in_helper(obj1
);
18959 if (arg2
== NULL
) SWIG_fail
;
18962 if (arg1
) (arg1
)->m_text
= *arg2
;
18964 Py_INCREF(Py_None
); resultobj
= Py_None
;
18979 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxListItem
*arg1
= (wxListItem
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18990 result
= (wxString
*)& ((arg1
)->m_text
);
18994 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18996 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19005 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxListItem
*arg1
= (wxListItem
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self",(char *) "m_image", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19018 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 if (arg1
) (arg1
)->m_image
= arg2
;
19023 Py_INCREF(Py_None
); resultobj
= Py_None
;
19030 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxListItem
*arg1
= (wxListItem
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19041 result
= (int) ((arg1
)->m_image
);
19043 resultobj
= SWIG_PyObj_FromInt((int)result
);
19050 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxListItem
*arg1
= (wxListItem
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "m_data", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19063 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 if (arg1
) (arg1
)->m_data
= arg2
;
19068 Py_INCREF(Py_None
); resultobj
= Py_None
;
19075 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxListItem
*arg1
= (wxListItem
*) 0 ;
19079 PyObject
* obj0
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19086 result
= (long) ((arg1
)->m_data
);
19088 resultobj
= SWIG_PyObj_FromLong((long)result
);
19095 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxListItem
*arg1
= (wxListItem
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "m_format", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19108 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 if (arg1
) (arg1
)->m_format
= arg2
;
19113 Py_INCREF(Py_None
); resultobj
= Py_None
;
19120 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxListItem
*arg1
= (wxListItem
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 char *kwnames
[] = {
19126 (char *) "self", NULL
19129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19131 result
= (int) ((arg1
)->m_format
);
19133 resultobj
= SWIG_PyObj_FromInt((int)result
);
19140 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxListItem
*arg1
= (wxListItem
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "m_width", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19153 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 if (arg1
) (arg1
)->m_width
= arg2
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxListItem
*arg1
= (wxListItem
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19176 result
= (int) ((arg1
)->m_width
);
19178 resultobj
= SWIG_PyObj_FromInt((int)result
);
19185 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19188 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19190 return Py_BuildValue((char *)"");
19192 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19195 int arg2
= (int) 0 ;
19196 wxListEvent
*result
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "commandType",(char *) "id", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19230 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 PyObject
* obj1
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self",(char *) "m_code", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 if (arg1
) (arg1
)->m_code
= arg2
;
19248 Py_INCREF(Py_None
); resultobj
= Py_None
;
19255 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19266 result
= (int) ((arg1
)->m_code
);
19268 resultobj
= SWIG_PyObj_FromInt((int)result
);
19275 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "m_oldItemIndex", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19288 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19293 Py_INCREF(Py_None
); resultobj
= Py_None
;
19300 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19311 result
= (long) ((arg1
)->m_oldItemIndex
);
19313 resultobj
= SWIG_PyObj_FromLong((long)result
);
19320 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self",(char *) "m_itemIndex", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19333 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19338 Py_INCREF(Py_None
); resultobj
= Py_None
;
19345 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19356 result
= (long) ((arg1
)->m_itemIndex
);
19358 resultobj
= SWIG_PyObj_FromLong((long)result
);
19365 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "m_col", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19378 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 if (arg1
) (arg1
)->m_col
= arg2
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19401 result
= (int) ((arg1
)->m_col
);
19403 resultobj
= SWIG_PyObj_FromInt((int)result
);
19410 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19413 wxPoint
*arg2
= (wxPoint
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self",(char *) "m_pointDrag", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19423 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19425 Py_INCREF(Py_None
); resultobj
= Py_None
;
19432 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19443 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19452 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19455 wxListItem
*result
;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19463 result
= (wxListItem
*)& ((arg1
)->m_item
);
19466 resultobj
= wxPyMake_wxObject(result
);
19474 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (int)(arg1
)->GetKeyCode();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_PyObj_FromInt((int)result
);
19499 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (long)(arg1
)->GetIndex();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_PyObj_FromLong((long)result
);
19524 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 result
= (int)(arg1
)->GetColumn();
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_PyObj_FromInt((int)result
);
19549 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (arg1
)->GetPoint();
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19568 wxPoint
* resultptr
;
19569 resultptr
= new wxPoint((wxPoint
&) result
);
19570 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19578 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
;
19580 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19582 PyObject
* obj0
= 0 ;
19583 char *kwnames
[] = {
19584 (char *) "self", NULL
19587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 wxString
const &_result_ref
= (arg1
)->GetLabel();
19593 result
= (wxString
*) &_result_ref
;
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19603 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19612 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 wxString
const &_result_ref
= (arg1
)->GetText();
19627 result
= (wxString
*) &_result_ref
;
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19646 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (int)(arg1
)->GetImage();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_PyObj_FromInt((int)result
);
19671 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 char *kwnames
[] = {
19677 (char *) "self", NULL
19680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (long)(arg1
)->GetData();
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= SWIG_PyObj_FromLong((long)result
);
19696 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19700 PyObject
* obj0
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (long)(arg1
)->GetMask();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_PyObj_FromLong((long)result
);
19721 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19724 wxListItem
*result
;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19736 result
= (wxListItem
*) &_result_ref
;
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19749 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (long)(arg1
)->GetCacheFrom();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_PyObj_FromLong((long)result
);
19774 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (long)(arg1
)->GetCacheTo();
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_PyObj_FromLong((long)result
);
19799 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19824 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self",(char *) "editCancelled", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19837 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 (arg1
)->SetEditCanceled(arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 Py_INCREF(Py_None
); resultobj
= Py_None
;
19854 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19857 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19859 return Py_BuildValue((char *)"");
19861 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxWindow
*arg1
= (wxWindow
*) 0 ;
19864 int arg2
= (int) -1 ;
19865 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19866 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19867 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19868 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19869 long arg5
= (long) wxLC_ICON
;
19870 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19871 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19872 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19874 wxPyListCtrl
*result
;
19877 bool temp7
= False
;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 PyObject
* obj2
= 0 ;
19881 PyObject
* obj3
= 0 ;
19882 PyObject
* obj4
= 0 ;
19883 PyObject
* obj5
= 0 ;
19884 PyObject
* obj6
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19911 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19916 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19917 if (arg6
== NULL
) {
19918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19923 arg7
= wxString_in_helper(obj6
);
19924 if (arg7
== NULL
) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19950 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxPyListCtrl
*result
;
19953 char *kwnames
[] = {
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19972 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19975 wxWindow
*arg2
= (wxWindow
*) 0 ;
19976 int arg3
= (int) -1 ;
19977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19981 long arg6
= (long) wxLC_ICON
;
19982 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19983 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19984 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19989 bool temp8
= False
;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 PyObject
* obj3
= 0 ;
19994 PyObject
* obj4
= 0 ;
19995 PyObject
* obj5
= 0 ;
19996 PyObject
* obj6
= 0 ;
19997 PyObject
* obj7
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20007 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20025 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20030 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20031 if (arg7
== NULL
) {
20032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20037 arg8
= wxString_in_helper(obj7
);
20038 if (arg8
== NULL
) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20064 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20067 PyObject
*arg2
= (PyObject
*) 0 ;
20068 PyObject
*arg3
= (PyObject
*) 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 PyObject
* obj2
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "self",(char *) "_class", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 Py_INCREF(Py_None
); resultobj
= Py_None
;
20094 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20097 wxColour
*arg2
= 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "col", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20110 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20126 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20129 wxColour
*arg2
= 0 ;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self",(char *) "col", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20158 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20162 wxListItem
*result
;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "col", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= wxPyMake_wxObject(result
);
20191 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20195 wxListItem
*arg3
= 0 ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 PyObject
* obj2
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self",(char *) "col",(char *) "item", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20211 if (arg3
== NULL
) {
20212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20228 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 char *kwnames
[] = {
20236 (char *) "self",(char *) "col", NULL
20239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_PyObj_FromInt((int)result
);
20259 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 PyObject
* obj2
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self",(char *) "col",(char *) "width", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20296 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_PyObj_FromInt((int)result
);
20321 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
;
20323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20340 wxRect
* resultptr
;
20341 resultptr
= new wxRect((wxRect
&) result
);
20342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20350 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20353 wxTextCtrl
*result
;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= wxPyMake_wxObject(result
);
20377 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20381 int arg3
= (int) 0 ;
20382 wxListItem
*result
;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 PyObject
* obj2
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self",(char *) "itemId",(char *) "col", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20393 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20398 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= wxPyMake_wxObject(result
);
20418 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20421 wxListItem
*arg2
= 0 ;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self",(char *) "info", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20432 if (arg2
== NULL
) {
20433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 result
= (bool)(arg1
)->SetItem(*arg2
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20449 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20454 wxString
*arg4
= 0 ;
20455 int arg5
= (int) -1 ;
20457 bool temp4
= False
;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 PyObject
* obj2
= 0 ;
20461 PyObject
* obj3
= 0 ;
20462 PyObject
* obj4
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20470 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20478 arg4
= wxString_in_helper(obj3
);
20479 if (arg4
== NULL
) SWIG_fail
;
20484 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_PyObj_FromLong((long)result
);
20510 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 PyObject
* obj2
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20526 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20530 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_PyObj_FromInt((int)result
);
20547 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 PyObject
* obj2
= 0 ;
20557 PyObject
* obj3
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20565 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20569 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20573 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20590 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20597 PyObject
* obj0
= 0 ;
20598 PyObject
* obj1
= 0 ;
20599 PyObject
* obj2
= 0 ;
20600 PyObject
* obj3
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20608 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20616 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self",(char *) "item", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20647 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20670 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20674 wxString
*arg3
= 0 ;
20675 bool temp3
= False
;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20678 PyObject
* obj2
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self",(char *) "item",(char *) "str", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20686 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20690 arg3
= wxString_in_helper(obj2
);
20691 if (arg3
== NULL
) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 Py_INCREF(Py_None
); resultobj
= Py_None
;
20716 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self",(char *) "item", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20730 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_PyObj_FromLong((long)result
);
20747 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self",(char *) "item",(char *) "data", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20763 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20784 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self",(char *) "item", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20798 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 wxPoint
* resultptr
;
20810 resultptr
= new wxPoint((wxPoint
&) result
);
20811 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20819 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20823 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 PyObject
* obj2
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self",(char *) "item",(char *) "code", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20835 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20840 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 wxRect
* resultptr
;
20853 resultptr
= new wxRect((wxRect
&) result
);
20854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20862 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20866 wxPoint
*arg3
= 0 ;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 PyObject
* obj2
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self",(char *) "item",(char *) "pos", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20879 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20900 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20904 PyObject
* obj0
= 0 ;
20905 char *kwnames
[] = {
20906 (char *) "self", NULL
20909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_PyObj_FromInt((int)result
);
20925 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_PyObj_FromInt((int)result
);
20950 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20969 wxSize
* resultptr
;
20970 resultptr
= new wxSize((wxSize
&) result
);
20971 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20979 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_PyObj_FromInt((int)result
);
21004 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21023 wxColour
* resultptr
;
21024 resultptr
= new wxColour((wxColour
&) result
);
21025 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21033 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21036 wxColour
*arg2
= 0 ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self",(char *) "col", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21048 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 Py_INCREF(Py_None
); resultobj
= Py_None
;
21064 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= SWIG_PyObj_FromLong((long)result
);
21089 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21093 bool arg3
= (bool) True
;
21094 PyObject
* obj0
= 0 ;
21095 PyObject
* obj1
= 0 ;
21096 PyObject
* obj2
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self",(char *) "style",(char *) "add", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21104 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21109 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 (arg1
)->SetSingleStyle(arg2
,arg3
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 Py_INCREF(Py_None
); resultobj
= Py_None
;
21127 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 PyObject
* obj1
= 0 ;
21133 char *kwnames
[] = {
21134 (char *) "self",(char *) "style", NULL
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21140 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 (arg1
)->SetWindowStyleFlag(arg2
);
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 Py_INCREF(Py_None
); resultobj
= Py_None
;
21157 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21161 int arg3
= (int) wxLIST_NEXT_ALL
;
21162 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 PyObject
* obj2
= 0 ;
21167 PyObject
* obj3
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21175 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21180 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21186 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_PyObj_FromLong((long)result
);
21204 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21208 wxImageList
*result
;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self",(char *) "which", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= wxPyMake_wxObject(result
);
21237 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21240 wxImageList
*arg2
= (wxImageList
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 PyObject
* obj2
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "imageList",(char *) "which", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21253 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 (arg1
)->SetImageList(arg2
,arg3
);
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 Py_INCREF(Py_None
); resultobj
= Py_None
;
21270 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21272 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21273 wxImageList
*arg2
= (wxImageList
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 PyObject
* obj2
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "imageList",(char *) "which", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21286 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 (arg1
)->AssignImageList(arg2
,arg3
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 Py_INCREF(Py_None
); resultobj
= Py_None
;
21303 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 char *kwnames
[] = {
21309 (char *) "self", NULL
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21328 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self",(char *) "item", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21341 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 (arg1
)->RefreshItem(arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 Py_INCREF(Py_None
); resultobj
= Py_None
;
21358 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 PyObject
* obj1
= 0 ;
21365 PyObject
* obj2
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21373 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 (arg1
)->RefreshItems(arg2
,arg3
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 Py_INCREF(Py_None
); resultobj
= Py_None
;
21394 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21397 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "flag", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21409 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (bool)(arg1
)->Arrange(arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21427 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "item", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21441 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (bool)(arg1
)->DeleteItem(arg2
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21458 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (bool)(arg1
)->DeleteAllItems();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21483 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self",(char *) "col", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21497 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21514 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21518 PyObject
* obj0
= 0 ;
21519 char *kwnames
[] = {
21520 (char *) "self", NULL
21523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (bool)(arg1
)->DeleteAllColumns();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21539 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 (arg1
)->ClearAll();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 Py_INCREF(Py_None
); resultobj
= Py_None
;
21563 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21567 wxTextCtrl
*result
;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "item", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21577 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= wxPyMake_wxObject(result
);
21596 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self",(char *) "cancel", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21610 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21627 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "item", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21641 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21658 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21662 wxString
*arg3
= 0 ;
21663 bool arg4
= (bool) False
;
21665 bool temp3
= False
;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 PyObject
* obj2
= 0 ;
21669 PyObject
* obj3
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21677 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 arg3
= wxString_in_helper(obj2
);
21682 if (arg3
== NULL
) SWIG_fail
;
21687 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= SWIG_PyObj_FromLong((long)result
);
21713 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 PyObject
* obj2
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "start",(char *) "data", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21729 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_PyObj_FromLong((long)result
);
21750 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21754 wxPoint
*arg3
= 0 ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 PyObject
* obj2
= 0 ;
21761 PyObject
* obj3
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21769 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21774 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21777 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_PyObj_FromLong((long)result
);
21794 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21797 wxPoint
*arg2
= 0 ;
21802 PyObject
* obj0
= 0 ;
21803 PyObject
* obj1
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self",(char *) "point", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= SWIG_PyObj_FromLong((long)result
);
21824 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21825 resultobj
= t_output_helper(resultobj
,o
);
21833 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21836 wxListItem
*arg2
= 0 ;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self",(char *) "info", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21847 if (arg2
== NULL
) {
21848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (long)(arg1
)->InsertItem(*arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_PyObj_FromLong((long)result
);
21864 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21868 wxString
*arg3
= 0 ;
21870 bool temp3
= False
;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 PyObject
* obj2
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "index",(char *) "label", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21881 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21885 arg3
= wxString_in_helper(obj2
);
21886 if (arg3
== NULL
) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= SWIG_PyObj_FromLong((long)result
);
21911 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 PyObject
* obj2
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21927 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_PyObj_FromLong((long)result
);
21948 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21952 wxString
*arg3
= 0 ;
21955 bool temp3
= False
;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 PyObject
* obj2
= 0 ;
21959 PyObject
* obj3
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21967 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 arg3
= wxString_in_helper(obj2
);
21972 if (arg3
== NULL
) SWIG_fail
;
21976 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_PyObj_FromLong((long)result
);
22001 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22005 wxListItem
*arg3
= 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self",(char *) "col",(char *) "info", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22017 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22021 if (arg3
== NULL
) {
22022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_PyObj_FromLong((long)result
);
22038 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22042 wxString
*arg3
= 0 ;
22043 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22044 int arg5
= (int) -1 ;
22046 bool temp3
= False
;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 PyObject
* obj2
= 0 ;
22050 PyObject
* obj3
= 0 ;
22051 PyObject
* obj4
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22059 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 arg3
= wxString_in_helper(obj2
);
22064 if (arg3
== NULL
) SWIG_fail
;
22069 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22075 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_PyObj_FromLong((long)result
);
22101 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self",(char *) "count", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22114 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 (arg1
)->SetItemCount(arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 Py_INCREF(Py_None
); resultobj
= Py_None
;
22131 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 PyObject
* obj1
= 0 ;
22139 PyObject
* obj2
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "dx",(char *) "dy", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22147 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22168 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22172 wxColour
*arg3
= 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 PyObject
* obj2
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self",(char *) "item",(char *) "col", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22184 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22189 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 Py_INCREF(Py_None
); resultobj
= Py_None
;
22205 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 PyObject
* obj1
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self",(char *) "item", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22219 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22230 wxColour
* resultptr
;
22231 resultptr
= new wxColour((wxColour
&) result
);
22232 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22240 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22244 wxColour
*arg3
= 0 ;
22246 PyObject
* obj0
= 0 ;
22247 PyObject
* obj1
= 0 ;
22248 PyObject
* obj2
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self",(char *) "item",(char *) "col", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22256 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22261 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 Py_INCREF(Py_None
); resultobj
= Py_None
;
22277 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self",(char *) "item", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22291 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22302 wxColour
* resultptr
;
22303 resultptr
= new wxColour((wxColour
&) result
);
22304 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22312 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22315 PyObject
*arg2
= (PyObject
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "func", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22340 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= wxPyMake_wxObject(result
);
22367 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22370 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22372 return Py_BuildValue((char *)"");
22374 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxWindow
*arg1
= (wxWindow
*) 0 ;
22377 int arg2
= (int) -1 ;
22378 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22379 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22380 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22381 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22382 long arg5
= (long) wxLC_REPORT
;
22383 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22384 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22385 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22386 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22387 wxListView
*result
;
22390 bool temp7
= False
;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 PyObject
* obj2
= 0 ;
22394 PyObject
* obj3
= 0 ;
22395 PyObject
* obj4
= 0 ;
22396 PyObject
* obj5
= 0 ;
22397 PyObject
* obj6
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22419 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22424 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22429 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22430 if (arg6
== NULL
) {
22431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22436 arg7
= wxString_in_helper(obj6
);
22437 if (arg7
== NULL
) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22463 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxListView
*result
;
22466 char *kwnames
[] = {
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (wxListView
*)new wxListView();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22485 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
;
22487 wxListView
*arg1
= (wxListView
*) 0 ;
22488 wxWindow
*arg2
= (wxWindow
*) 0 ;
22489 int arg3
= (int) -1 ;
22490 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22491 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22492 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22493 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22494 long arg6
= (long) wxLC_REPORT
;
22495 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22496 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22497 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22498 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22502 bool temp8
= False
;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 PyObject
* obj2
= 0 ;
22506 PyObject
* obj3
= 0 ;
22507 PyObject
* obj4
= 0 ;
22508 PyObject
* obj5
= 0 ;
22509 PyObject
* obj6
= 0 ;
22510 PyObject
* obj7
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22520 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22527 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22533 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22538 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22543 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22544 if (arg7
== NULL
) {
22545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22550 arg8
= wxString_in_helper(obj7
);
22551 if (arg8
== NULL
) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22577 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxListView
*arg1
= (wxListView
*) 0 ;
22581 bool arg3
= (bool) True
;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 PyObject
* obj2
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self",(char *) "n",(char *) "on", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22592 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22597 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->Select(arg2
,arg3
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 Py_INCREF(Py_None
); resultobj
= Py_None
;
22615 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxListView
*arg1
= (wxListView
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "index", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22628 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 (arg1
)->Focus(arg2
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 Py_INCREF(Py_None
); resultobj
= Py_None
;
22645 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxListView
*arg1
= (wxListView
*) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_PyObj_FromLong((long)result
);
22670 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxListView
*arg1
= (wxListView
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 PyObject
* obj1
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self",(char *) "item", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22684 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 resultobj
= SWIG_PyObj_FromLong((long)result
);
22701 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxListView
*arg1
= (wxListView
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_PyObj_FromLong((long)result
);
22726 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxListView
*arg1
= (wxListView
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "index", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22740 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (bool)(arg1
)->IsSelected(arg2
);
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22757 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxListView
*arg1
= (wxListView
*) 0 ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 PyObject
* obj2
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "col",(char *) "image", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22772 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22776 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 (arg1
)->SetColumnImage(arg2
,arg3
);
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 Py_INCREF(Py_None
); resultobj
= Py_None
;
22793 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxListView
*arg1
= (wxListView
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self",(char *) "col", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22806 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->ClearColumnImage(arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22826 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22828 return Py_BuildValue((char *)"");
22830 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22831 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22836 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22841 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22843 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22850 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxTreeItemId
*result
;
22853 char *kwnames
[] = {
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 result
= (wxTreeItemId
*)new wxTreeItemId();
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22872 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 Py_INCREF(Py_None
); resultobj
= Py_None
;
22896 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22921 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22924 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "other", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22949 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22952 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self",(char *) "other", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22977 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22980 void *arg2
= (void *) 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self",(char *) "m_pItem", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22990 if (arg1
) (arg1
)->m_pItem
= arg2
;
22992 Py_INCREF(Py_None
); resultobj
= Py_None
;
22999 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23003 PyObject
* obj0
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23010 result
= (void *) ((arg1
)->m_pItem
);
23012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
23019 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23022 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23024 return Py_BuildValue((char *)"");
23026 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 PyObject
*arg1
= (PyObject
*) NULL
;
23029 wxPyTreeItemData
*result
;
23030 PyObject
* obj0
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "obj", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
23053 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (PyObject
*)(arg1
)->GetData();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= result
;
23078 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23081 PyObject
*arg2
= (PyObject
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self",(char *) "obj", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 (arg1
)->SetData(arg2
);
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 Py_INCREF(Py_None
); resultobj
= Py_None
;
23105 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23108 wxTreeItemId
*result
;
23109 PyObject
* obj0
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23120 result
= (wxTreeItemId
*) &_result_ref
;
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
23133 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23136 wxTreeItemId
*arg2
= 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self",(char *) "id", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23145 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23146 if (arg2
== NULL
) {
23147 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 Py_INCREF(Py_None
); resultobj
= Py_None
;
23163 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 wxPyTreeItemData_Destroy(arg1
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 Py_INCREF(Py_None
); resultobj
= Py_None
;
23187 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23190 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23192 return Py_BuildValue((char *)"");
23194 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23197 int arg2
= (int) 0 ;
23198 wxTreeEvent
*result
;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "commandType",(char *) "id", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23208 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23214 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23232 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23235 wxTreeItemId result
;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 wxTreeItemId
* resultptr
;
23252 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23261 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23264 wxTreeItemId
*arg2
= 0 ;
23265 PyObject
* obj0
= 0 ;
23266 PyObject
* obj1
= 0 ;
23267 char *kwnames
[] = {
23268 (char *) "self",(char *) "item", NULL
23271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23274 if (arg2
== NULL
) {
23275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 Py_INCREF(Py_None
); resultobj
= Py_None
;
23291 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23294 wxTreeItemId result
;
23295 PyObject
* obj0
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23310 wxTreeItemId
* resultptr
;
23311 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23312 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23320 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
;
23322 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23323 wxTreeItemId
*arg2
= 0 ;
23324 PyObject
* obj0
= 0 ;
23325 PyObject
* obj1
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self",(char *) "item", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23333 if (arg2
== NULL
) {
23334 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 Py_INCREF(Py_None
); resultobj
= Py_None
;
23350 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
;
23352 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23369 wxPoint
* resultptr
;
23370 resultptr
= new wxPoint((wxPoint
&) result
);
23371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23379 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23382 wxPoint
*arg2
= 0 ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self",(char *) "pt", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 Py_INCREF(Py_None
); resultobj
= Py_None
;
23410 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23413 wxKeyEvent
*result
;
23414 PyObject
* obj0
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23425 result
= (wxKeyEvent
*) &_result_ref
;
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23438 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= SWIG_PyObj_FromInt((int)result
);
23463 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23466 wxKeyEvent
*arg2
= 0 ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "evt", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23476 if (arg2
== NULL
) {
23477 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 Py_INCREF(Py_None
); resultobj
= Py_None
;
23493 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23497 PyObject
* obj0
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23508 result
= (wxString
*) &_result_ref
;
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23518 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23527 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
;
23529 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23530 wxString
*arg2
= 0 ;
23531 bool temp2
= False
;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self",(char *) "label", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23541 arg2
= wxString_in_helper(obj1
);
23542 if (arg2
== NULL
) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->SetLabel((wxString
const &)*arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23592 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self",(char *) "editCancelled", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23605 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->SetEditCanceled(arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23625 wxString
*arg2
= 0 ;
23626 bool temp2
= False
;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self",(char *) "toolTip", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23636 arg2
= wxString_in_helper(obj1
);
23637 if (arg2
== NULL
) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23665 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23667 return Py_BuildValue((char *)"");
23669 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxWindow
*arg1
= (wxWindow
*) 0 ;
23672 int arg2
= (int) -1 ;
23673 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23674 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23675 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23676 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23677 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23678 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23679 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23680 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23682 wxPyTreeCtrl
*result
;
23685 bool temp7
= False
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 PyObject
* obj2
= 0 ;
23689 PyObject
* obj3
= 0 ;
23690 PyObject
* obj4
= 0 ;
23691 PyObject
* obj5
= 0 ;
23692 PyObject
* obj6
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23708 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23714 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23719 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23724 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23725 if (arg6
== NULL
) {
23726 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23731 arg7
= wxString_in_helper(obj6
);
23732 if (arg7
== NULL
) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= wxPyMake_wxObject(result
);
23760 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxPyTreeCtrl
*result
;
23763 char *kwnames
[] = {
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= wxPyMake_wxObject(result
);
23784 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23787 wxWindow
*arg2
= (wxWindow
*) 0 ;
23788 int arg3
= (int) -1 ;
23789 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23790 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23791 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23792 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23793 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23794 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23795 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23796 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23797 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23801 bool temp8
= False
;
23802 PyObject
* obj0
= 0 ;
23803 PyObject
* obj1
= 0 ;
23804 PyObject
* obj2
= 0 ;
23805 PyObject
* obj3
= 0 ;
23806 PyObject
* obj4
= 0 ;
23807 PyObject
* obj5
= 0 ;
23808 PyObject
* obj6
= 0 ;
23809 PyObject
* obj7
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23819 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23837 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23842 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23843 if (arg7
== NULL
) {
23844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23849 arg8
= wxString_in_helper(obj7
);
23850 if (arg8
== NULL
) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23876 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23879 PyObject
*arg2
= (PyObject
*) 0 ;
23880 PyObject
*arg3
= (PyObject
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 PyObject
* obj2
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "self",(char *) "_class", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23931 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23934 unsigned int result
;
23935 PyObject
* obj0
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23956 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23959 unsigned int arg2
;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self",(char *) "indent", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23969 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 (arg1
)->SetIndent(arg2
);
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 Py_INCREF(Py_None
); resultobj
= Py_None
;
23986 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23989 unsigned int result
;
23990 PyObject
* obj0
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
24011 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24014 unsigned int arg2
;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self",(char *) "spacing", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24024 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 (arg1
)->SetSpacing(arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24034 Py_INCREF(Py_None
); resultobj
= Py_None
;
24041 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24044 wxImageList
*result
;
24045 PyObject
* obj0
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= wxPyMake_wxObject(result
);
24068 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24071 wxImageList
*result
;
24072 PyObject
* obj0
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= wxPyMake_wxObject(result
);
24095 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24098 wxImageList
*arg2
= (wxImageList
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 PyObject
* obj1
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self",(char *) "imageList", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 (arg1
)->SetImageList(arg2
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 Py_INCREF(Py_None
); resultobj
= Py_None
;
24122 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24125 wxImageList
*arg2
= (wxImageList
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self",(char *) "imageList", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 (arg1
)->SetStateImageList(arg2
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24152 wxImageList
*arg2
= (wxImageList
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "imageList", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) 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_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 (arg1
)->AssignImageList(arg2
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 Py_INCREF(Py_None
); resultobj
= Py_None
;
24176 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24179 wxImageList
*arg2
= (wxImageList
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "imageList", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 (arg1
)->AssignStateImageList(arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 Py_INCREF(Py_None
); resultobj
= Py_None
;
24203 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
;
24205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24206 wxTreeItemId
*arg2
= 0 ;
24208 PyObject
* obj0
= 0 ;
24209 PyObject
* obj1
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self",(char *) "item", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24217 if (arg2
== NULL
) {
24218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24240 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24243 wxTreeItemId
*arg2
= 0 ;
24244 int arg3
= (int) wxTreeItemIcon_Normal
;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 PyObject
* obj2
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self",(char *) "item",(char *) "which", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24256 if (arg2
== NULL
) {
24257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24261 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_PyObj_FromInt((int)result
);
24279 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24282 wxTreeItemId
*arg2
= 0 ;
24283 wxPyTreeItemData
*result
;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "self",(char *) "item", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24293 if (arg2
== NULL
) {
24294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24310 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24313 wxTreeItemId
*arg2
= 0 ;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self",(char *) "item", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24324 if (arg2
== NULL
) {
24325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= result
;
24341 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24344 wxTreeItemId
*arg2
= 0 ;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self",(char *) "item", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24355 if (arg2
== NULL
) {
24356 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 wxColour
* resultptr
;
24367 resultptr
= new wxColour((wxColour
&) result
);
24368 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24376 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24379 wxTreeItemId
*arg2
= 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "item", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24390 if (arg2
== NULL
) {
24391 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 wxColour
* resultptr
;
24402 resultptr
= new wxColour((wxColour
&) result
);
24403 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24411 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
;
24413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24414 wxTreeItemId
*arg2
= 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 char *kwnames
[] = {
24419 (char *) "self",(char *) "item", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24425 if (arg2
== NULL
) {
24426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 wxFont
* resultptr
;
24437 resultptr
= new wxFont((wxFont
&) result
);
24438 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24446 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24449 wxTreeItemId
*arg2
= 0 ;
24450 wxString
*arg3
= 0 ;
24451 bool temp3
= False
;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 PyObject
* obj2
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "item",(char *) "text", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24462 if (arg2
== NULL
) {
24463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24466 arg3
= wxString_in_helper(obj2
);
24467 if (arg3
== NULL
) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 Py_INCREF(Py_None
); resultobj
= Py_None
;
24492 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24495 wxTreeItemId
*arg2
= 0 ;
24497 int arg4
= (int) wxTreeItemIcon_Normal
;
24498 PyObject
* obj0
= 0 ;
24499 PyObject
* obj1
= 0 ;
24500 PyObject
* obj2
= 0 ;
24501 PyObject
* obj3
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24509 if (arg2
== NULL
) {
24510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24513 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24518 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 Py_INCREF(Py_None
); resultobj
= Py_None
;
24536 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24539 wxTreeItemId
*arg2
= 0 ;
24540 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 PyObject
* obj2
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "item",(char *) "data", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24551 if (arg2
== NULL
) {
24552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24554 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 Py_INCREF(Py_None
); resultobj
= Py_None
;
24569 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24572 wxTreeItemId
*arg2
= 0 ;
24573 PyObject
*arg3
= (PyObject
*) 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 PyObject
* obj2
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self",(char *) "item",(char *) "obj", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24584 if (arg2
== NULL
) {
24585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 Py_INCREF(Py_None
); resultobj
= Py_None
;
24602 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24605 wxTreeItemId
*arg2
= 0 ;
24606 bool arg3
= (bool) True
;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 PyObject
* obj2
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self",(char *) "item",(char *) "has", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24617 if (arg2
== NULL
) {
24618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24622 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
;
24642 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24643 wxTreeItemId
*arg2
= 0 ;
24644 bool arg3
= (bool) True
;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 PyObject
* obj2
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self",(char *) "item",(char *) "bold", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24655 if (arg2
== NULL
) {
24656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24660 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 Py_INCREF(Py_None
); resultobj
= Py_None
;
24678 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24681 wxTreeItemId
*arg2
= 0 ;
24682 bool arg3
= (bool) True
;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 PyObject
* obj2
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "item",(char *) "highlight", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24693 if (arg2
== NULL
) {
24694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24698 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 Py_INCREF(Py_None
); resultobj
= Py_None
;
24716 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24719 wxTreeItemId
*arg2
= 0 ;
24720 wxColour
*arg3
= 0 ;
24722 PyObject
* obj0
= 0 ;
24723 PyObject
* obj1
= 0 ;
24724 PyObject
* obj2
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self",(char *) "item",(char *) "col", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
24737 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24746 Py_INCREF(Py_None
); resultobj
= Py_None
;
24753 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24756 wxTreeItemId
*arg2
= 0 ;
24757 wxColour
*arg3
= 0 ;
24759 PyObject
* obj0
= 0 ;
24760 PyObject
* obj1
= 0 ;
24761 PyObject
* obj2
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self",(char *) "item",(char *) "col", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24769 if (arg2
== NULL
) {
24770 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24774 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 Py_INCREF(Py_None
); resultobj
= Py_None
;
24790 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24793 wxTreeItemId
*arg2
= 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 PyObject
* obj2
= 0 ;
24798 char *kwnames
[] = {
24799 (char *) "self",(char *) "item",(char *) "font", NULL
24802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24805 if (arg2
== NULL
) {
24806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24808 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24809 if (arg3
== NULL
) {
24810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 Py_INCREF(Py_None
); resultobj
= Py_None
;
24826 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24829 wxTreeItemId
*arg2
= 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "item", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24840 if (arg2
== NULL
) {
24841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24857 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24860 wxTreeItemId
*arg2
= 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self",(char *) "item", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24871 if (arg2
== NULL
) {
24872 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24888 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24891 wxTreeItemId
*arg2
= 0 ;
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_IsExpanded",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
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24919 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24922 wxTreeItemId
*arg2
= 0 ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self",(char *) "item", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24933 if (arg2
== NULL
) {
24934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24950 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24953 wxTreeItemId
*arg2
= 0 ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 char *kwnames
[] = {
24958 (char *) "self",(char *) "item", NULL
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24964 if (arg2
== NULL
) {
24965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24981 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24984 wxTreeItemId
*arg2
= 0 ;
24985 bool arg3
= (bool) True
;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 PyObject
* obj2
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self",(char *) "item",(char *) "recursively", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24997 if (arg2
== NULL
) {
24998 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25002 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
25020 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25023 wxTreeItemId result
;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25039 wxTreeItemId
* resultptr
;
25040 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25049 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25052 wxTreeItemId result
;
25053 PyObject
* obj0
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self", NULL
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 wxTreeItemId
* resultptr
;
25069 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25070 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25078 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= result
;
25103 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25106 wxTreeItemId
*arg2
= 0 ;
25107 wxTreeItemId result
;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "item", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25117 if (arg2
== NULL
) {
25118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25128 wxTreeItemId
* resultptr
;
25129 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25130 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25138 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25141 wxTreeItemId
*arg2
= 0 ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self",(char *) "item", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25152 if (arg2
== NULL
) {
25153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= result
;
25169 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
;
25171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25172 wxTreeItemId
*arg2
= 0 ;
25173 void *arg3
= (void *) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 PyObject
* obj2
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self",(char *) "item",(char *) "cookie", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) 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
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= result
;
25203 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25206 wxTreeItemId
*arg2
= 0 ;
25207 wxTreeItemId result
;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self",(char *) "item", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25217 if (arg2
== NULL
) {
25218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 wxTreeItemId
* resultptr
;
25229 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25230 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25238 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25241 wxTreeItemId
*arg2
= 0 ;
25242 wxTreeItemId result
;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "item", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25252 if (arg2
== NULL
) {
25253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25263 wxTreeItemId
* resultptr
;
25264 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25265 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25273 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25276 wxTreeItemId
*arg2
= 0 ;
25277 wxTreeItemId result
;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self",(char *) "item", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25286 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25287 if (arg2
== NULL
) {
25288 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
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);
25308 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25311 wxTreeItemId result
;
25312 PyObject
* obj0
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25327 wxTreeItemId
* resultptr
;
25328 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25337 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
;
25339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25340 wxTreeItemId
*arg2
= 0 ;
25341 wxTreeItemId result
;
25342 PyObject
* obj0
= 0 ;
25343 PyObject
* obj1
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self",(char *) "item", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25351 if (arg2
== NULL
) {
25352 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25362 wxTreeItemId
* resultptr
;
25363 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25364 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25372 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25375 wxTreeItemId
*arg2
= 0 ;
25376 wxTreeItemId result
;
25377 PyObject
* obj0
= 0 ;
25378 PyObject
* obj1
= 0 ;
25379 char *kwnames
[] = {
25380 (char *) "self",(char *) "item", NULL
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25386 if (arg2
== NULL
) {
25387 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25397 wxTreeItemId
* resultptr
;
25398 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25399 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25407 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25410 wxString
*arg2
= 0 ;
25411 int arg3
= (int) -1 ;
25412 int arg4
= (int) -1 ;
25413 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25414 wxTreeItemId result
;
25415 bool temp2
= False
;
25416 PyObject
* obj0
= 0 ;
25417 PyObject
* obj1
= 0 ;
25418 PyObject
* obj2
= 0 ;
25419 PyObject
* obj3
= 0 ;
25420 PyObject
* obj4
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25428 arg2
= wxString_in_helper(obj1
);
25429 if (arg2
== NULL
) SWIG_fail
;
25434 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25440 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25445 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25455 wxTreeItemId
* resultptr
;
25456 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25473 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25476 wxTreeItemId
*arg2
= 0 ;
25477 wxString
*arg3
= 0 ;
25478 int arg4
= (int) -1 ;
25479 int arg5
= (int) -1 ;
25480 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25481 wxTreeItemId result
;
25482 bool temp3
= False
;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 PyObject
* obj2
= 0 ;
25486 PyObject
* obj3
= 0 ;
25487 PyObject
* obj4
= 0 ;
25488 PyObject
* obj5
= 0 ;
25489 char *kwnames
[] = {
25490 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25496 if (arg2
== NULL
) {
25497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25500 arg3
= wxString_in_helper(obj2
);
25501 if (arg3
== NULL
) SWIG_fail
;
25506 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25512 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25517 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25527 wxTreeItemId
* resultptr
;
25528 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25529 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25545 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25548 wxTreeItemId
*arg2
= 0 ;
25549 wxTreeItemId
*arg3
= 0 ;
25550 wxString
*arg4
= 0 ;
25551 int arg5
= (int) -1 ;
25552 int arg6
= (int) -1 ;
25553 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25554 wxTreeItemId result
;
25555 bool temp4
= False
;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 PyObject
* obj2
= 0 ;
25559 PyObject
* obj3
= 0 ;
25560 PyObject
* obj4
= 0 ;
25561 PyObject
* obj5
= 0 ;
25562 PyObject
* obj6
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25570 if (arg2
== NULL
) {
25571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25573 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25574 if (arg3
== NULL
) {
25575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25578 arg4
= wxString_in_helper(obj3
);
25579 if (arg4
== NULL
) SWIG_fail
;
25584 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25590 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25605 wxTreeItemId
* resultptr
;
25606 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25607 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25623 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25626 wxTreeItemId
*arg2
= 0 ;
25628 wxString
*arg4
= 0 ;
25629 int arg5
= (int) -1 ;
25630 int arg6
= (int) -1 ;
25631 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25632 wxTreeItemId result
;
25633 bool temp4
= False
;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 PyObject
* obj2
= 0 ;
25637 PyObject
* obj3
= 0 ;
25638 PyObject
* obj4
= 0 ;
25639 PyObject
* obj5
= 0 ;
25640 PyObject
* obj6
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25648 if (arg2
== NULL
) {
25649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25652 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 arg4
= wxString_in_helper(obj3
);
25657 if (arg4
== NULL
) SWIG_fail
;
25662 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25668 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25673 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 wxTreeItemId
* resultptr
;
25684 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25685 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25701 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25704 wxTreeItemId
*arg2
= 0 ;
25705 wxString
*arg3
= 0 ;
25706 int arg4
= (int) -1 ;
25707 int arg5
= (int) -1 ;
25708 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25709 wxTreeItemId result
;
25710 bool temp3
= False
;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 PyObject
* obj2
= 0 ;
25714 PyObject
* obj3
= 0 ;
25715 PyObject
* obj4
= 0 ;
25716 PyObject
* obj5
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25724 if (arg2
== NULL
) {
25725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25728 arg3
= wxString_in_helper(obj2
);
25729 if (arg3
== NULL
) SWIG_fail
;
25734 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25740 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25745 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 wxTreeItemId
* resultptr
;
25756 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25757 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25773 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25776 wxTreeItemId
*arg2
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "item", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25786 if (arg2
== NULL
) {
25787 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 Py_INCREF(Py_None
); resultobj
= Py_None
;
25803 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
;
25805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25806 wxTreeItemId
*arg2
= 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "item", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25816 if (arg2
== NULL
) {
25817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25836 PyObject
* obj0
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 (arg1
)->DeleteAllItems();
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 Py_INCREF(Py_None
); resultobj
= Py_None
;
25857 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25860 wxTreeItemId
*arg2
= 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "item", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25870 if (arg2
== NULL
) {
25871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 Py_INCREF(Py_None
); resultobj
= Py_None
;
25887 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
;
25889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25890 wxTreeItemId
*arg2
= 0 ;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self",(char *) "item", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25900 if (arg2
== NULL
) {
25901 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 Py_INCREF(Py_None
); resultobj
= Py_None
;
25917 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25920 wxTreeItemId
*arg2
= 0 ;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self",(char *) "item", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25930 if (arg2
== NULL
) {
25931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 Py_INCREF(Py_None
); resultobj
= Py_None
;
25947 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25950 wxTreeItemId
*arg2
= 0 ;
25951 PyObject
* obj0
= 0 ;
25952 PyObject
* obj1
= 0 ;
25953 char *kwnames
[] = {
25954 (char *) "self",(char *) "item", NULL
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25960 if (arg2
== NULL
) {
25961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25965 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 Py_INCREF(Py_None
); resultobj
= Py_None
;
25977 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
;
25979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25980 PyObject
* obj0
= 0 ;
25981 char *kwnames
[] = {
25982 (char *) "self", NULL
25985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 (arg1
)->Unselect();
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 Py_INCREF(Py_None
); resultobj
= Py_None
;
26001 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26004 wxTreeItemId
*arg2
= 0 ;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 char *kwnames
[] = {
26008 (char *) "self",(char *) "item", NULL
26011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26014 if (arg2
== NULL
) {
26015 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 Py_INCREF(Py_None
); resultobj
= Py_None
;
26031 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26034 PyObject
* obj0
= 0 ;
26035 char *kwnames
[] = {
26036 (char *) "self", NULL
26039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 (arg1
)->UnselectAll();
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 Py_INCREF(Py_None
); resultobj
= Py_None
;
26055 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
;
26057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26058 wxTreeItemId
*arg2
= 0 ;
26059 bool arg3
= (bool) True
;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj1
= 0 ;
26062 PyObject
* obj2
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "item",(char *) "select", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26070 if (arg2
== NULL
) {
26071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26075 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 Py_INCREF(Py_None
); resultobj
= Py_None
;
26093 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
;
26095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26096 wxTreeItemId
*arg2
= 0 ;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "item", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26106 if (arg2
== NULL
) {
26107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 Py_INCREF(Py_None
); resultobj
= Py_None
;
26123 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
;
26125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26126 wxTreeItemId
*arg2
= 0 ;
26127 PyObject
* obj0
= 0 ;
26128 PyObject
* obj1
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self",(char *) "item", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26136 if (arg2
== NULL
) {
26137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26143 wxPyEndAllowThreads(__tstate
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26146 Py_INCREF(Py_None
); resultobj
= Py_None
;
26153 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26156 wxTreeItemId
*arg2
= 0 ;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self",(char *) "item", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26166 if (arg2
== NULL
) {
26167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 Py_INCREF(Py_None
); resultobj
= Py_None
;
26183 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26186 wxTreeItemId
*arg2
= 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "item", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26196 if (arg2
== NULL
) {
26197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 Py_INCREF(Py_None
); resultobj
= Py_None
;
26213 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26216 wxTextCtrl
*result
;
26217 PyObject
* obj0
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= wxPyMake_wxObject(result
);
26240 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26243 wxTreeItemId
*arg2
= 0 ;
26244 bool arg3
= (bool) False
;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 PyObject
* obj2
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26255 if (arg2
== NULL
) {
26256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26260 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 Py_INCREF(Py_None
); resultobj
= Py_None
;
26278 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26281 wxTreeItemId
*arg2
= 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self",(char *) "item", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26290 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26291 if (arg2
== NULL
) {
26292 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 Py_INCREF(Py_None
); resultobj
= Py_None
;
26308 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26311 wxPoint
*arg2
= 0 ;
26313 wxTreeItemId result
;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self",(char *) "point", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26337 wxTreeItemId
* resultptr
;
26338 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26339 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26342 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26343 resultobj
= t_output_helper(resultobj
,o
);
26351 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26354 wxTreeItemId
*arg2
= 0 ;
26355 bool arg3
= (bool) False
;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 PyObject
* obj2
= 0 ;
26360 char *kwnames
[] = {
26361 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26367 if (arg2
== NULL
) {
26368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26372 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= result
;
26390 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26393 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26395 return Py_BuildValue((char *)"");
26397 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26398 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26403 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26408 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26410 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26417 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxWindow
*arg1
= (wxWindow
*) 0 ;
26420 int arg2
= (int) (int)-1 ;
26421 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26427 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26428 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26430 int arg8
= (int) 0 ;
26431 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26432 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26433 wxGenericDirCtrl
*result
;
26434 bool temp3
= False
;
26437 bool temp7
= False
;
26438 bool temp9
= False
;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 PyObject
* obj2
= 0 ;
26442 PyObject
* obj3
= 0 ;
26443 PyObject
* obj4
= 0 ;
26444 PyObject
* obj5
= 0 ;
26445 PyObject
* obj6
= 0 ;
26446 PyObject
* obj7
= 0 ;
26447 PyObject
* obj8
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26456 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26462 arg3
= wxString_in_helper(obj2
);
26463 if (arg3
== NULL
) SWIG_fail
;
26470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26481 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26487 arg7
= wxString_in_helper(obj6
);
26488 if (arg7
== NULL
) SWIG_fail
;
26494 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26500 arg9
= wxString_in_helper(obj8
);
26501 if (arg9
== NULL
) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26543 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxGenericDirCtrl
*result
;
26546 char *kwnames
[] = {
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26565 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26568 wxWindow
*arg2
= (wxWindow
*) 0 ;
26569 int arg3
= (int) (int)-1 ;
26570 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26572 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26573 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26574 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26575 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26576 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26577 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26578 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26579 int arg9
= (int) 0 ;
26580 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26581 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26583 bool temp4
= False
;
26586 bool temp8
= False
;
26587 bool temp10
= False
;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 PyObject
* obj2
= 0 ;
26591 PyObject
* obj3
= 0 ;
26592 PyObject
* obj4
= 0 ;
26593 PyObject
* obj5
= 0 ;
26594 PyObject
* obj6
= 0 ;
26595 PyObject
* obj7
= 0 ;
26596 PyObject
* obj8
= 0 ;
26597 PyObject
* obj9
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26607 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26613 arg4
= wxString_in_helper(obj3
);
26614 if (arg4
== NULL
) SWIG_fail
;
26621 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26627 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26632 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26638 arg8
= wxString_in_helper(obj7
);
26639 if (arg8
== NULL
) SWIG_fail
;
26645 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26651 arg10
= wxString_in_helper(obj9
);
26652 if (arg10
== NULL
) SWIG_fail
;
26657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26660 wxPyEndAllowThreads(__tstate
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26694 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
;
26696 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26697 wxString
*arg2
= 0 ;
26699 bool temp2
= False
;
26700 PyObject
* obj0
= 0 ;
26701 PyObject
* obj1
= 0 ;
26702 char *kwnames
[] = {
26703 (char *) "self",(char *) "path", NULL
26706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26709 arg2
= wxString_in_helper(obj1
);
26710 if (arg2
== NULL
) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26735 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26766 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26769 wxString
*arg2
= 0 ;
26770 bool temp2
= False
;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "path", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26780 arg2
= wxString_in_helper(obj1
);
26781 if (arg2
== NULL
) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 Py_INCREF(Py_None
); resultobj
= Py_None
;
26806 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26810 PyObject
* obj0
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26837 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
;
26839 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26841 PyObject
* obj0
= 0 ;
26842 char *kwnames
[] = {
26843 (char *) "self", NULL
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26868 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
;
26870 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26871 wxString
*arg2
= 0 ;
26872 bool temp2
= False
;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self",(char *) "path", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26882 arg2
= wxString_in_helper(obj1
);
26883 if (arg2
== NULL
) SWIG_fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 (arg1
)->SetPath((wxString
const &)*arg2
);
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 Py_INCREF(Py_None
); resultobj
= Py_None
;
26908 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self",(char *) "show", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26921 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 (arg1
)->ShowHidden(arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 Py_INCREF(Py_None
); resultobj
= Py_None
;
26938 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)(arg1
)->GetShowHidden();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26963 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
;
26965 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26967 PyObject
* obj0
= 0 ;
26968 char *kwnames
[] = {
26969 (char *) "self", NULL
26972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26994 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
;
26996 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26997 wxString
*arg2
= 0 ;
26998 bool temp2
= False
;
26999 PyObject
* obj0
= 0 ;
27000 PyObject
* obj1
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self",(char *) "filter", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27008 arg2
= wxString_in_helper(obj1
);
27009 if (arg2
== NULL
) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 (arg1
)->SetFilter((wxString
const &)*arg2
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 Py_INCREF(Py_None
); resultobj
= Py_None
;
27034 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= SWIG_PyObj_FromInt((int)result
);
27059 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "n", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27072 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 (arg1
)->SetFilterIndex(arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 Py_INCREF(Py_None
); resultobj
= Py_None
;
27089 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27092 wxTreeItemId result
;
27093 PyObject
* obj0
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (arg1
)->GetRootId();
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27108 wxTreeItemId
* resultptr
;
27109 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27110 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27118 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27121 wxPyTreeCtrl
*result
;
27122 PyObject
* obj0
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "self", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= wxPyMake_wxObject(result
);
27145 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27148 wxDirFilterListCtrl
*result
;
27149 PyObject
* obj0
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27170 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27173 wxTreeItemId arg2
;
27174 wxString
*arg3
= 0 ;
27176 wxTreeItemId result
;
27177 wxTreeItemId
*argp2
;
27178 bool temp3
= False
;
27180 PyObject
* obj0
= 0 ;
27181 PyObject
* obj1
= 0 ;
27182 PyObject
* obj2
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self",(char *) "parentId",(char *) "path", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27190 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27193 arg3
= wxString_in_helper(obj2
);
27194 if (arg3
== NULL
) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 wxTreeItemId
* resultptr
;
27206 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27207 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27210 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27211 resultobj
= t_output_helper(resultobj
,o
);
27227 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 (arg1
)->DoResize();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 Py_INCREF(Py_None
); resultobj
= Py_None
;
27251 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
;
27253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 char *kwnames
[] = {
27256 (char *) "self", NULL
27259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 (arg1
)->ReCreateTree();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 Py_INCREF(Py_None
); resultobj
= Py_None
;
27275 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27278 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27280 return Py_BuildValue((char *)"");
27282 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27285 int arg2
= (int) (int)-1 ;
27286 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27287 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27288 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27289 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27290 long arg5
= (long) 0 ;
27291 wxDirFilterListCtrl
*result
;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 PyObject
* obj2
= 0 ;
27297 PyObject
* obj3
= 0 ;
27298 PyObject
* obj4
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27307 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27320 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27325 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27343 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxDirFilterListCtrl
*result
;
27346 char *kwnames
[] = {
27350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27365 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27368 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27369 int arg3
= (int) (int)-1 ;
27370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27374 long arg6
= (long) 0 ;
27378 PyObject
* obj0
= 0 ;
27379 PyObject
* obj1
= 0 ;
27380 PyObject
* obj2
= 0 ;
27381 PyObject
* obj3
= 0 ;
27382 PyObject
* obj4
= 0 ;
27383 PyObject
* obj5
= 0 ;
27384 char *kwnames
[] = {
27385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27393 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27411 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27429 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27432 wxString
*arg2
= 0 ;
27434 bool temp2
= False
;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 PyObject
* obj2
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27445 arg2
= wxString_in_helper(obj1
);
27446 if (arg2
== NULL
) SWIG_fail
;
27450 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 Py_INCREF(Py_None
); resultobj
= Py_None
;
27475 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27478 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27480 return Py_BuildValue((char *)"");
27482 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxWindow
*arg1
= (wxWindow
*) 0 ;
27486 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27487 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27488 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27489 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27490 long arg5
= (long) 0 ;
27491 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27492 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27493 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27494 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27495 wxPyControl
*result
;
27498 bool temp7
= False
;
27499 PyObject
* obj0
= 0 ;
27500 PyObject
* obj1
= 0 ;
27501 PyObject
* obj2
= 0 ;
27502 PyObject
* obj3
= 0 ;
27503 PyObject
* obj4
= 0 ;
27504 PyObject
* obj5
= 0 ;
27505 PyObject
* obj6
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27513 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27519 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27525 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27530 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27535 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27536 if (arg6
== NULL
) {
27537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27542 arg7
= wxString_in_helper(obj6
);
27543 if (arg7
== NULL
) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27569 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27572 PyObject
*arg2
= (PyObject
*) 0 ;
27573 PyObject
*arg3
= (PyObject
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 PyObject
* obj2
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self",(char *) "self",(char *) "_class", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 Py_INCREF(Py_None
); resultobj
= Py_None
;
27599 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 PyObject
* obj2
= 0 ;
27609 PyObject
* obj3
= 0 ;
27610 PyObject
* obj4
= 0 ;
27611 char *kwnames
[] = {
27612 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27618 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27622 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27630 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27654 int arg6
= (int) wxSIZE_AUTO
;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 PyObject
* obj2
= 0 ;
27658 PyObject
* obj3
= 0 ;
27659 PyObject
* obj4
= 0 ;
27660 PyObject
* obj5
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27668 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27672 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27676 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27685 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 PyObject
* obj2
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self",(char *) "width",(char *) "height", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27718 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27722 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 Py_INCREF(Py_None
); resultobj
= Py_None
;
27739 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
;
27741 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 PyObject
* obj2
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self",(char *) "x",(char *) "y", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27754 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27758 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 Py_INCREF(Py_None
); resultobj
= Py_None
;
27775 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27778 int *arg2
= (int *) 0 ;
27779 int *arg3
= (int *) 0 ;
27782 PyObject
* obj0
= 0 ;
27783 char *kwnames
[] = {
27784 (char *) "self", NULL
27789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27801 resultobj
= t_output_helper(resultobj
,o
);
27804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27805 resultobj
= t_output_helper(resultobj
,o
);
27813 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27816 int *arg2
= (int *) 0 ;
27817 int *arg3
= (int *) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 char *kwnames
[] = {
27822 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27839 resultobj
= t_output_helper(resultobj
,o
);
27842 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27843 resultobj
= t_output_helper(resultobj
,o
);
27851 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27854 int *arg2
= (int *) 0 ;
27855 int *arg3
= (int *) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self", NULL
27865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27877 resultobj
= t_output_helper(resultobj
,o
);
27880 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27881 resultobj
= t_output_helper(resultobj
,o
);
27889 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
;
27891 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 wxSize
* resultptr
;
27909 resultptr
= new wxSize((wxSize
&) result
);
27910 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27918 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
;
27920 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27922 PyObject
* obj0
= 0 ;
27923 char *kwnames
[] = {
27924 (char *) "self", NULL
27927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27937 wxSize
* resultptr
;
27938 resultptr
= new wxSize((wxSize
&) result
);
27939 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27947 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27948 PyObject
*resultobj
;
27949 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27950 PyObject
* obj0
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "self", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 (arg1
)->base_InitDialog();
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 Py_INCREF(Py_None
); resultobj
= Py_None
;
27971 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 result
= (bool)(arg1
)->base_TransferDataToWindow();
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27996 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28000 PyObject
* obj0
= 0 ;
28001 char *kwnames
[] = {
28002 (char *) "self", NULL
28005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28021 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 char *kwnames
[] = {
28027 (char *) "self", NULL
28030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 result
= (bool)(arg1
)->base_Validate();
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28046 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28071 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28075 PyObject
* obj0
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "self", NULL
28080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28096 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
;
28098 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28100 PyObject
* obj0
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self", NULL
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28115 wxSize
* resultptr
;
28116 resultptr
= new wxSize((wxSize
&) result
);
28117 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
28125 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28128 wxWindow
*arg2
= (wxWindow
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 char *kwnames
[] = {
28132 (char *) "self",(char *) "child", NULL
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 (arg1
)->base_AddChild(arg2
);
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 Py_INCREF(Py_None
); resultobj
= Py_None
;
28152 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
;
28154 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28155 wxWindow
*arg2
= (wxWindow
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self",(char *) "child", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 (arg1
)->base_RemoveChild(arg2
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 Py_INCREF(Py_None
); resultobj
= Py_None
;
28179 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28182 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28184 return Py_BuildValue((char *)"");
28186 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28187 PyObject
*resultobj
;
28188 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28189 int arg2
= (int) 0 ;
28190 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28191 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28192 wxHelpEvent
*result
;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 PyObject
* obj2
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "type",(char *) "winid",(char *) "pt", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28204 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28210 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
28234 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
;
28236 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28238 PyObject
* obj0
= 0 ;
28239 char *kwnames
[] = {
28240 (char *) "self", NULL
28243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28249 result
= (wxPoint
*) &_result_ref
;
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28262 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28265 wxPoint
*arg2
= 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "pos", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28277 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28281 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28283 wxPyEndAllowThreads(__tstate
);
28284 if (PyErr_Occurred()) SWIG_fail
;
28286 Py_INCREF(Py_None
); resultobj
= Py_None
;
28293 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
;
28295 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self", NULL
28302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28308 result
= (wxString
*) &_result_ref
;
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28318 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28327 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28330 wxString
*arg2
= 0 ;
28331 bool temp2
= False
;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self",(char *) "link", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28341 arg2
= wxString_in_helper(obj1
);
28342 if (arg2
== NULL
) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->SetLink((wxString
const &)*arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28382 result
= (wxString
*) &_result_ref
;
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28401 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28404 wxString
*arg2
= 0 ;
28405 bool temp2
= False
;
28406 PyObject
* obj0
= 0 ;
28407 PyObject
* obj1
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self",(char *) "target", NULL
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28415 arg2
= wxString_in_helper(obj1
);
28416 if (arg2
== NULL
) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 (arg1
)->SetTarget((wxString
const &)*arg2
);
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 Py_INCREF(Py_None
); resultobj
= Py_None
;
28441 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28444 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28446 return Py_BuildValue((char *)"");
28448 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
;
28450 wxWindow
*arg1
= (wxWindow
*) NULL
;
28451 bool arg2
= (bool) True
;
28452 wxContextHelp
*result
;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "window",(char *) "doNow", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28465 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28483 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 Py_INCREF(Py_None
); resultobj
= Py_None
;
28507 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28510 wxWindow
*arg2
= (wxWindow
*) NULL
;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self",(char *) "window", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28537 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28541 PyObject
* obj0
= 0 ;
28542 char *kwnames
[] = {
28543 (char *) "self", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (bool)(arg1
)->EndContextHelp();
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28562 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28565 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28567 return Py_BuildValue((char *)"");
28569 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28570 PyObject
*resultobj
;
28571 wxWindow
*arg1
= (wxWindow
*) 0 ;
28572 int arg2
= (int) wxID_CONTEXT_HELP
;
28573 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28574 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28575 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28576 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28577 long arg5
= (long) wxBU_AUTODRAW
;
28578 wxContextHelpButton
*result
;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 PyObject
* obj2
= 0 ;
28584 PyObject
* obj3
= 0 ;
28585 PyObject
* obj4
= 0 ;
28586 char *kwnames
[] = {
28587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28594 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28607 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28612 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28630 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28633 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28635 return Py_BuildValue((char *)"");
28637 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
;
28639 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28640 wxHelpProvider
*result
;
28641 PyObject
* obj0
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "helpProvider", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28650 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28662 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxHelpProvider
*result
;
28665 char *kwnames
[] = {
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28684 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28687 wxWindow
*arg2
= (wxWindow
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 char *kwnames
[] = {
28692 (char *) "self",(char *) "window", NULL
28695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28718 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
;
28720 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28721 wxWindow
*arg2
= (wxWindow
*) 0 ;
28723 PyObject
* obj0
= 0 ;
28724 PyObject
* obj1
= 0 ;
28725 char *kwnames
[] = {
28726 (char *) "self",(char *) "window", NULL
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (bool)(arg1
)->ShowHelp(arg2
);
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28746 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28749 wxWindow
*arg2
= (wxWindow
*) 0 ;
28750 wxString
*arg3
= 0 ;
28751 bool temp3
= False
;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 PyObject
* obj2
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self",(char *) "window",(char *) "text", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28761 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28763 arg3
= wxString_in_helper(obj2
);
28764 if (arg3
== NULL
) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 Py_INCREF(Py_None
); resultobj
= Py_None
;
28789 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
;
28791 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28793 wxString
*arg3
= 0 ;
28794 bool temp3
= False
;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 PyObject
* obj2
= 0 ;
28798 char *kwnames
[] = {
28799 (char *) "self",(char *) "id",(char *) "text", NULL
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28805 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28809 arg3
= wxString_in_helper(obj2
);
28810 if (arg3
== NULL
) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 Py_INCREF(Py_None
); resultobj
= Py_None
;
28835 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 char *kwnames
[] = {
28840 (char *) "self", NULL
28843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 wxHelpProvider_Destroy(arg1
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 Py_INCREF(Py_None
); resultobj
= Py_None
;
28859 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28862 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28864 return Py_BuildValue((char *)"");
28866 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
;
28868 wxSimpleHelpProvider
*result
;
28869 char *kwnames
[] = {
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28888 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28891 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28893 return Py_BuildValue((char *)"");
28895 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
;
28897 wxBitmap
*arg1
= 0 ;
28898 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28899 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28900 wxGenericDragImage
*result
;
28901 PyObject
* obj0
= 0 ;
28902 PyObject
* obj1
= 0 ;
28903 char *kwnames
[] = {
28904 (char *) "image",(char *) "cursor", NULL
28907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28909 if (arg1
== NULL
) {
28910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28914 if (arg2
== NULL
) {
28915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28932 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28935 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28936 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28937 wxGenericDragImage
*result
;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "image",(char *) "cursor", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28946 if (arg1
== NULL
) {
28947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28951 if (arg2
== NULL
) {
28952 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28969 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
;
28971 wxString
*arg1
= 0 ;
28972 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28973 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28974 wxGenericDragImage
*result
;
28975 bool temp1
= False
;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "str",(char *) "cursor", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28984 arg1
= wxString_in_helper(obj0
);
28985 if (arg1
== NULL
) SWIG_fail
;
28989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28990 if (arg2
== NULL
) {
28991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29016 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
;
29018 wxPyTreeCtrl
*arg1
= 0 ;
29019 wxTreeItemId
*arg2
= 0 ;
29020 wxGenericDragImage
*result
;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "treeCtrl",(char *) "id", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29029 if (arg1
== NULL
) {
29030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29033 if (arg2
== NULL
) {
29034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29050 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
;
29052 wxPyListCtrl
*arg1
= 0 ;
29054 wxGenericDragImage
*result
;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "listCtrl",(char *) "id", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29063 if (arg1
== NULL
) {
29064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29067 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
29068 if (PyErr_Occurred()) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29084 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
;
29086 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 char *kwnames
[] = {
29089 (char *) "self", NULL
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 Py_INCREF(Py_None
); resultobj
= Py_None
;
29108 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29111 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 char *kwnames
[] = {
29115 (char *) "self",(char *) "bitmap", NULL
29118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 (arg1
)->SetBackingBitmap(arg2
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 Py_INCREF(Py_None
); resultobj
= Py_None
;
29135 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29138 wxPoint
*arg2
= 0 ;
29139 wxWindow
*arg3
= (wxWindow
*) 0 ;
29140 bool arg4
= (bool) False
;
29141 wxRect
*arg5
= (wxRect
*) NULL
;
29144 PyObject
* obj0
= 0 ;
29145 PyObject
* obj1
= 0 ;
29146 PyObject
* obj2
= 0 ;
29147 PyObject
* obj3
= 0 ;
29148 PyObject
* obj4
= 0 ;
29149 char *kwnames
[] = {
29150 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29159 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29162 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29167 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29183 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29185 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29186 wxPoint
*arg2
= 0 ;
29187 wxWindow
*arg3
= (wxWindow
*) 0 ;
29188 wxWindow
*arg4
= (wxWindow
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 PyObject
* obj1
= 0 ;
29193 PyObject
* obj2
= 0 ;
29194 PyObject
* obj3
= 0 ;
29195 char *kwnames
[] = {
29196 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29206 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29221 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
;
29223 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29225 PyObject
* obj0
= 0 ;
29226 char *kwnames
[] = {
29227 (char *) "self", NULL
29230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 result
= (bool)(arg1
)->EndDrag();
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29246 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29249 wxPoint
*arg2
= 0 ;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 char *kwnames
[] = {
29255 (char *) "self",(char *) "pt", NULL
29258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29278 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "self", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 result
= (bool)(arg1
)->Show();
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29303 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
;
29305 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29307 PyObject
* obj0
= 0 ;
29308 char *kwnames
[] = {
29309 (char *) "self", NULL
29312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (bool)(arg1
)->Hide();
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29328 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
;
29330 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29331 wxPoint
*arg2
= 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "self",(char *) "pos", NULL
29340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 wxRect
* resultptr
;
29355 resultptr
= new wxRect((wxRect
&) result
);
29356 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29364 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
;
29366 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29368 wxPoint
*arg3
= 0 ;
29371 PyObject
* obj0
= 0 ;
29372 PyObject
* obj1
= 0 ;
29373 PyObject
* obj2
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "self",(char *) "dc",(char *) "pos", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29381 if (arg2
== NULL
) {
29382 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29402 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29406 wxMemoryDC
*arg3
= 0 ;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 PyObject
* obj2
= 0 ;
29415 PyObject
* obj3
= 0 ;
29416 PyObject
* obj4
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29424 if (arg2
== NULL
) {
29425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29427 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29428 if (arg3
== NULL
) {
29429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29433 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29437 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29453 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29456 wxPoint
*arg2
= 0 ;
29457 wxPoint
*arg3
= 0 ;
29463 PyObject
* obj0
= 0 ;
29464 PyObject
* obj1
= 0 ;
29465 PyObject
* obj2
= 0 ;
29466 PyObject
* obj3
= 0 ;
29467 PyObject
* obj4
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29483 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29487 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29504 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29507 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29509 return Py_BuildValue((char *)"");
29511 static PyMethodDef SwigMethods
[] = {
29512 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29518 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29533 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29544 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29551 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29569 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29582 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29586 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29592 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29596 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29603 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29625 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29634 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29635 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29664 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29720 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29725 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29736 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29748 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29759 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29763 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29780 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29786 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29811 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29818 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29838 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29844 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29854 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29856 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29861 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29863 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29868 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29873 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29903 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29948 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29953 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29965 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30017 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30044 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30114 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30126 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30134 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30141 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30157 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30233 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30255 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30260 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30281 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30289 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30294 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30296 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30304 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30306 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30328 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30330 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30331 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30333 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30334 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30336 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30337 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30339 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30340 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30342 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30343 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30345 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30346 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30348 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30349 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30351 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30352 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30354 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30355 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30357 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30358 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30360 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30361 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30363 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30364 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30366 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30367 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30369 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30370 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30372 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30373 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30375 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30376 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30378 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30379 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30381 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30382 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30384 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30387 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30390 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30391 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30393 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30394 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30396 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30397 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30399 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30400 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30402 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30403 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30405 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30406 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30408 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30411 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30412 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30414 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30417 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30418 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30420 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30421 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30423 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30424 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30426 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30427 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30429 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30430 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30432 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30433 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30435 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30436 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30438 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30439 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30441 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30442 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30444 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30445 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30447 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30448 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30450 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30451 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30453 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30454 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30456 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30457 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30459 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30460 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30462 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30463 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30465 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30466 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30468 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30469 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30471 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30472 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30474 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30475 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30477 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30478 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30480 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30481 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30483 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30484 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30486 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30487 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30489 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30490 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30492 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30493 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30495 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30496 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30498 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30499 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30501 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30502 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30504 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30505 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30507 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30508 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30510 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30511 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30513 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30514 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30516 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30517 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30519 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30520 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30522 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30523 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30525 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30526 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30528 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30529 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30531 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30532 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30534 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30535 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30537 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30538 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30540 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30541 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30543 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30544 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30546 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30547 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30549 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30550 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30552 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30553 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30555 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30556 return (void *)((wxControl
*) ((wxGauge
*) x
));
30558 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30559 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30561 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30562 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30564 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30565 return (void *)((wxControl
*) ((wxButton
*) x
));
30567 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30568 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30570 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30571 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30573 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30574 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30576 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30577 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30579 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30580 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30582 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30583 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30585 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30586 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30588 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30589 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30591 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30592 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30594 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30595 return (void *)((wxControl
*) ((wxSlider
*) x
));
30597 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30598 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30600 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30601 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30603 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30604 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30606 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30607 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30609 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30610 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30612 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
30613 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
30615 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30616 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30618 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30619 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30621 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30622 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30624 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30625 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30627 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30628 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30630 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30631 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30633 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30634 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30636 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30639 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30640 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30642 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30643 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30645 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30646 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30648 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30651 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30652 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30654 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30657 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30660 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30661 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30663 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30664 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30666 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30669 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30672 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30675 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30678 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30681 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30682 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30684 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30687 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30688 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30690 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30693 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30696 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30699 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30702 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30705 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30708 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30711 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30714 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30717 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30720 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30723 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30726 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30729 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30732 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30735 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30738 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30741 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30744 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30747 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30750 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30753 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30756 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30757 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30759 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30760 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30762 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30763 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30765 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30766 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30768 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30769 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30771 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30772 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30774 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30775 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30777 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30778 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30780 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30781 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30783 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30784 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30786 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30789 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30790 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30792 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30795 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30798 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30799 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30801 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30802 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30804 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30805 return (void *)((wxObject
*) ((wxSizer
*) x
));
30807 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30808 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30810 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30813 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30816 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30819 static void *_p_wxEventTo_p_wxObject(void *x
) {
30820 return (void *)((wxObject
*) ((wxEvent
*) x
));
30822 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30823 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30825 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30826 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30828 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30829 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30831 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30834 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30837 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30840 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30841 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30843 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30844 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30846 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30847 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30849 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30850 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30852 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30853 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30855 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30856 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30858 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30861 static void *_p_wxControlTo_p_wxObject(void *x
) {
30862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30864 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30867 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30870 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30873 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30876 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30879 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30880 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30882 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30885 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30886 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30888 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30889 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30891 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30894 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30897 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30900 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30901 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30903 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30906 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30909 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30910 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30912 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30915 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30918 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30919 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30921 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30922 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30924 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30927 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30928 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30930 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30931 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30933 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30934 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30936 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30937 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30939 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30940 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30942 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30943 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30945 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30948 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30949 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30951 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30952 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30954 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30957 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30960 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30963 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30964 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30966 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30969 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30970 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30972 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30973 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30975 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30976 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30978 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30981 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30982 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30984 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30985 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30987 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30988 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30990 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30993 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30996 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30999 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31002 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31005 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31008 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31011 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31014 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31015 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31017 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31020 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31023 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31026 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31029 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31030 return (void *)((wxObject
*) ((wxListItem
*) x
));
31032 static void *_p_wxImageTo_p_wxObject(void *x
) {
31033 return (void *)((wxObject
*) ((wxImage
*) x
));
31035 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31036 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31038 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31039 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31041 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31044 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31045 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31047 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31050 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31053 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31056 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31057 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31059 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31060 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31062 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31063 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31065 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31066 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31068 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31069 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31071 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31074 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31075 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31077 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31080 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31081 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31083 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31084 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31086 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31087 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31089 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31090 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31092 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31093 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31095 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31096 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31098 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31099 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31101 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31102 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31104 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31107 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31108 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31110 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31111 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31113 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31116 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31119 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31120 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31122 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31125 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31128 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31129 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31131 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31132 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31134 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31135 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31137 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31138 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31140 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31141 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31143 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31144 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31146 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31147 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31149 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31150 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31152 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31153 return (void *)((wxWindow
*) ((wxControl
*) x
));
31155 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31156 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31158 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31159 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31161 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31162 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31164 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31165 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31167 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31168 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31170 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31171 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31173 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31174 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31176 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31177 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31179 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31180 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31182 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31183 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31185 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31186 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31188 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31189 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31191 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31192 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31194 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31195 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31197 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31198 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31200 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31201 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31203 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31204 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31206 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31207 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31209 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31210 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31212 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31213 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31215 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31216 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31218 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31219 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31221 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31222 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31224 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31225 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31227 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31228 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31230 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31231 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31233 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31234 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31236 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31237 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31239 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31240 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31242 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31243 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31245 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31246 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31248 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31249 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31251 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31252 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31254 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31255 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31257 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31258 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31260 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31261 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31263 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31264 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31266 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31267 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31269 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31270 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31272 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31273 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31275 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31276 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31278 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31279 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31281 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31282 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31284 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31285 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31287 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31288 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
31290 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31291 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31293 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31294 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31296 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31297 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31299 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31300 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31302 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31303 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31305 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31306 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}};
31307 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}};
31308 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31309 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31310 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}};
31311 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31312 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31313 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31314 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}};
31315 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31316 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31317 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31318 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}};
31319 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31320 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31321 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31322 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31323 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31324 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31325 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
31326 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31327 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31328 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31329 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31330 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31331 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31332 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31333 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31334 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31335 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31336 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}};
31337 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31338 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31339 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31340 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31341 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31342 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31343 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31344 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31345 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}};
31346 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31347 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31348 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31349 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}};
31350 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31351 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}};
31352 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31353 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31354 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31355 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31356 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31357 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31358 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31359 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31360 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31361 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31362 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31363 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31364 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31365 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31366 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31367 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31368 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31369 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31370 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31371 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31372 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31373 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}};
31374 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31375 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31376 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}};
31377 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31378 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31379 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31380 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31381 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}};
31382 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31383 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
31384 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31385 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31386 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31387 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31388 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31390 static swig_type_info
*swig_types_initial
[] = {
31391 _swigt__p_wxTextUrlEvent
,
31392 _swigt__p_wxBookCtrlEvent
,
31394 _swigt__p_wxCheckBox
,
31395 _swigt__p_wxPyTreeCtrl
,
31397 _swigt__p_wxGenericDirCtrl
,
31399 _swigt__p_wxPyTreeItemData
,
31400 _swigt__p_wxItemContainer
,
31401 _swigt__p_wxDirFilterListCtrl
,
31402 _swigt__p_wxPyListCtrl
,
31403 _swigt__p_wxStaticLine
,
31404 _swigt__p_wxControl
,
31405 _swigt__p_wxPyControl
,
31407 _swigt__p_wxToolBarBase
,
31409 _swigt__p_wxToggleButton
,
31410 _swigt__p_wxRadioButton
,
31411 _swigt__p_wxChoice
,
31412 _swigt__p_wxMemoryDC
,
31413 _swigt__p_wxListItemAttr
,
31418 _swigt__p_wxListView
,
31420 _swigt__p_wxTextCtrl
,
31421 _swigt__p_wxNotebook
,
31422 _swigt__p_wxNotifyEvent
,
31423 _swigt__p_wxArrayString
,
31424 _swigt__p_wxListbook
,
31425 _swigt__p_wxStaticBitmap
,
31426 _swigt__p_wxSlider
,
31427 _swigt__p_wxStaticBox
,
31428 _swigt__p_wxArrayInt
,
31429 _swigt__p_wxContextHelp
,
31431 _swigt__p_wxEvtHandler
,
31432 _swigt__p_wxListEvent
,
31433 _swigt__p_wxListBox
,
31434 _swigt__p_wxCheckListBox
,
31435 _swigt__p_wxBookCtrl
,
31436 _swigt__p_wxSpinButton
,
31437 _swigt__p_wxButton
,
31438 _swigt__p_wxBitmapButton
,
31440 _swigt__p_wxContextHelpButton
,
31441 _swigt__p_wxRadioBox
,
31442 _swigt__p_wxScrollBar
,
31444 _swigt__p_wxTreeItemId
,
31445 _swigt__p_wxComboBox
,
31446 _swigt__p_wxHelpEvent
,
31447 _swigt__p_wxListItem
,
31448 _swigt__p_wxNotebookSizer
,
31449 _swigt__p_wxSpinEvent
,
31450 _swigt__p_wxGenericDragImage
,
31451 _swigt__p_wxSpinCtrl
,
31452 _swigt__p_wxImageList
,
31453 _swigt__p_wxHelpProvider
,
31454 _swigt__p_wxTextAttr
,
31455 _swigt__p_wxSimpleHelpProvider
,
31457 _swigt__p_wxListbookEvent
,
31458 _swigt__p_wxNotebookEvent
,
31459 _swigt__p_wxObject
,
31460 _swigt__p_wxCursor
,
31461 _swigt__p_wxKeyEvent
,
31462 _swigt__p_wxWindow
,
31463 _swigt__p_wxString
,
31464 _swigt__p_wxBitmap
,
31465 _swigt__p_wxTreeEvent
,
31466 _swigt__p_wxMouseEvent
,
31467 _swigt__p_wxCommandEvent
,
31468 _swigt__p_wxStaticText
,
31469 _swigt__p_wxControlWithItems
,
31470 _swigt__p_wxToolBarToolBase
,
31471 _swigt__p_wxColour
,
31472 _swigt__p_wxToolBar
,
31473 _swigt__p_wxBookCtrlSizer
,
31474 _swigt__p_wxValidator
,
31479 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31481 static swig_const_info swig_const_table
[] = {
31491 SWIGEXPORT(void) SWIG_init(void) {
31492 static PyObject
*SWIG_globals
= 0;
31493 static int typeinit
= 0;
31496 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31497 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31498 d
= PyModule_GetDict(m
);
31501 for (i
= 0; swig_types_initial
[i
]; i
++) {
31502 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31506 SWIG_InstallConstants(d
,swig_const_table
);
31508 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31509 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31510 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31511 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31512 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31513 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31514 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31515 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31516 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31517 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31518 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31519 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31520 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31521 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31522 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31523 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31524 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31525 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31526 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31527 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31528 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31529 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31530 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31531 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31532 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31533 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31534 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31535 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31536 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31537 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31538 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31539 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31540 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31541 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31542 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31543 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31544 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31545 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31546 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31547 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31548 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31549 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31550 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31551 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31552 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31553 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31554 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31555 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31556 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31557 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31558 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31559 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31560 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31561 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31562 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31563 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31564 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31565 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31566 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31567 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31568 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31569 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31570 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31571 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31572 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31573 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31574 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31575 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31576 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31577 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31578 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31579 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31580 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31581 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31582 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31583 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31584 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31585 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31586 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31587 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31588 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31589 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31590 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31591 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31592 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31593 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31594 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31595 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31596 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31597 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31598 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31599 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31600 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31601 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31602 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31603 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31604 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31605 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31606 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31607 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31608 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31609 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31610 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31611 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31612 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31613 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31614 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31615 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31616 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31617 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31618 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31619 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31620 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31621 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31622 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31623 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31624 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31625 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31626 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31627 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31628 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31629 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31630 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31631 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31632 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31633 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31634 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31635 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31636 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31637 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31638 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31639 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31640 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31641 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31642 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31643 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31644 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31645 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31646 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31647 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31648 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31649 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31650 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31651 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31652 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31653 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31654 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31655 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31656 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31657 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31658 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31659 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31660 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31661 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31662 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31663 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31664 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31665 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31666 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31667 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31668 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31669 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31670 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31671 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31672 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31673 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31674 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31675 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31676 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31677 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31678 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31679 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31680 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31681 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31682 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31683 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31684 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31685 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31686 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31687 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31688 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31689 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31690 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31691 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31692 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31693 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31694 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31695 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31696 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31713 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31714 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31715 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31716 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31717 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31718 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31720 // Map renamed classes back to their common name for OOR
31721 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31723 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31724 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31725 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31726 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31727 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31728 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31729 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31730 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31731 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31732 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31733 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31734 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31735 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31736 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31737 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31738 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31739 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31740 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31741 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31742 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31743 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31744 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31745 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31746 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31747 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31748 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31749 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31750 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31751 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31752 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31753 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31754 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31755 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31756 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31757 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31758 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31772 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31773 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31774 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31775 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31776 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31777 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31778 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31780 // Map renamed classes back to their common name for OOR
31781 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31782 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31784 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31785 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31786 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31787 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31788 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31789 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31790 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31791 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31792 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31793 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31795 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");