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
);
484 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
485 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
486 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
488 #include <wx/slider.h>
491 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
492 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
494 #if defined(__WXMAC__) || defined(__WXX11__)
495 // implement dummy classes and such for wxMac
497 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
499 class wxToggleButton
: public wxControl
502 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
503 const wxPoint
&, const wxSize
&, long,
504 const wxValidator
&, const wxString
&)
505 { wxPyRaiseNotImplemented(); }
508 { wxPyRaiseNotImplemented(); }
512 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
514 SWIGSTATIC(PyObject
* )
515 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
517 return (value
> (unsigned long)(LONG_MAX
)) ?
518 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
521 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
522 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
523 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
525 Py_INCREF(udata
->m_obj
);
532 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
533 self
->SetClientData(new wxPyUserData(clientData
));
535 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
){
536 wxPyUserData
* udata
= NULL
;
537 if (clientData
&& clientData
!= Py_None
)
538 udata
= new wxPyUserData(clientData
);
539 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
540 shortHelp
, longHelp
, udata
);
542 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
){
543 wxPyUserData
* udata
= NULL
;
544 if (clientData
&& clientData
!= Py_None
)
545 udata
= new wxPyUserData(clientData
);
546 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
547 shortHelp
, longHelp
, udata
);
549 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
550 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
552 Py_INCREF(udata
->m_obj
);
559 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
560 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
563 #include <wx/listctrl.h>
566 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
567 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
568 // Python aware sorting function for wxPyListCtrl
569 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
571 PyObject
* func
= (PyObject
*)funcPtr
;
572 wxPyBeginBlockThreads();
574 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
575 PyObject
* result
= PyEval_CallObject(func
, args
);
578 retval
= PyInt_AsLong(result
);
582 wxPyEndBlockThreads();
586 // C++ Version of a Python aware class
587 class wxPyListCtrl
: public wxListCtrl
{
588 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
590 wxPyListCtrl() : wxListCtrl() {}
591 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
595 const wxValidator
& validator
,
596 const wxString
& name
) :
597 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
599 bool Create(wxWindow
* parent
, wxWindowID id
,
603 const wxValidator
& validator
,
604 const wxString
& name
) {
605 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
608 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
609 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
610 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
615 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
617 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
618 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
619 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
621 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
623 item
.SetMask( wxLIST_MASK_STATE
|
631 if (self
->GetColumn(col
, item
))
632 return new wxListItem(item
);
636 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
637 wxListItem
* info
= new wxListItem
;
638 info
->m_itemId
= itemId
;
640 info
->m_mask
= 0xFFFF;
641 self
->GetItem(*info
);
644 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
646 self
->GetItemPosition(item
, pos
);
649 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
651 self
->GetItemRect(item
, rect
, code
);
654 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
655 if (!PyCallable_Check(func
))
657 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
659 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
663 return (wxWindow
*)self
->m_mainWin
;
667 #include <wx/treectrl.h>
668 #include "wx/wxPython/pytree.h"
670 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
671 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
672 if (!other
) return False
;
673 return *self
== *other
;
675 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
676 if (!other
) return True
;
677 return *self
!= *other
;
679 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
680 // C++ version of Python aware wxTreeCtrl
681 class wxPyTreeCtrl
: public wxTreeCtrl
{
682 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
684 wxPyTreeCtrl() : wxTreeCtrl() {}
685 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) :
691 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
693 bool Create(wxWindow
*parent
, wxWindowID id
,
697 const wxValidator
& validator
,
698 const wxString
& name
) {
699 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
703 int OnCompareItems(const wxTreeItemId
& item1
,
704 const wxTreeItemId
& item2
) {
707 wxPyBeginBlockThreads();
708 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
709 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
710 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
711 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
715 wxPyEndBlockThreads();
717 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
723 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
727 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
730 SWIGSTATIC(unsigned int)
731 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
733 return numeric_cast(unsigned int,
734 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
737 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
738 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
740 data
= new wxPyTreeItemData();
741 data
->SetId(item
); // set the id
742 self
->SetItemData(item
, data
);
746 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
747 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
749 data
= new wxPyTreeItemData();
750 data
->SetId(item
); // set the id
751 self
->SetItemData(item
, data
);
753 return data
->GetData();
755 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
756 data
->SetId(item
); // set the id
757 self
->SetItemData(item
, data
);
759 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
760 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
762 data
= new wxPyTreeItemData(obj
);
763 data
->SetId(item
); // set the id
764 self
->SetItemData(item
, data
);
768 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
769 wxPyBeginBlockThreads();
770 PyObject
* rval
= PyList_New(0);
771 wxArrayTreeItemIds array
;
773 num
= self
->GetSelections(array
);
774 for (x
=0; x
< num
; x
++) {
775 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
776 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
777 PyList_Append(rval
, item
);
779 wxPyEndBlockThreads();
782 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
784 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
785 wxPyBeginBlockThreads();
786 PyObject
* tup
= PyTuple_New(2);
787 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
788 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
789 wxPyEndBlockThreads();
792 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
793 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
794 wxPyBeginBlockThreads();
795 PyObject
* tup
= PyTuple_New(2);
796 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
797 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
798 wxPyEndBlockThreads();
801 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
803 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
804 wxPyBeginBlockThreads();
805 wxRect
* r
= new wxRect(rect
);
806 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
807 wxPyEndBlockThreads();
813 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
814 // C++ version of Python aware wxControl
815 class wxPyControl
: public wxControl
817 DECLARE_DYNAMIC_CLASS(wxPyControl
)
819 wxPyControl() : wxControl() {}
820 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
821 const wxPoint
& pos
= wxDefaultPosition
,
822 const wxSize
& size
= wxDefaultSize
,
824 const wxValidator
& validator
=wxDefaultValidator
,
825 const wxString
& name
= wxPyControlNameStr
)
826 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
829 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
830 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
831 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
832 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
834 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
835 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
836 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
838 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
839 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
841 DEC_PYCALLBACK__(InitDialog
);
842 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
843 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
844 DEC_PYCALLBACK_BOOL_(Validate
);
846 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
847 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
848 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
850 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
851 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
856 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
858 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
859 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
860 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
861 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
863 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
864 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
865 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
867 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
868 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
870 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
871 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
872 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
873 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
875 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
876 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
877 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
879 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
880 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
885 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
887 #include <wx/generic/dragimgg.h>
892 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
893 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
898 static PyObject
*_wrap_ButtonNameStr_get() {
903 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
905 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
912 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 wxWindow
*arg1
= (wxWindow
*) 0 ;
917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
921 long arg6
= (long) 0 ;
922 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
923 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
924 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
925 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
931 PyObject
* obj0
= 0 ;
932 PyObject
* obj1
= 0 ;
933 PyObject
* obj2
= 0 ;
934 PyObject
* obj3
= 0 ;
935 PyObject
* obj4
= 0 ;
936 PyObject
* obj5
= 0 ;
937 PyObject
* obj6
= 0 ;
938 PyObject
* obj7
= 0 ;
940 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
946 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
947 if (PyErr_Occurred()) SWIG_fail
;
950 arg3
= wxString_in_helper(obj2
);
951 if (arg3
== NULL
) SWIG_fail
;
957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
968 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
969 if (PyErr_Occurred()) SWIG_fail
;
973 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
975 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
980 arg8
= wxString_in_helper(obj7
);
981 if (arg8
== NULL
) SWIG_fail
;
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) SWIG_fail
;
993 resultobj
= wxPyMake_wxObject(result
);
1017 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
*resultobj
;
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1027 result
= (wxButton
*)new wxButton();
1029 wxPyEndAllowThreads(__tstate
);
1030 if (PyErr_Occurred()) SWIG_fail
;
1033 resultobj
= wxPyMake_wxObject(result
);
1041 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
*resultobj
;
1043 wxButton
*arg1
= (wxButton
*) 0 ;
1044 wxWindow
*arg2
= (wxWindow
*) 0 ;
1046 wxString
*arg4
= 0 ;
1047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1051 long arg7
= (long) 0 ;
1052 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1053 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1054 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1055 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1057 bool temp4
= False
;
1060 bool temp9
= False
;
1061 PyObject
* obj0
= 0 ;
1062 PyObject
* obj1
= 0 ;
1063 PyObject
* obj2
= 0 ;
1064 PyObject
* obj3
= 0 ;
1065 PyObject
* obj4
= 0 ;
1066 PyObject
* obj5
= 0 ;
1067 PyObject
* obj6
= 0 ;
1068 PyObject
* obj7
= 0 ;
1069 PyObject
* obj8
= 0 ;
1071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1078 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1079 if (PyErr_Occurred()) SWIG_fail
;
1082 arg4
= wxString_in_helper(obj3
);
1083 if (arg4
== NULL
) SWIG_fail
;
1089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1100 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1105 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1112 arg9
= wxString_in_helper(obj8
);
1113 if (arg9
== NULL
) SWIG_fail
;
1118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1119 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1121 wxPyEndAllowThreads(__tstate
);
1122 if (PyErr_Occurred()) SWIG_fail
;
1124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1147 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
*resultobj
;
1149 wxButton
*arg1
= (wxButton
*) 0 ;
1150 PyObject
* obj0
= 0 ;
1152 (char *) "self", NULL
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 (arg1
)->SetDefault();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1164 Py_INCREF(Py_None
); resultobj
= Py_None
;
1171 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1181 result
= wxButton::GetDefaultSize();
1183 wxPyEndAllowThreads(__tstate
);
1184 if (PyErr_Occurred()) SWIG_fail
;
1188 resultptr
= new wxSize((wxSize
&) result
);
1189 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1197 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1200 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1202 return Py_BuildValue((char *)"");
1204 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
*resultobj
;
1206 wxWindow
*arg1
= (wxWindow
*) 0 ;
1208 wxBitmap
*arg3
= 0 ;
1209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1213 long arg6
= (long) wxBU_AUTODRAW
;
1214 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1215 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1216 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1217 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1218 wxBitmapButton
*result
;
1221 bool temp8
= False
;
1222 PyObject
* obj0
= 0 ;
1223 PyObject
* obj1
= 0 ;
1224 PyObject
* obj2
= 0 ;
1225 PyObject
* obj3
= 0 ;
1226 PyObject
* obj4
= 0 ;
1227 PyObject
* obj5
= 0 ;
1228 PyObject
* obj6
= 0 ;
1229 PyObject
* obj7
= 0 ;
1231 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1240 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1258 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1263 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1265 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1270 arg8
= wxString_in_helper(obj7
);
1271 if (arg8
== NULL
) SWIG_fail
;
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1283 resultobj
= wxPyMake_wxObject(result
);
1299 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
*resultobj
;
1301 wxBitmapButton
*result
;
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 result
= (wxBitmapButton
*)new wxBitmapButton();
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) SWIG_fail
;
1315 resultobj
= wxPyMake_wxObject(result
);
1323 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
*resultobj
;
1325 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1326 wxWindow
*arg2
= (wxWindow
*) 0 ;
1328 wxBitmap
*arg4
= 0 ;
1329 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1330 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1331 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1332 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1333 long arg7
= (long) wxBU_AUTODRAW
;
1334 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1335 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1336 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1337 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1341 bool temp9
= False
;
1342 PyObject
* obj0
= 0 ;
1343 PyObject
* obj1
= 0 ;
1344 PyObject
* obj2
= 0 ;
1345 PyObject
* obj3
= 0 ;
1346 PyObject
* obj4
= 0 ;
1347 PyObject
* obj5
= 0 ;
1348 PyObject
* obj6
= 0 ;
1349 PyObject
* obj7
= 0 ;
1350 PyObject
* obj8
= 0 ;
1352 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1359 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1362 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1369 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1375 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1380 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1381 if (PyErr_Occurred()) SWIG_fail
;
1385 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1387 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1392 arg9
= wxString_in_helper(obj8
);
1393 if (arg9
== NULL
) SWIG_fail
;
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1419 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
*resultobj
;
1421 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1423 PyObject
* obj0
= 0 ;
1425 (char *) "self", NULL
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 result
= (arg1
)->GetBitmapLabel();
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1438 wxBitmap
* resultptr
;
1439 resultptr
= new wxBitmap((wxBitmap
&) result
);
1440 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1448 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1452 PyObject
* obj0
= 0 ;
1454 (char *) "self", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 result
= (arg1
)->GetBitmapDisabled();
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) SWIG_fail
;
1467 wxBitmap
* resultptr
;
1468 resultptr
= new wxBitmap((wxBitmap
&) result
);
1469 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1477 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1481 PyObject
* obj0
= 0 ;
1483 (char *) "self", NULL
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 result
= (arg1
)->GetBitmapFocus();
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1496 wxBitmap
* resultptr
;
1497 resultptr
= new wxBitmap((wxBitmap
&) result
);
1498 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1506 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1510 PyObject
* obj0
= 0 ;
1512 (char *) "self", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 result
= (arg1
)->GetBitmapSelected();
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1525 wxBitmap
* resultptr
;
1526 resultptr
= new wxBitmap((wxBitmap
&) result
);
1527 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1535 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
*resultobj
;
1537 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1538 wxBitmap
*arg2
= 0 ;
1539 PyObject
* obj0
= 0 ;
1540 PyObject
* obj1
= 0 ;
1542 (char *) "self",(char *) "bitmap", NULL
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1549 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 Py_INCREF(Py_None
); resultobj
= Py_None
;
1565 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1567 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1568 wxBitmap
*arg2
= 0 ;
1569 PyObject
* obj0
= 0 ;
1570 PyObject
* obj1
= 0 ;
1572 (char *) "self",(char *) "bitmap", NULL
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1588 Py_INCREF(Py_None
); resultobj
= Py_None
;
1595 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1598 wxBitmap
*arg2
= 0 ;
1599 PyObject
* obj0
= 0 ;
1600 PyObject
* obj1
= 0 ;
1602 (char *) "self",(char *) "bitmap", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1618 Py_INCREF(Py_None
); resultobj
= Py_None
;
1625 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1628 wxBitmap
*arg2
= 0 ;
1629 PyObject
* obj0
= 0 ;
1630 PyObject
* obj1
= 0 ;
1632 (char *) "self",(char *) "bitmap", NULL
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 Py_INCREF(Py_None
); resultobj
= Py_None
;
1655 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1664 (char *) "self",(char *) "x",(char *) "y", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1670 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1674 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 (arg1
)->SetMargins(arg2
,arg3
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1695 PyObject
* obj0
= 0 ;
1697 (char *) "self", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 resultobj
= SWIG_PyObj_FromInt((int)result
);
1716 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1720 PyObject
* obj0
= 0 ;
1722 (char *) "self", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 resultobj
= SWIG_PyObj_FromInt((int)result
);
1741 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1744 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1746 return Py_BuildValue((char *)"");
1748 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1749 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1754 static PyObject
*_wrap_CheckBoxNameStr_get() {
1759 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1761 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1768 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxWindow
*arg1
= (wxWindow
*) 0 ;
1772 wxString
*arg3
= 0 ;
1773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1777 long arg6
= (long) 0 ;
1778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1780 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1783 bool temp3
= False
;
1786 bool temp8
= False
;
1787 PyObject
* obj0
= 0 ;
1788 PyObject
* obj1
= 0 ;
1789 PyObject
* obj2
= 0 ;
1790 PyObject
* obj3
= 0 ;
1791 PyObject
* obj4
= 0 ;
1792 PyObject
* obj5
= 0 ;
1793 PyObject
* obj6
= 0 ;
1794 PyObject
* obj7
= 0 ;
1796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1802 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1806 arg3
= wxString_in_helper(obj2
);
1807 if (arg3
== NULL
) SWIG_fail
;
1813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1824 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1829 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1836 arg8
= wxString_in_helper(obj7
);
1837 if (arg8
== NULL
) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1871 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (wxCheckBox
*)new wxCheckBox();
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1893 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1896 wxWindow
*arg2
= (wxWindow
*) 0 ;
1898 wxString
*arg4
= 0 ;
1899 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1900 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1901 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1902 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1903 long arg7
= (long) 0 ;
1904 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1905 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1906 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1907 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1909 bool temp4
= False
;
1912 bool temp9
= False
;
1913 PyObject
* obj0
= 0 ;
1914 PyObject
* obj1
= 0 ;
1915 PyObject
* obj2
= 0 ;
1916 PyObject
* obj3
= 0 ;
1917 PyObject
* obj4
= 0 ;
1918 PyObject
* obj5
= 0 ;
1919 PyObject
* obj6
= 0 ;
1920 PyObject
* obj7
= 0 ;
1921 PyObject
* obj8
= 0 ;
1923 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1930 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1934 arg4
= wxString_in_helper(obj3
);
1935 if (arg4
== NULL
) SWIG_fail
;
1941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1952 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1957 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1964 arg9
= wxString_in_helper(obj8
);
1965 if (arg9
== NULL
) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1999 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2005 (char *) "self", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 result
= (bool)(arg1
)->GetValue();
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2024 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
*resultobj
;
2026 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2028 PyObject
* obj0
= 0 ;
2030 (char *) "self", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 result
= (bool)(arg1
)->IsChecked();
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2049 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 (char *) "self",(char *) "state", NULL
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2062 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 (arg1
)->SetValue(arg2
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2072 Py_INCREF(Py_None
); resultobj
= Py_None
;
2079 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
*resultobj
;
2081 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2083 PyObject
* obj0
= 0 ;
2085 (char *) "self", NULL
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 resultobj
= SWIG_PyObj_FromInt((int)result
);
2104 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2108 PyObject
* obj0
= 0 ;
2109 PyObject
* obj1
= 0 ;
2111 (char *) "self",(char *) "state", NULL
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2117 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 Py_INCREF(Py_None
); resultobj
= Py_None
;
2134 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2138 PyObject
* obj0
= 0 ;
2140 (char *) "self", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2159 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2161 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2165 (char *) "self", NULL
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2184 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2187 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2189 return Py_BuildValue((char *)"");
2191 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2192 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2197 static PyObject
*_wrap_ChoiceNameStr_get() {
2202 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2204 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2211 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxWindow
*arg1
= (wxWindow
*) 0 ;
2215 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2216 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2217 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2218 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2219 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2220 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2221 long arg6
= (long) 0 ;
2222 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2223 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2224 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2225 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2229 bool temp5
= False
;
2230 bool temp8
= False
;
2231 PyObject
* obj0
= 0 ;
2232 PyObject
* obj1
= 0 ;
2233 PyObject
* obj2
= 0 ;
2234 PyObject
* obj3
= 0 ;
2235 PyObject
* obj4
= 0 ;
2236 PyObject
* obj5
= 0 ;
2237 PyObject
* obj6
= 0 ;
2238 PyObject
* obj7
= 0 ;
2240 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2258 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2263 if (! PySequence_Check(obj4
)) {
2264 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2267 arg5
= new wxArrayString
;
2269 int i
, len
=PySequence_Length(obj4
);
2270 for (i
=0; i
<len
; i
++) {
2271 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2273 PyObject
* str
= PyObject_Unicode(item
);
2275 PyObject
* str
= PyObject_Str(item
);
2277 arg5
->Add(Py2wxString(str
));
2285 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2290 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2292 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2297 arg8
= wxString_in_helper(obj7
);
2298 if (arg8
== NULL
) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2311 if (temp5
) delete arg5
;
2320 if (temp5
) delete arg5
;
2330 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (wxChoice
*)new wxChoice();
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2352 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxChoice
*arg1
= (wxChoice
*) 0 ;
2355 wxWindow
*arg2
= (wxWindow
*) 0 ;
2357 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2358 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2359 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2360 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2361 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2362 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2363 long arg7
= (long) 0 ;
2364 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2365 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2366 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2367 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2371 bool temp6
= False
;
2372 bool temp9
= False
;
2373 PyObject
* obj0
= 0 ;
2374 PyObject
* obj1
= 0 ;
2375 PyObject
* obj2
= 0 ;
2376 PyObject
* obj3
= 0 ;
2377 PyObject
* obj4
= 0 ;
2378 PyObject
* obj5
= 0 ;
2379 PyObject
* obj6
= 0 ;
2380 PyObject
* obj7
= 0 ;
2381 PyObject
* obj8
= 0 ;
2383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2390 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2407 if (! PySequence_Check(obj5
)) {
2408 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2411 arg6
= new wxArrayString
;
2413 int i
, len
=PySequence_Length(obj5
);
2414 for (i
=0; i
<len
; i
++) {
2415 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2417 PyObject
* str
= PyObject_Unicode(item
);
2419 PyObject
* str
= PyObject_Str(item
);
2421 arg6
->Add(Py2wxString(str
));
2429 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2434 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2441 arg9
= wxString_in_helper(obj8
);
2442 if (arg9
== NULL
) SWIG_fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2455 if (temp6
) delete arg6
;
2464 if (temp6
) delete arg6
;
2474 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxChoice
*arg1
= (wxChoice
*) 0 ;
2478 PyObject
* obj0
= 0 ;
2480 (char *) "self", NULL
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 result
= (int)(arg1
)->GetColumns();
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 resultobj
= SWIG_PyObj_FromInt((int)result
);
2499 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxChoice
*arg1
= (wxChoice
*) 0 ;
2502 int arg2
= (int) (int)1 ;
2503 PyObject
* obj0
= 0 ;
2504 PyObject
* obj1
= 0 ;
2506 (char *) "self",(char *) "n", NULL
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2513 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 (arg1
)->SetColumns(arg2
);
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 Py_INCREF(Py_None
); resultobj
= Py_None
;
2531 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 wxChoice
*arg1
= (wxChoice
*) 0 ;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2538 (char *) "self",(char *) "n", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2544 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 (arg1
)->SetSelection(arg2
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2554 Py_INCREF(Py_None
); resultobj
= Py_None
;
2561 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxChoice
*arg1
= (wxChoice
*) 0 ;
2564 wxString
*arg2
= 0 ;
2565 bool temp2
= False
;
2566 PyObject
* obj0
= 0 ;
2567 PyObject
* obj1
= 0 ;
2569 (char *) "self",(char *) "string", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2575 arg2
= wxString_in_helper(obj1
);
2576 if (arg2
== NULL
) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 Py_INCREF(Py_None
); resultobj
= Py_None
;
2601 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
*resultobj
;
2603 wxChoice
*arg1
= (wxChoice
*) 0 ;
2605 wxString
*arg3
= 0 ;
2606 bool temp3
= False
;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2609 PyObject
* obj2
= 0 ;
2611 (char *) "self",(char *) "n",(char *) "s", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2621 arg3
= wxString_in_helper(obj2
);
2622 if (arg3
== NULL
) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 Py_INCREF(Py_None
); resultobj
= Py_None
;
2647 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2650 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2652 return Py_BuildValue((char *)"");
2654 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2655 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2660 static PyObject
*_wrap_ComboBoxNameStr_get() {
2665 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2667 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2674 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxWindow
*arg1
= (wxWindow
*) 0 ;
2678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2680 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2681 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2682 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2683 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2684 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2685 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2686 long arg7
= (long) 0 ;
2687 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2688 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2689 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2690 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2692 bool temp3
= False
;
2695 bool temp6
= False
;
2696 bool temp9
= False
;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2699 PyObject
* obj2
= 0 ;
2700 PyObject
* obj3
= 0 ;
2701 PyObject
* obj4
= 0 ;
2702 PyObject
* obj5
= 0 ;
2703 PyObject
* obj6
= 0 ;
2704 PyObject
* obj7
= 0 ;
2705 PyObject
* obj8
= 0 ;
2707 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2713 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2718 arg3
= wxString_in_helper(obj2
);
2719 if (arg3
== NULL
) SWIG_fail
;
2726 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2732 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2737 if (! PySequence_Check(obj5
)) {
2738 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2741 arg6
= new wxArrayString
;
2743 int i
, len
=PySequence_Length(obj5
);
2744 for (i
=0; i
<len
; i
++) {
2745 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2747 PyObject
* str
= PyObject_Unicode(item
);
2749 PyObject
* str
= PyObject_Str(item
);
2751 arg6
->Add(Py2wxString(str
));
2759 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2764 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2771 arg9
= wxString_in_helper(obj8
);
2772 if (arg9
== NULL
) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 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
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2789 if (temp6
) delete arg6
;
2802 if (temp6
) delete arg6
;
2812 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= (wxComboBox
*)new wxComboBox();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2834 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2837 wxWindow
*arg2
= (wxWindow
*) 0 ;
2839 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2840 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2841 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2842 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2843 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2844 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2845 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2846 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2847 long arg8
= (long) 0 ;
2848 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2849 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2850 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2851 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2853 bool temp4
= False
;
2856 bool temp7
= False
;
2857 bool temp10
= False
;
2858 PyObject
* obj0
= 0 ;
2859 PyObject
* obj1
= 0 ;
2860 PyObject
* obj2
= 0 ;
2861 PyObject
* obj3
= 0 ;
2862 PyObject
* obj4
= 0 ;
2863 PyObject
* obj5
= 0 ;
2864 PyObject
* obj6
= 0 ;
2865 PyObject
* obj7
= 0 ;
2866 PyObject
* obj8
= 0 ;
2867 PyObject
* obj9
= 0 ;
2869 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2876 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2881 arg4
= wxString_in_helper(obj3
);
2882 if (arg4
== NULL
) SWIG_fail
;
2889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2895 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2900 if (! PySequence_Check(obj6
)) {
2901 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2904 arg7
= new wxArrayString
;
2906 int i
, len
=PySequence_Length(obj6
);
2907 for (i
=0; i
<len
; i
++) {
2908 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2910 PyObject
* str
= PyObject_Unicode(item
);
2912 PyObject
* str
= PyObject_Str(item
);
2914 arg7
->Add(Py2wxString(str
));
2922 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2927 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2934 arg10
= wxString_in_helper(obj9
);
2935 if (arg10
== NULL
) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 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
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2952 if (temp7
) delete arg7
;
2965 if (temp7
) delete arg7
;
2975 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= ((wxComboBox
const *)arg1
)->GetValue();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3006 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3009 wxString
*arg2
= 0 ;
3010 bool temp2
= False
;
3011 PyObject
* obj0
= 0 ;
3012 PyObject
* obj1
= 0 ;
3014 (char *) "self",(char *) "value", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3020 arg2
= wxString_in_helper(obj1
);
3021 if (arg2
== NULL
) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 (arg1
)->SetValue((wxString
const &)*arg2
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3046 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
*resultobj
;
3048 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3051 (char *) "self", NULL
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3063 Py_INCREF(Py_None
); resultobj
= Py_None
;
3070 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3072 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3075 (char *) "self", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 Py_INCREF(Py_None
); resultobj
= Py_None
;
3094 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3097 PyObject
* obj0
= 0 ;
3099 (char *) "self", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3111 Py_INCREF(Py_None
); resultobj
= Py_None
;
3118 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj1
= 0 ;
3125 (char *) "self",(char *) "pos", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3131 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 (arg1
)->SetInsertionPoint(arg2
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 Py_INCREF(Py_None
); resultobj
= Py_None
;
3148 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3154 (char *) "self", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3166 resultobj
= SWIG_PyObj_FromLong((long)result
);
3173 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3175 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3179 (char *) "self", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= SWIG_PyObj_FromLong((long)result
);
3198 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3203 wxString
*arg4
= 0 ;
3204 bool temp4
= False
;
3205 PyObject
* obj0
= 0 ;
3206 PyObject
* obj1
= 0 ;
3207 PyObject
* obj2
= 0 ;
3208 PyObject
* obj3
= 0 ;
3210 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3216 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3220 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3224 arg4
= wxString_in_helper(obj3
);
3225 if (arg4
== NULL
) SWIG_fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 Py_INCREF(Py_None
); resultobj
= Py_None
;
3250 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3254 PyObject
* obj0
= 0 ;
3255 PyObject
* obj1
= 0 ;
3257 (char *) "self",(char *) "n", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3263 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 (arg1
)->SetSelection(arg2
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 Py_INCREF(Py_None
); resultobj
= Py_None
;
3280 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3287 PyObject
* obj2
= 0 ;
3289 (char *) "self",(char *) "from",(char *) "to", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3295 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3299 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SetSelection(arg2
,arg3
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3323 (char *) "self",(char *) "editable", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3329 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 (arg1
)->SetEditable(arg2
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 (arg1
)->SetInsertionPointEnd();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3377 PyObject
* obj2
= 0 ;
3379 (char *) "self",(char *) "from",(char *) "to", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3385 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3389 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 (arg1
)->Remove(arg2
,arg3
);
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 Py_INCREF(Py_None
); resultobj
= Py_None
;
3406 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3409 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3411 return Py_BuildValue((char *)"");
3413 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3414 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3419 static PyObject
*_wrap_GaugeNameStr_get() {
3424 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3426 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3433 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxWindow
*arg1
= (wxWindow
*) 0 ;
3438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3442 long arg6
= (long) wxGA_HORIZONTAL
;
3443 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3444 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3445 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3450 bool temp8
= False
;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3453 PyObject
* obj2
= 0 ;
3454 PyObject
* obj3
= 0 ;
3455 PyObject
* obj4
= 0 ;
3456 PyObject
* obj5
= 0 ;
3457 PyObject
* obj6
= 0 ;
3458 PyObject
* obj7
= 0 ;
3460 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3466 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3470 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3487 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3492 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3494 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3499 arg8
= wxString_in_helper(obj7
);
3500 if (arg8
== NULL
) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3526 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (wxGauge
*)new wxGauge();
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3548 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxGauge
*arg1
= (wxGauge
*) 0 ;
3551 wxWindow
*arg2
= (wxWindow
*) 0 ;
3554 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3555 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3556 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3557 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3558 long arg7
= (long) wxGA_HORIZONTAL
;
3559 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3560 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3561 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3562 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp9
= False
;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3569 PyObject
* obj2
= 0 ;
3570 PyObject
* obj3
= 0 ;
3571 PyObject
* obj4
= 0 ;
3572 PyObject
* obj5
= 0 ;
3573 PyObject
* obj6
= 0 ;
3574 PyObject
* obj7
= 0 ;
3575 PyObject
* obj8
= 0 ;
3577 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3582 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3584 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3588 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3594 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3600 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3605 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3610 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3617 arg9
= wxString_in_helper(obj8
);
3618 if (arg9
== NULL
) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3644 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxGauge
*arg1
= (wxGauge
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3651 (char *) "self",(char *) "range", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 (arg1
)->SetRange(arg2
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 Py_INCREF(Py_None
); resultobj
= Py_None
;
3674 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxGauge
*arg1
= (wxGauge
*) 0 ;
3678 PyObject
* obj0
= 0 ;
3680 (char *) "self", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= SWIG_PyObj_FromInt((int)result
);
3699 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxGauge
*arg1
= (wxGauge
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3706 (char *) "self",(char *) "pos", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 (arg1
)->SetValue(arg2
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxGauge
*arg1
= (wxGauge
*) 0 ;
3733 PyObject
* obj0
= 0 ;
3735 (char *) "self", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_PyObj_FromInt((int)result
);
3754 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxGauge
*arg1
= (wxGauge
*) 0 ;
3758 PyObject
* obj0
= 0 ;
3760 (char *) "self", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3779 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxGauge
*arg1
= (wxGauge
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "w", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3792 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 (arg1
)->SetShadowWidth(arg2
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 Py_INCREF(Py_None
); resultobj
= Py_None
;
3809 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxGauge
*arg1
= (wxGauge
*) 0 ;
3813 PyObject
* obj0
= 0 ;
3815 (char *) "self", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_PyObj_FromInt((int)result
);
3834 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxGauge
*arg1
= (wxGauge
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3841 (char *) "self",(char *) "w", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->SetBezelFace(arg2
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxGauge
*arg1
= (wxGauge
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3870 (char *) "self", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_PyObj_FromInt((int)result
);
3889 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3892 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3894 return Py_BuildValue((char *)"");
3896 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3897 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3902 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3907 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3909 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3916 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3917 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3922 static PyObject
*_wrap_StaticBoxNameStr_get() {
3927 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3929 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3936 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3937 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3942 static PyObject
*_wrap_StaticTextNameStr_get() {
3947 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3949 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3956 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxWindow
*arg1
= (wxWindow
*) 0 ;
3960 wxString
*arg3
= 0 ;
3961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3965 long arg6
= (long) 0 ;
3966 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3968 wxStaticBox
*result
;
3969 bool temp3
= False
;
3972 bool temp7
= False
;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3975 PyObject
* obj2
= 0 ;
3976 PyObject
* obj3
= 0 ;
3977 PyObject
* obj4
= 0 ;
3978 PyObject
* obj5
= 0 ;
3979 PyObject
* obj6
= 0 ;
3981 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3987 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 arg3
= wxString_in_helper(obj2
);
3992 if (arg3
== NULL
) SWIG_fail
;
3998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4009 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4015 arg7
= wxString_in_helper(obj6
);
4016 if (arg7
== NULL
) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= wxPyMake_wxObject(result
);
4052 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxStaticBox
*result
;
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (wxStaticBox
*)new wxStaticBox();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= wxPyMake_wxObject(result
);
4076 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4079 wxWindow
*arg2
= (wxWindow
*) 0 ;
4081 wxString
*arg4
= 0 ;
4082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4084 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4085 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4086 long arg7
= (long) 0 ;
4087 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4088 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4090 bool temp4
= False
;
4093 bool temp8
= False
;
4094 PyObject
* obj0
= 0 ;
4095 PyObject
* obj1
= 0 ;
4096 PyObject
* obj2
= 0 ;
4097 PyObject
* obj3
= 0 ;
4098 PyObject
* obj4
= 0 ;
4099 PyObject
* obj5
= 0 ;
4100 PyObject
* obj6
= 0 ;
4101 PyObject
* obj7
= 0 ;
4103 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4110 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4114 arg4
= wxString_in_helper(obj3
);
4115 if (arg4
== NULL
) SWIG_fail
;
4121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4132 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4138 arg8
= wxString_in_helper(obj7
);
4139 if (arg8
== NULL
) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4173 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4176 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4178 return Py_BuildValue((char *)"");
4180 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxWindow
*arg1
= (wxWindow
*) 0 ;
4184 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4185 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4186 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4187 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4188 long arg5
= (long) wxLI_HORIZONTAL
;
4189 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4190 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4191 wxStaticLine
*result
;
4194 bool temp6
= False
;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4197 PyObject
* obj2
= 0 ;
4198 PyObject
* obj3
= 0 ;
4199 PyObject
* obj4
= 0 ;
4200 PyObject
* obj5
= 0 ;
4202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4208 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4225 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4231 arg6
= wxString_in_helper(obj5
);
4232 if (arg6
== NULL
) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4258 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxStaticLine
*result
;
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (wxStaticLine
*)new wxStaticLine();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4280 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4283 wxWindow
*arg2
= (wxWindow
*) 0 ;
4285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4289 long arg6
= (long) wxLI_HORIZONTAL
;
4290 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4291 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4295 bool temp7
= False
;
4296 PyObject
* obj0
= 0 ;
4297 PyObject
* obj1
= 0 ;
4298 PyObject
* obj2
= 0 ;
4299 PyObject
* obj3
= 0 ;
4300 PyObject
* obj4
= 0 ;
4301 PyObject
* obj5
= 0 ;
4302 PyObject
* obj6
= 0 ;
4304 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4311 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4328 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4334 arg7
= wxString_in_helper(obj6
);
4335 if (arg7
== NULL
) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4361 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4367 (char *) "self", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4386 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (int)wxStaticLine::GetDefaultSize();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= SWIG_PyObj_FromInt((int)result
);
4408 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4411 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4413 return Py_BuildValue((char *)"");
4415 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxWindow
*arg1
= (wxWindow
*) 0 ;
4419 wxString
*arg3
= 0 ;
4420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4424 long arg6
= (long) 0 ;
4425 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4426 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4427 wxStaticText
*result
;
4428 bool temp3
= False
;
4431 bool temp7
= False
;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4435 PyObject
* obj3
= 0 ;
4436 PyObject
* obj4
= 0 ;
4437 PyObject
* obj5
= 0 ;
4438 PyObject
* obj6
= 0 ;
4440 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4446 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4450 arg3
= wxString_in_helper(obj2
);
4451 if (arg3
== NULL
) SWIG_fail
;
4457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4468 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4474 arg7
= wxString_in_helper(obj6
);
4475 if (arg7
== NULL
) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4509 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4511 wxStaticText
*result
;
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 result
= (wxStaticText
*)new wxStaticText();
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4531 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4534 wxWindow
*arg2
= (wxWindow
*) 0 ;
4536 wxString
*arg4
= 0 ;
4537 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4538 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4539 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4540 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4541 long arg7
= (long) 0 ;
4542 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4543 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4545 bool temp4
= False
;
4548 bool temp8
= False
;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4551 PyObject
* obj2
= 0 ;
4552 PyObject
* obj3
= 0 ;
4553 PyObject
* obj4
= 0 ;
4554 PyObject
* obj5
= 0 ;
4555 PyObject
* obj6
= 0 ;
4556 PyObject
* obj7
= 0 ;
4558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4565 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 arg4
= wxString_in_helper(obj3
);
4570 if (arg4
== NULL
) SWIG_fail
;
4576 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4582 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4587 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4593 arg8
= wxString_in_helper(obj7
);
4594 if (arg8
== NULL
) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4628 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4631 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4633 return Py_BuildValue((char *)"");
4635 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxWindow
*arg1
= (wxWindow
*) 0 ;
4639 wxBitmap
*arg3
= 0 ;
4640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4644 long arg6
= (long) 0 ;
4645 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4646 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4647 wxStaticBitmap
*result
;
4650 bool temp7
= False
;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 PyObject
* obj2
= 0 ;
4654 PyObject
* obj3
= 0 ;
4655 PyObject
* obj4
= 0 ;
4656 PyObject
* obj5
= 0 ;
4657 PyObject
* obj6
= 0 ;
4659 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4670 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4686 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4692 arg7
= wxString_in_helper(obj6
);
4693 if (arg7
== NULL
) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4719 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxStaticBitmap
*result
;
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4741 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4744 wxWindow
*arg2
= (wxWindow
*) 0 ;
4746 wxBitmap
*arg4
= 0 ;
4747 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4748 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4749 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4750 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4751 long arg7
= (long) 0 ;
4752 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4753 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4757 bool temp8
= False
;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 PyObject
* obj3
= 0 ;
4762 PyObject
* obj4
= 0 ;
4763 PyObject
* obj5
= 0 ;
4764 PyObject
* obj6
= 0 ;
4765 PyObject
* obj7
= 0 ;
4767 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4774 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4784 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4790 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4795 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4801 arg8
= wxString_in_helper(obj7
);
4802 if (arg8
== NULL
) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4828 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4834 (char *) "self", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (arg1
)->GetBitmap();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 wxBitmap
* resultptr
;
4848 resultptr
= new wxBitmap((wxBitmap
&) result
);
4849 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4857 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4860 wxBitmap
*arg2
= 0 ;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4864 (char *) "self",(char *) "bitmap", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 Py_INCREF(Py_None
); resultobj
= Py_None
;
4887 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4891 PyObject
* obj0
= 0 ;
4892 PyObject
* obj1
= 0 ;
4894 (char *) "self",(char *) "icon", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4901 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4920 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4922 return Py_BuildValue((char *)"");
4924 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4925 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4930 static PyObject
*_wrap_ListBoxNameStr_get() {
4935 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4937 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4944 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxWindow
*arg1
= (wxWindow
*) 0 ;
4948 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4949 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4952 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4953 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4954 long arg6
= (long) 0 ;
4955 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4956 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4957 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4962 bool temp5
= False
;
4963 bool temp8
= False
;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4966 PyObject
* obj2
= 0 ;
4967 PyObject
* obj3
= 0 ;
4968 PyObject
* obj4
= 0 ;
4969 PyObject
* obj5
= 0 ;
4970 PyObject
* obj6
= 0 ;
4971 PyObject
* obj7
= 0 ;
4973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4979 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4985 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4991 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4996 if (! PySequence_Check(obj4
)) {
4997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5000 arg5
= new wxArrayString
;
5002 int i
, len
=PySequence_Length(obj4
);
5003 for (i
=0; i
<len
; i
++) {
5004 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5006 PyObject
* str
= PyObject_Unicode(item
);
5008 PyObject
* str
= PyObject_Str(item
);
5010 arg5
->Add(Py2wxString(str
));
5018 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5023 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5030 arg8
= wxString_in_helper(obj7
);
5031 if (arg8
== NULL
) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5044 if (temp5
) delete arg5
;
5053 if (temp5
) delete arg5
;
5063 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= (wxListBox
*)new wxListBox();
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5085 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxListBox
*arg1
= (wxListBox
*) 0 ;
5088 wxWindow
*arg2
= (wxWindow
*) 0 ;
5090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5094 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5095 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5096 long arg7
= (long) 0 ;
5097 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5098 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5099 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5100 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5104 bool temp6
= False
;
5105 bool temp9
= False
;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5108 PyObject
* obj2
= 0 ;
5109 PyObject
* obj3
= 0 ;
5110 PyObject
* obj4
= 0 ;
5111 PyObject
* obj5
= 0 ;
5112 PyObject
* obj6
= 0 ;
5113 PyObject
* obj7
= 0 ;
5114 PyObject
* obj8
= 0 ;
5116 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5123 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5140 if (! PySequence_Check(obj5
)) {
5141 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5144 arg6
= new wxArrayString
;
5146 int i
, len
=PySequence_Length(obj5
);
5147 for (i
=0; i
<len
; i
++) {
5148 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5150 PyObject
* str
= PyObject_Unicode(item
);
5152 PyObject
* str
= PyObject_Str(item
);
5154 arg6
->Add(Py2wxString(str
));
5162 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5167 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5169 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5174 arg9
= wxString_in_helper(obj8
);
5175 if (arg9
== NULL
) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5188 if (temp6
) delete arg6
;
5197 if (temp6
) delete arg6
;
5207 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxListBox
*arg1
= (wxListBox
*) 0 ;
5210 wxString
*arg2
= 0 ;
5212 PyObject
*arg4
= (PyObject
*) NULL
;
5213 bool temp2
= False
;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 PyObject
* obj2
= 0 ;
5217 PyObject
* obj3
= 0 ;
5219 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5225 arg2
= wxString_in_helper(obj1
);
5226 if (arg2
== NULL
) SWIG_fail
;
5230 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 Py_INCREF(Py_None
); resultobj
= Py_None
;
5258 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxListBox
*arg1
= (wxListBox
*) 0 ;
5261 wxArrayString
*arg2
= 0 ;
5263 bool temp2
= False
;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5266 PyObject
* obj2
= 0 ;
5268 (char *) "self",(char *) "items",(char *) "pos", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5274 if (! PySequence_Check(obj1
)) {
5275 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5278 arg2
= new wxArrayString
;
5280 int i
, len
=PySequence_Length(obj1
);
5281 for (i
=0; i
<len
; i
++) {
5282 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5284 PyObject
* str
= PyObject_Unicode(item
);
5286 PyObject
* str
= PyObject_Str(item
);
5288 arg2
->Add(Py2wxString(str
));
5294 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5306 if (temp2
) delete arg2
;
5311 if (temp2
) delete arg2
;
5317 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxListBox
*arg1
= (wxListBox
*) 0 ;
5320 wxArrayString
*arg2
= 0 ;
5321 bool temp2
= False
;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5325 (char *) "self",(char *) "items", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5331 if (! PySequence_Check(obj1
)) {
5332 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5335 arg2
= new wxArrayString
;
5337 int i
, len
=PySequence_Length(obj1
);
5338 for (i
=0; i
<len
; i
++) {
5339 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5341 PyObject
* str
= PyObject_Unicode(item
);
5343 PyObject
* str
= PyObject_Str(item
);
5345 arg2
->Add(Py2wxString(str
));
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->Set((wxArrayString
const &)*arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5359 if (temp2
) delete arg2
;
5364 if (temp2
) delete arg2
;
5370 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxListBox
*arg1
= (wxListBox
*) 0 ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5378 (char *) "self",(char *) "n", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5384 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5401 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxListBox
*arg1
= (wxListBox
*) 0 ;
5405 bool arg3
= (bool) True
;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 PyObject
* obj2
= 0 ;
5410 (char *) "self",(char *) "n",(char *) "select", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5421 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->SetSelection(arg2
,arg3
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxListBox
*arg1
= (wxListBox
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "n", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5452 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->Select(arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 Py_INCREF(Py_None
); resultobj
= Py_None
;
5469 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxListBox
*arg1
= (wxListBox
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "n", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5482 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 (arg1
)->Deselect(arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 Py_INCREF(Py_None
); resultobj
= Py_None
;
5499 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxListBox
*arg1
= (wxListBox
*) 0 ;
5502 int arg2
= (int) -1 ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5506 (char *) "self",(char *) "itemToLeaveSelected", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5513 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 (arg1
)->DeselectAll(arg2
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxListBox
*arg1
= (wxListBox
*) 0 ;
5534 wxString
*arg2
= 0 ;
5535 bool arg3
= (bool) True
;
5537 bool temp2
= False
;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5540 PyObject
* obj2
= 0 ;
5542 (char *) "self",(char *) "s",(char *) "select", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5548 arg2
= wxString_in_helper(obj1
);
5549 if (arg2
== NULL
) SWIG_fail
;
5554 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5580 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxListBox
*arg1
= (wxListBox
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5605 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxListBox
*arg1
= (wxListBox
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5612 (char *) "self",(char *) "n", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5618 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 (arg1
)->SetFirstItem(arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxListBox
*arg1
= (wxListBox
*) 0 ;
5638 wxString
*arg2
= 0 ;
5639 bool temp2
= False
;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5643 (char *) "self",(char *) "s", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5649 arg2
= wxString_in_helper(obj1
);
5650 if (arg2
== NULL
) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5675 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxListBox
*arg1
= (wxListBox
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5682 (char *) "self",(char *) "n", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5688 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 (arg1
)->EnsureVisible(arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxListBox
*arg1
= (wxListBox
*) 0 ;
5708 wxString
*arg2
= 0 ;
5709 bool temp2
= False
;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5713 (char *) "self",(char *) "s", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5719 arg2
= wxString_in_helper(obj1
);
5720 if (arg2
== NULL
) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxListBox
*arg1
= (wxListBox
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5770 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxListBox
*arg1
= (wxListBox
*) 0 ;
5774 wxColour
*arg3
= 0 ;
5776 PyObject
* obj0
= 0 ;
5777 PyObject
* obj1
= 0 ;
5778 PyObject
* obj2
= 0 ;
5780 (char *) "self",(char *) "item",(char *) "c", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5786 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5791 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 Py_INCREF(Py_None
); resultobj
= Py_None
;
5807 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxListBox
*arg1
= (wxListBox
*) 0 ;
5811 wxColour
*arg3
= 0 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5815 PyObject
* obj2
= 0 ;
5817 (char *) "self",(char *) "item",(char *) "c", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5823 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5828 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 Py_INCREF(Py_None
); resultobj
= Py_None
;
5844 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxListBox
*arg1
= (wxListBox
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5851 PyObject
* obj2
= 0 ;
5853 (char *) "self",(char *) "item",(char *) "f", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5859 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5883 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5885 return Py_BuildValue((char *)"");
5887 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxWindow
*arg1
= (wxWindow
*) 0 ;
5891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5893 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5894 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5895 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5896 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5897 long arg6
= (long) 0 ;
5898 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5899 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5900 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5901 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5902 wxCheckListBox
*result
;
5905 bool temp5
= False
;
5906 bool temp8
= False
;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5909 PyObject
* obj2
= 0 ;
5910 PyObject
* obj3
= 0 ;
5911 PyObject
* obj4
= 0 ;
5912 PyObject
* obj5
= 0 ;
5913 PyObject
* obj6
= 0 ;
5914 PyObject
* obj7
= 0 ;
5916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5928 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5934 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5939 if (! PySequence_Check(obj4
)) {
5940 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5943 arg5
= new wxArrayString
;
5945 int i
, len
=PySequence_Length(obj4
);
5946 for (i
=0; i
<len
; i
++) {
5947 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5949 PyObject
* str
= PyObject_Unicode(item
);
5951 PyObject
* str
= PyObject_Str(item
);
5953 arg5
->Add(Py2wxString(str
));
5961 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5966 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5973 arg8
= wxString_in_helper(obj7
);
5974 if (arg8
== NULL
) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5987 if (temp5
) delete arg5
;
5996 if (temp5
) delete arg5
;
6006 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxCheckListBox
*result
;
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (wxCheckListBox
*)new wxCheckListBox();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
6028 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6031 wxWindow
*arg2
= (wxWindow
*) 0 ;
6033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6037 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6038 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6039 long arg7
= (long) 0 ;
6040 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6041 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6042 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6043 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6047 bool temp6
= False
;
6048 bool temp9
= False
;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 PyObject
* obj2
= 0 ;
6052 PyObject
* obj3
= 0 ;
6053 PyObject
* obj4
= 0 ;
6054 PyObject
* obj5
= 0 ;
6055 PyObject
* obj6
= 0 ;
6056 PyObject
* obj7
= 0 ;
6057 PyObject
* obj8
= 0 ;
6059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6066 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6083 if (! PySequence_Check(obj5
)) {
6084 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6087 arg6
= new wxArrayString
;
6089 int i
, len
=PySequence_Length(obj5
);
6090 for (i
=0; i
<len
; i
++) {
6091 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6093 PyObject
* str
= PyObject_Unicode(item
);
6095 PyObject
* str
= PyObject_Str(item
);
6097 arg6
->Add(Py2wxString(str
));
6105 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6110 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6117 arg9
= wxString_in_helper(obj8
);
6118 if (arg9
== NULL
) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6131 if (temp6
) delete arg6
;
6140 if (temp6
) delete arg6
;
6150 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6158 (char *) "self",(char *) "index", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (bool)(arg1
)->IsChecked(arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6181 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6185 int arg3
= (int) True
;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6188 PyObject
* obj2
= 0 ;
6190 (char *) "self",(char *) "index",(char *) "check", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6201 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 (arg1
)->Check(arg2
,arg3
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 Py_INCREF(Py_None
); resultobj
= Py_None
;
6219 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (int)(arg1
)->GetItemHeight();
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= SWIG_PyObj_FromInt((int)result
);
6244 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6253 (char *) "self",(char *) "pt", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_PyObj_FromInt((int)result
);
6276 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6284 PyObject
* obj2
= 0 ;
6286 (char *) "self",(char *) "x",(char *) "y", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6292 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= SWIG_PyObj_FromInt((int)result
);
6313 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6316 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6318 return Py_BuildValue((char *)"");
6320 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6321 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6326 static PyObject
*_wrap_TextCtrlNameStr_get() {
6331 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6333 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6340 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6341 PyObject
*resultobj
;
6344 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (wxTextAttr
*)new wxTextAttr();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6359 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6360 PyObject
*resultobj
;
6361 wxColour
*arg1
= 0 ;
6362 wxColour
const &arg2_defvalue
= wxNullColour
;
6363 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6364 wxFont
const &arg3_defvalue
= wxNullFont
;
6365 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6366 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 PyObject
* obj2
= 0 ;
6373 PyObject
* obj3
= 0 ;
6375 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6378 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6387 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6394 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6412 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6417 argc
= PyObject_Length(args
);
6418 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6419 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6422 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6424 if ((argc
>= 1) && (argc
<= 4)) {
6427 _v
= wxColour_typecheck(argv
[0]);
6431 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6434 _v
= wxColour_typecheck(argv
[1]);
6438 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6442 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6451 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6454 SWIG_PyObj_AsInt(argv
[3]);
6455 if (PyErr_Occurred()) {
6463 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6470 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6475 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6480 (char *) "self", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 Py_INCREF(Py_None
); resultobj
= Py_None
;
6523 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6526 wxColour
*arg2
= 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6531 (char *) "self",(char *) "colText", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6554 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6557 wxColour
*arg2
= 0 ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6562 (char *) "self",(char *) "colBack", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6569 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6589 long arg3
= (long) wxTEXT_ATTR_FONT
;
6590 PyObject
* obj0
= 0 ;
6591 PyObject
* obj1
= 0 ;
6592 PyObject
* obj2
= 0 ;
6594 (char *) "self",(char *) "font",(char *) "flags", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6605 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 Py_INCREF(Py_None
); resultobj
= Py_None
;
6623 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "self",(char *) "alignment", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6636 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 Py_INCREF(Py_None
); resultobj
= Py_None
;
6653 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6656 wxArrayInt
*arg2
= 0 ;
6657 bool temp2
= False
;
6658 PyObject
* obj0
= 0 ;
6659 PyObject
* obj1
= 0 ;
6661 (char *) "self",(char *) "tabs", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 if (! PySequence_Check(obj1
)) {
6668 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6671 arg2
= new wxArrayInt
;
6673 int i
, len
=PySequence_Length(obj1
);
6674 for (i
=0; i
<len
; i
++) {
6675 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6676 PyObject
* number
= PyNumber_Int(item
);
6677 arg2
->Add(PyInt_AS_LONG(number
));
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 Py_INCREF(Py_None
); resultobj
= Py_None
;
6691 if (temp2
) delete arg2
;
6696 if (temp2
) delete arg2
;
6702 static PyObject
*_wrap_TextAttr_SetLeftIndent(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 *) "indent", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6715 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->SetLeftIndent(arg2
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 Py_INCREF(Py_None
); resultobj
= Py_None
;
6732 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6737 PyObject
* obj1
= 0 ;
6739 (char *) "self",(char *) "indent", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6745 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 (arg1
)->SetRightIndent(arg2
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 Py_INCREF(Py_None
); resultobj
= Py_None
;
6762 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6767 PyObject
* obj1
= 0 ;
6769 (char *) "self",(char *) "flags", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6775 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SetFlags(arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6798 (char *) "self", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6817 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6823 (char *) "self", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6842 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "self", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6867 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6873 (char *) "self", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6892 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "self", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6917 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6923 (char *) "self", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6942 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "self", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6967 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "flag", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6981 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6998 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7002 PyObject
* obj0
= 0 ;
7004 (char *) "self", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7013 result
= (wxColour
*) &_result_ref
;
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
7026 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7041 result
= (wxColour
*) &_result_ref
;
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
7054 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7069 result
= (wxFont
*) &_result_ref
;
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
7082 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7088 (char *) "self", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_PyObj_FromInt((int)result
);
7107 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7113 (char *) "self", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7122 result
= (wxArrayInt
*) &_result_ref
;
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= PyList_New(0);
7131 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7132 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7133 PyList_Append(resultobj
, val
);
7143 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "self", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_PyObj_FromLong((long)result
);
7168 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7174 (char *) "self", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_PyObj_FromLong((long)result
);
7193 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_PyObj_FromLong((long)result
);
7218 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7243 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxTextAttr
*arg1
= 0 ;
7246 wxTextAttr
*arg2
= 0 ;
7247 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 PyObject
* obj2
= 0 ;
7253 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7259 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7265 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7274 wxTextAttr
* resultptr
;
7275 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7276 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7284 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7287 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7289 return Py_BuildValue((char *)"");
7291 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxWindow
*arg1
= (wxWindow
*) 0 ;
7295 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7296 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7297 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7298 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7299 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7300 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7301 long arg6
= (long) 0 ;
7302 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7303 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7304 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7305 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7307 bool temp3
= False
;
7310 bool temp8
= False
;
7311 PyObject
* obj0
= 0 ;
7312 PyObject
* obj1
= 0 ;
7313 PyObject
* obj2
= 0 ;
7314 PyObject
* obj3
= 0 ;
7315 PyObject
* obj4
= 0 ;
7316 PyObject
* obj5
= 0 ;
7317 PyObject
* obj6
= 0 ;
7318 PyObject
* obj7
= 0 ;
7320 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7331 arg3
= wxString_in_helper(obj2
);
7332 if (arg3
== NULL
) SWIG_fail
;
7339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7350 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7355 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7362 arg8
= wxString_in_helper(obj7
);
7363 if (arg8
== NULL
) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= wxPyMake_wxObject(result
);
7399 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxTextCtrl
*)new wxTextCtrl();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= wxPyMake_wxObject(result
);
7423 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7426 wxWindow
*arg2
= (wxWindow
*) 0 ;
7428 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7429 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7430 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7431 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7432 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7433 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7434 long arg7
= (long) 0 ;
7435 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7436 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7437 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7438 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7440 bool temp4
= False
;
7443 bool temp9
= False
;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7446 PyObject
* obj2
= 0 ;
7447 PyObject
* obj3
= 0 ;
7448 PyObject
* obj4
= 0 ;
7449 PyObject
* obj5
= 0 ;
7450 PyObject
* obj6
= 0 ;
7451 PyObject
* obj7
= 0 ;
7452 PyObject
* obj8
= 0 ;
7454 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7461 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7466 arg4
= wxString_in_helper(obj3
);
7467 if (arg4
== NULL
) SWIG_fail
;
7474 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7480 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7485 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7490 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7497 arg9
= wxString_in_helper(obj8
);
7498 if (arg9
== NULL
) SWIG_fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7532 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7536 PyObject
* obj0
= 0 ;
7538 (char *) "self", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7563 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7566 wxString
*arg2
= 0 ;
7567 bool temp2
= False
;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7571 (char *) "self",(char *) "value", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7577 arg2
= wxString_in_helper(obj1
);
7578 if (arg2
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 (arg1
)->SetValue((wxString
const &)*arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj1
= 0 ;
7611 PyObject
* obj2
= 0 ;
7613 (char *) "self",(char *) "from",(char *) "to", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7619 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7623 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7646 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7654 (char *) "self",(char *) "lineNo", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_PyObj_FromInt((int)result
);
7677 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7685 (char *) "self",(char *) "lineNo", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7691 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7714 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7720 (char *) "self", NULL
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_PyObj_FromInt((int)result
);
7739 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7764 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7770 (char *) "self", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7789 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "self", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7814 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "self", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7839 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7842 long *arg2
= (long *) 0 ;
7843 long *arg3
= (long *) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7865 resultobj
= t_output_helper(resultobj
,o
);
7868 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7869 resultobj
= t_output_helper(resultobj
,o
);
7877 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7908 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7913 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 Py_INCREF(Py_None
); resultobj
= Py_None
;
7932 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
;
7934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7937 wxString
*arg4
= 0 ;
7938 bool temp4
= False
;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7942 PyObject
* obj3
= 0 ;
7944 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7950 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7958 arg4
= wxString_in_helper(obj3
);
7959 if (arg4
== NULL
) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 PyObject
* obj2
= 0 ;
7993 (char *) "self",(char *) "from",(char *) "to", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7999 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 (arg1
)->Remove(arg2
,arg3
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 Py_INCREF(Py_None
); resultobj
= Py_None
;
8020 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8023 wxString
*arg2
= 0 ;
8025 bool temp2
= False
;
8026 PyObject
* obj0
= 0 ;
8027 PyObject
* obj1
= 0 ;
8029 (char *) "self",(char *) "file", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8035 arg2
= wxString_in_helper(obj1
);
8036 if (arg2
== NULL
) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8061 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8064 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8065 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8067 bool temp2
= False
;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8071 (char *) "self",(char *) "file", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8078 arg2
= wxString_in_helper(obj1
);
8079 if (arg2
== NULL
) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8105 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 (arg1
)->MarkDirty();
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 Py_INCREF(Py_None
); resultobj
= Py_None
;
8129 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "self", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 (arg1
)->DiscardEdits();
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 Py_INCREF(Py_None
); resultobj
= Py_None
;
8153 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8156 unsigned long arg2
;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "len", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8166 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 (arg1
)->SetMaxLength(arg2
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 Py_INCREF(Py_None
); resultobj
= Py_None
;
8183 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8186 wxString
*arg2
= 0 ;
8187 bool temp2
= False
;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8191 (char *) "self",(char *) "text", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8197 arg2
= wxString_in_helper(obj1
);
8198 if (arg2
== NULL
) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 (arg1
)->WriteText((wxString
const &)*arg2
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8226 wxString
*arg2
= 0 ;
8227 bool temp2
= False
;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8231 (char *) "self",(char *) "text", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8237 arg2
= wxString_in_helper(obj1
);
8238 if (arg2
== NULL
) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 (arg1
)->AppendText((wxString
const &)*arg2
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8266 wxKeyEvent
*arg2
= 0 ;
8268 PyObject
* obj0
= 0 ;
8269 PyObject
* obj1
= 0 ;
8271 (char *) "self",(char *) "event", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8299 wxTextAttr
*arg4
= 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8304 PyObject
* obj3
= 0 ;
8306 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8312 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8316 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8321 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8337 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8341 wxTextAttr
*arg3
= 0 ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8345 PyObject
* obj2
= 0 ;
8347 (char *) "self",(char *) "position",(char *) "style", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8353 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8374 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8377 wxTextAttr
*arg2
= 0 ;
8379 PyObject
* obj0
= 0 ;
8380 PyObject
* obj1
= 0 ;
8382 (char *) "self",(char *) "style", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8405 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8411 (char *) "self", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8420 result
= (wxTextAttr
*) &_result_ref
;
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8433 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8441 PyObject
* obj2
= 0 ;
8443 (char *) "self",(char *) "x",(char *) "y", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_PyObj_FromLong((long)result
);
8470 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8474 long *arg3
= (long *) 0 ;
8475 long *arg4
= (long *) 0 ;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "self",(char *) "pos", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8489 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 Py_INCREF(Py_None
); resultobj
= Py_None
;
8501 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8502 resultobj
= t_output_helper(resultobj
,o
);
8505 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8506 resultobj
= t_output_helper(resultobj
,o
);
8514 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8519 PyObject
* obj1
= 0 ;
8521 (char *) "self",(char *) "pos", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8527 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 (arg1
)->ShowPosition(arg2
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 Py_INCREF(Py_None
); resultobj
= Py_None
;
8544 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8548 long *arg3
= (long *) 0 ;
8549 long *arg4
= (long *) 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8557 (char *) "self",(char *) "pt", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= SWIG_PyObj_FromInt((int)result
);
8577 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8578 resultobj
= t_output_helper(resultobj
,o
);
8581 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8582 resultobj
= t_output_helper(resultobj
,o
);
8590 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8593 PyObject
* obj0
= 0 ;
8595 (char *) "self", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 Py_INCREF(Py_None
); resultobj
= Py_None
;
8638 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "self", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8666 PyObject
* obj0
= 0 ;
8668 (char *) "self", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8687 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8691 PyObject
* obj0
= 0 ;
8693 (char *) "self", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8712 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8716 PyObject
* obj0
= 0 ;
8718 (char *) "self", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8737 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8742 (char *) "self", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8791 (char *) "self", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8810 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8835 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8842 (char *) "self",(char *) "pos", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8848 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->SetInsertionPoint(arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 (arg1
)->SetInsertionPointEnd();
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 Py_INCREF(Py_None
); resultobj
= Py_None
;
8889 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8895 (char *) "self", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_PyObj_FromLong((long)result
);
8914 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",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 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= SWIG_PyObj_FromLong((long)result
);
8939 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8946 PyObject
* obj2
= 0 ;
8948 (char *) "self",(char *) "from",(char *) "to", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8954 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8958 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetSelection(arg2
,arg3
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->SelectAll();
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9006 (char *) "self",(char *) "editable", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9012 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 (arg1
)->SetEditable(arg2
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 Py_INCREF(Py_None
); resultobj
= Py_None
;
9029 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9032 wxString
*arg2
= 0 ;
9033 bool temp2
= False
;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9037 (char *) "self",(char *) "text", NULL
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9043 arg2
= wxString_in_helper(obj1
);
9044 if (arg2
== NULL
) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9079 (char *) "self",(char *) "from",(char *) "to", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9085 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9112 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9115 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9117 return Py_BuildValue((char *)"");
9119 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9122 wxMouseEvent
*arg2
= 0 ;
9125 wxTextUrlEvent
*result
;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 PyObject
* obj3
= 0 ;
9131 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9136 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9144 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9148 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9165 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9168 wxMouseEvent
*result
;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9180 result
= (wxMouseEvent
*) &_result_ref
;
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9193 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9199 (char *) "self", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_PyObj_FromLong((long)result
);
9218 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_PyObj_FromLong((long)result
);
9243 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9246 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9248 return Py_BuildValue((char *)"");
9250 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9251 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9256 static PyObject
*_wrap_ScrollBarNameStr_get() {
9261 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9263 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9270 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxWindow
*arg1
= (wxWindow
*) 0 ;
9273 int arg2
= (int) -1 ;
9274 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9275 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9276 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9277 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9278 long arg5
= (long) wxSB_HORIZONTAL
;
9279 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9280 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9281 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9283 wxScrollBar
*result
;
9286 bool temp7
= False
;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9290 PyObject
* obj3
= 0 ;
9291 PyObject
* obj4
= 0 ;
9292 PyObject
* obj5
= 0 ;
9293 PyObject
* obj6
= 0 ;
9295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9302 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9315 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9320 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9325 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9332 arg7
= wxString_in_helper(obj6
);
9333 if (arg7
== NULL
) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9359 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxScrollBar
*result
;
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (wxScrollBar
*)new wxScrollBar();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9381 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9384 wxWindow
*arg2
= (wxWindow
*) 0 ;
9385 int arg3
= (int) -1 ;
9386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9390 long arg6
= (long) wxSB_HORIZONTAL
;
9391 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9392 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9393 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9398 bool temp8
= False
;
9399 PyObject
* obj0
= 0 ;
9400 PyObject
* obj1
= 0 ;
9401 PyObject
* obj2
= 0 ;
9402 PyObject
* obj3
= 0 ;
9403 PyObject
* obj4
= 0 ;
9404 PyObject
* obj5
= 0 ;
9405 PyObject
* obj6
= 0 ;
9406 PyObject
* obj7
= 0 ;
9408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9416 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9434 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9439 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9446 arg8
= wxString_in_helper(obj7
);
9447 if (arg8
== NULL
) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9473 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_PyObj_FromInt((int)result
);
9498 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_PyObj_FromInt((int)result
);
9523 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9527 PyObject
* obj0
= 0 ;
9529 (char *) "self", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_PyObj_FromInt((int)result
);
9548 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= SWIG_PyObj_FromInt((int)result
);
9573 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9577 PyObject
* obj0
= 0 ;
9579 (char *) "self", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9598 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9605 (char *) "self",(char *) "viewStart", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9611 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 (arg1
)->SetThumbPosition(arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 Py_INCREF(Py_None
); resultobj
= Py_None
;
9628 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9635 bool arg6
= (bool) True
;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 PyObject
* obj2
= 0 ;
9639 PyObject
* obj3
= 0 ;
9640 PyObject
* obj4
= 0 ;
9641 PyObject
* obj5
= 0 ;
9643 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9657 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9666 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9687 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9689 return Py_BuildValue((char *)"");
9691 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9692 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9697 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9702 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9704 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9711 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9712 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9717 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9722 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9724 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9731 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxWindow
*arg1
= (wxWindow
*) 0 ;
9734 int arg2
= (int) -1 ;
9735 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9736 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9737 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9738 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9739 long arg5
= (long) wxSP_HORIZONTAL
;
9740 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9741 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9742 wxSpinButton
*result
;
9745 bool temp6
= False
;
9746 PyObject
* obj0
= 0 ;
9747 PyObject
* obj1
= 0 ;
9748 PyObject
* obj2
= 0 ;
9749 PyObject
* obj3
= 0 ;
9750 PyObject
* obj4
= 0 ;
9751 PyObject
* obj5
= 0 ;
9753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9760 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9767 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9773 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9778 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9784 arg6
= wxString_in_helper(obj5
);
9785 if (arg6
== NULL
) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9811 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxSpinButton
*result
;
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (wxSpinButton
*)new wxSpinButton();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9833 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9836 wxWindow
*arg2
= (wxWindow
*) 0 ;
9837 int arg3
= (int) -1 ;
9838 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9839 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9840 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9841 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9842 long arg6
= (long) wxSP_HORIZONTAL
;
9843 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9844 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9848 bool temp7
= False
;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9852 PyObject
* obj3
= 0 ;
9853 PyObject
* obj4
= 0 ;
9854 PyObject
* obj5
= 0 ;
9855 PyObject
* obj6
= 0 ;
9857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9865 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9883 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9889 arg7
= wxString_in_helper(obj6
);
9890 if (arg7
== NULL
) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9916 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_PyObj_FromInt((int)result
);
9941 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9947 (char *) "self", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_PyObj_FromInt((int)result
);
9966 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9972 (char *) "self", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_PyObj_FromInt((int)result
);
9991 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9998 (char *) "self",(char *) "val", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10004 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 (arg1
)->SetValue(arg2
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 Py_INCREF(Py_None
); resultobj
= Py_None
;
10021 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "minVal", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10034 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetMin(arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10051 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self",(char *) "maxVal", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10064 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 (arg1
)->SetMax(arg2
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 Py_INCREF(Py_None
); resultobj
= Py_None
;
10081 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 PyObject
* obj2
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10096 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10100 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->SetRange(arg2
,arg3
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 Py_INCREF(Py_None
); resultobj
= Py_None
;
10117 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10142 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10145 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10147 return Py_BuildValue((char *)"");
10149 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxWindow
*arg1
= (wxWindow
*) 0 ;
10152 int arg2
= (int) -1 ;
10153 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10154 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10155 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10156 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10157 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10158 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10159 long arg6
= (long) wxSP_ARROW_KEYS
;
10160 int arg7
= (int) 0 ;
10161 int arg8
= (int) 100 ;
10162 int arg9
= (int) 0 ;
10163 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10164 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10165 wxSpinCtrl
*result
;
10166 bool temp3
= False
;
10169 bool temp10
= False
;
10170 PyObject
* obj0
= 0 ;
10171 PyObject
* obj1
= 0 ;
10172 PyObject
* obj2
= 0 ;
10173 PyObject
* obj3
= 0 ;
10174 PyObject
* obj4
= 0 ;
10175 PyObject
* obj5
= 0 ;
10176 PyObject
* obj6
= 0 ;
10177 PyObject
* obj7
= 0 ;
10178 PyObject
* obj8
= 0 ;
10179 PyObject
* obj9
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10194 arg3
= wxString_in_helper(obj2
);
10195 if (arg3
== NULL
) SWIG_fail
;
10202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10213 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10219 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10225 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10231 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10237 arg10
= wxString_in_helper(obj9
);
10238 if (arg10
== NULL
) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10272 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxSpinCtrl
*result
;
10275 char *kwnames
[] = {
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10294 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10297 wxWindow
*arg2
= (wxWindow
*) 0 ;
10298 int arg3
= (int) -1 ;
10299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10305 long arg7
= (long) wxSP_ARROW_KEYS
;
10306 int arg8
= (int) 0 ;
10307 int arg9
= (int) 100 ;
10308 int arg10
= (int) 0 ;
10309 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10310 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10312 bool temp4
= False
;
10315 bool temp11
= False
;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 PyObject
* obj2
= 0 ;
10319 PyObject
* obj3
= 0 ;
10320 PyObject
* obj4
= 0 ;
10321 PyObject
* obj5
= 0 ;
10322 PyObject
* obj6
= 0 ;
10323 PyObject
* obj7
= 0 ;
10324 PyObject
* obj8
= 0 ;
10325 PyObject
* obj9
= 0 ;
10326 PyObject
* obj10
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10336 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10342 arg4
= wxString_in_helper(obj3
);
10343 if (arg4
== NULL
) SWIG_fail
;
10350 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10356 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10361 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10367 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10373 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10379 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10385 arg11
= wxString_in_helper(obj10
);
10386 if (arg11
== NULL
) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10420 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_PyObj_FromInt((int)result
);
10445 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 PyObject
* obj1
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "value", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10458 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 (arg1
)->SetValue(arg2
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 Py_INCREF(Py_None
); resultobj
= Py_None
;
10475 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10478 wxString
*arg2
= 0 ;
10479 bool temp2
= False
;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self",(char *) "text", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10489 arg2
= wxString_in_helper(obj1
);
10490 if (arg2
== NULL
) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 (arg1
)->SetValue((wxString
const &)*arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 Py_INCREF(Py_None
); resultobj
= Py_None
;
10515 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10530 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10534 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 (arg1
)->SetRange(arg2
,arg3
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_PyObj_FromInt((int)result
);
10576 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= SWIG_PyObj_FromInt((int)result
);
10601 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "from",(char *) "to", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10616 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->SetSelection(arg2
,arg3
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10640 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10642 return Py_BuildValue((char *)"");
10644 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10647 int arg2
= (int) 0 ;
10648 wxSpinEvent
*result
;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "commandType",(char *) "winid", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10658 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10664 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10682 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_PyObj_FromInt((int)result
);
10707 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self",(char *) "pos", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 (arg1
)->SetPosition(arg2
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 Py_INCREF(Py_None
); resultobj
= Py_None
;
10737 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10740 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10742 return Py_BuildValue((char *)"");
10744 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10745 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10750 static PyObject
*_wrap_RadioBoxNameStr_get() {
10755 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10757 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10764 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10765 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10770 static PyObject
*_wrap_RadioButtonNameStr_get() {
10775 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10777 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10784 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxWindow
*arg1
= (wxWindow
*) 0 ;
10788 wxString
*arg3
= 0 ;
10789 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10790 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10791 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10792 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10793 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10794 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10795 int arg7
= (int) 0 ;
10796 long arg8
= (long) wxRA_HORIZONTAL
;
10797 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10798 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10799 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10800 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10801 wxRadioBox
*result
;
10802 bool temp3
= False
;
10805 bool temp6
= False
;
10806 bool temp10
= False
;
10807 PyObject
* obj0
= 0 ;
10808 PyObject
* obj1
= 0 ;
10809 PyObject
* obj2
= 0 ;
10810 PyObject
* obj3
= 0 ;
10811 PyObject
* obj4
= 0 ;
10812 PyObject
* obj5
= 0 ;
10813 PyObject
* obj6
= 0 ;
10814 PyObject
* obj7
= 0 ;
10815 PyObject
* obj8
= 0 ;
10816 PyObject
* obj9
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 arg3
= wxString_in_helper(obj2
);
10829 if (arg3
== NULL
) SWIG_fail
;
10835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10846 if (! PySequence_Check(obj5
)) {
10847 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10850 arg6
= new wxArrayString
;
10852 int i
, len
=PySequence_Length(obj5
);
10853 for (i
=0; i
<len
; i
++) {
10854 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10856 PyObject
* str
= PyObject_Unicode(item
);
10858 PyObject
* str
= PyObject_Str(item
);
10860 arg6
->Add(Py2wxString(str
));
10868 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10874 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10879 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10880 if (arg9
== NULL
) {
10881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10886 arg10
= wxString_in_helper(obj9
);
10887 if (arg10
== NULL
) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 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
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10904 if (temp6
) delete arg6
;
10917 if (temp6
) delete arg6
;
10927 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxRadioBox
*result
;
10930 char *kwnames
[] = {
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (wxRadioBox
*)new wxRadioBox();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10949 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10952 wxWindow
*arg2
= (wxWindow
*) 0 ;
10954 wxString
*arg4
= 0 ;
10955 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10956 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10957 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10958 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10959 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10960 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10961 int arg8
= (int) 0 ;
10962 long arg9
= (long) wxRA_HORIZONTAL
;
10963 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10964 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10965 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10966 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10968 bool temp4
= False
;
10971 bool temp7
= False
;
10972 bool temp11
= False
;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj2
= 0 ;
10976 PyObject
* obj3
= 0 ;
10977 PyObject
* obj4
= 0 ;
10978 PyObject
* obj5
= 0 ;
10979 PyObject
* obj6
= 0 ;
10980 PyObject
* obj7
= 0 ;
10981 PyObject
* obj8
= 0 ;
10982 PyObject
* obj9
= 0 ;
10983 PyObject
* obj10
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10992 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 arg4
= wxString_in_helper(obj3
);
10997 if (arg4
== NULL
) SWIG_fail
;
11003 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11009 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11014 if (! PySequence_Check(obj6
)) {
11015 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11018 arg7
= new wxArrayString
;
11020 int i
, len
=PySequence_Length(obj6
);
11021 for (i
=0; i
<len
; i
++) {
11022 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11024 PyObject
* str
= PyObject_Unicode(item
);
11026 PyObject
* str
= PyObject_Str(item
);
11028 arg7
->Add(Py2wxString(str
));
11036 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11042 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11047 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11048 if (arg10
== NULL
) {
11049 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11054 arg11
= wxString_in_helper(obj10
);
11055 if (arg11
== NULL
) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 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
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11072 if (temp7
) delete arg7
;
11085 if (temp7
) delete arg7
;
11095 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self",(char *) "n", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11108 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 (arg1
)->SetSelection(arg2
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 Py_INCREF(Py_None
); resultobj
= Py_None
;
11125 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= SWIG_PyObj_FromInt((int)result
);
11150 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11181 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11184 wxString
*arg2
= 0 ;
11186 bool temp2
= False
;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "s", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11196 arg2
= wxString_in_helper(obj1
);
11197 if (arg2
== NULL
) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11222 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_PyObj_FromInt((int)result
);
11247 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11250 wxString
*arg2
= 0 ;
11252 bool temp2
= False
;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "self",(char *) "s", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11262 arg2
= wxString_in_helper(obj1
);
11263 if (arg2
== NULL
) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_PyObj_FromInt((int)result
);
11288 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self",(char *) "n", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11302 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11325 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11329 wxString
*arg3
= 0 ;
11330 bool temp3
= False
;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 PyObject
* obj2
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "n",(char *) "label", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11341 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 arg3
= wxString_in_helper(obj2
);
11346 if (arg3
== NULL
) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11371 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11375 bool arg3
= (bool) True
;
11376 PyObject
* obj0
= 0 ;
11377 PyObject
* obj1
= 0 ;
11378 PyObject
* obj2
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "n",(char *) "enable", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11391 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 (arg1
)->Enable(arg2
,arg3
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 Py_INCREF(Py_None
); resultobj
= Py_None
;
11409 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11413 bool arg3
= (bool) True
;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 PyObject
* obj2
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "n",(char *) "show", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11424 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11429 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 (arg1
)->Show(arg2
,arg3
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 Py_INCREF(Py_None
); resultobj
= Py_None
;
11447 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_PyObj_FromInt((int)result
);
11472 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_PyObj_FromInt((int)result
);
11497 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 PyObject
* obj1
= 0 ;
11506 PyObject
* obj2
= 0 ;
11507 PyObject
* obj3
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11515 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_PyObj_FromInt((int)result
);
11540 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11543 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11545 return Py_BuildValue((char *)"");
11547 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxWindow
*arg1
= (wxWindow
*) 0 ;
11551 wxString
*arg3
= 0 ;
11552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11556 long arg6
= (long) 0 ;
11557 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11558 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11559 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11560 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11561 wxRadioButton
*result
;
11562 bool temp3
= False
;
11565 bool temp8
= False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 PyObject
* obj4
= 0 ;
11571 PyObject
* obj5
= 0 ;
11572 PyObject
* obj6
= 0 ;
11573 PyObject
* obj7
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 arg3
= wxString_in_helper(obj2
);
11586 if (arg3
== NULL
) SWIG_fail
;
11592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11603 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11608 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11609 if (arg7
== NULL
) {
11610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11615 arg8
= wxString_in_helper(obj7
);
11616 if (arg8
== NULL
) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11650 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxRadioButton
*result
;
11653 char *kwnames
[] = {
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (wxRadioButton
*)new wxRadioButton();
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11672 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11675 wxWindow
*arg2
= (wxWindow
*) 0 ;
11677 wxString
*arg4
= 0 ;
11678 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11679 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11680 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11681 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11682 long arg7
= (long) 0 ;
11683 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11684 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11685 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11686 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11688 bool temp4
= False
;
11691 bool temp9
= False
;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 PyObject
* obj2
= 0 ;
11695 PyObject
* obj3
= 0 ;
11696 PyObject
* obj4
= 0 ;
11697 PyObject
* obj5
= 0 ;
11698 PyObject
* obj6
= 0 ;
11699 PyObject
* obj7
= 0 ;
11700 PyObject
* obj8
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11709 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 arg4
= wxString_in_helper(obj3
);
11714 if (arg4
== NULL
) SWIG_fail
;
11720 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11726 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11731 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11736 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11737 if (arg8
== NULL
) {
11738 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11743 arg9
= wxString_in_helper(obj8
);
11744 if (arg9
== NULL
) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11778 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (bool)(arg1
)->GetValue();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11803 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "value", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11816 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 (arg1
)->SetValue(arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 Py_INCREF(Py_None
); resultobj
= Py_None
;
11833 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11836 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11838 return Py_BuildValue((char *)"");
11840 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11841 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11846 static PyObject
*_wrap_SliderNameStr_get() {
11851 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11853 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11860 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxWindow
*arg1
= (wxWindow
*) 0 ;
11867 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11868 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11869 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11870 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11871 long arg8
= (long) wxSL_HORIZONTAL
;
11872 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11873 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11874 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11875 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11879 bool temp10
= False
;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 PyObject
* obj3
= 0 ;
11884 PyObject
* obj4
= 0 ;
11885 PyObject
* obj5
= 0 ;
11886 PyObject
* obj6
= 0 ;
11887 PyObject
* obj7
= 0 ;
11888 PyObject
* obj8
= 0 ;
11889 PyObject
* obj9
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11897 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11915 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11921 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11926 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11931 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11932 if (arg9
== NULL
) {
11933 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11938 arg10
= wxString_in_helper(obj9
);
11939 if (arg10
== NULL
) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11965 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11968 char *kwnames
[] = {
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (wxSlider
*)new wxSlider();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11987 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxSlider
*arg1
= (wxSlider
*) 0 ;
11990 wxWindow
*arg2
= (wxWindow
*) 0 ;
11995 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11996 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11997 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11998 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11999 long arg9
= (long) wxSL_HORIZONTAL
;
12000 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12001 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12002 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12003 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12007 bool temp11
= False
;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 PyObject
* obj2
= 0 ;
12011 PyObject
* obj3
= 0 ;
12012 PyObject
* obj4
= 0 ;
12013 PyObject
* obj5
= 0 ;
12014 PyObject
* obj6
= 0 ;
12015 PyObject
* obj7
= 0 ;
12016 PyObject
* obj8
= 0 ;
12017 PyObject
* obj9
= 0 ;
12018 PyObject
* obj10
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12027 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12045 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12051 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12056 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12061 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12062 if (arg10
== NULL
) {
12063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12068 arg11
= wxString_in_helper(obj10
);
12069 if (arg11
== NULL
) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12095 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxSlider
*arg1
= (wxSlider
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= SWIG_PyObj_FromInt((int)result
);
12120 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxSlider
*arg1
= (wxSlider
*) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "value", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12133 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 (arg1
)->SetValue(arg2
);
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 Py_INCREF(Py_None
); resultobj
= Py_None
;
12150 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxSlider
*arg1
= (wxSlider
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 PyObject
* obj2
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12165 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 (arg1
)->SetRange(arg2
,arg3
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 Py_INCREF(Py_None
); resultobj
= Py_None
;
12186 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxSlider
*arg1
= (wxSlider
*) 0 ;
12190 PyObject
* obj0
= 0 ;
12191 char *kwnames
[] = {
12192 (char *) "self", NULL
12195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= SWIG_PyObj_FromInt((int)result
);
12211 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxSlider
*arg1
= (wxSlider
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_PyObj_FromInt((int)result
);
12236 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxSlider
*arg1
= (wxSlider
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "minValue", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12249 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 (arg1
)->SetMin(arg2
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 Py_INCREF(Py_None
); resultobj
= Py_None
;
12266 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxSlider
*arg1
= (wxSlider
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self",(char *) "maxValue", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12279 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 (arg1
)->SetMax(arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 Py_INCREF(Py_None
); resultobj
= Py_None
;
12296 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxSlider
*arg1
= (wxSlider
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self",(char *) "lineSize", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 (arg1
)->SetLineSize(arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 Py_INCREF(Py_None
); resultobj
= Py_None
;
12326 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxSlider
*arg1
= (wxSlider
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self",(char *) "pageSize", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12339 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 (arg1
)->SetPageSize(arg2
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 Py_INCREF(Py_None
); resultobj
= Py_None
;
12356 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxSlider
*arg1
= (wxSlider
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_PyObj_FromInt((int)result
);
12381 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxSlider
*arg1
= (wxSlider
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_PyObj_FromInt((int)result
);
12406 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxSlider
*arg1
= (wxSlider
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 PyObject
* obj1
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "lenPixels", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12419 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetThumbLength(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 Py_INCREF(Py_None
); resultobj
= Py_None
;
12436 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxSlider
*arg1
= (wxSlider
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_PyObj_FromInt((int)result
);
12461 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxSlider
*arg1
= (wxSlider
*) 0 ;
12465 int arg3
= (int) 1 ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 PyObject
* obj2
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self",(char *) "n",(char *) "pos", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12481 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetTickFreq(arg2
,arg3
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxSlider
*arg1
= (wxSlider
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_PyObj_FromInt((int)result
);
12524 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxSlider
*arg1
= (wxSlider
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 (arg1
)->ClearTicks();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 Py_INCREF(Py_None
); resultobj
= Py_None
;
12548 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxSlider
*arg1
= (wxSlider
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self",(char *) "tickPos", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12561 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 (arg1
)->SetTick(arg2
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 Py_INCREF(Py_None
); resultobj
= Py_None
;
12578 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxSlider
*arg1
= (wxSlider
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 (arg1
)->ClearSel();
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 Py_INCREF(Py_None
); resultobj
= Py_None
;
12602 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxSlider
*arg1
= (wxSlider
*) 0 ;
12606 PyObject
* obj0
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= SWIG_PyObj_FromInt((int)result
);
12627 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxSlider
*arg1
= (wxSlider
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= SWIG_PyObj_FromInt((int)result
);
12652 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxSlider
*arg1
= (wxSlider
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self",(char *) "min",(char *) "max", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12671 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 (arg1
)->SetSelection(arg2
,arg3
);
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 Py_INCREF(Py_None
); resultobj
= Py_None
;
12688 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12691 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12693 return Py_BuildValue((char *)"");
12695 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12696 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12701 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12706 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12708 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12715 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxWindow
*arg1
= (wxWindow
*) 0 ;
12719 wxString
*arg3
= 0 ;
12720 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12721 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12722 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12723 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12724 long arg6
= (long) 0 ;
12725 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12726 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12727 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12728 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12729 wxToggleButton
*result
;
12730 bool temp3
= False
;
12733 bool temp8
= False
;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 PyObject
* obj2
= 0 ;
12737 PyObject
* obj3
= 0 ;
12738 PyObject
* obj4
= 0 ;
12739 PyObject
* obj5
= 0 ;
12740 PyObject
* obj6
= 0 ;
12741 PyObject
* obj7
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12749 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 arg3
= wxString_in_helper(obj2
);
12754 if (arg3
== NULL
) SWIG_fail
;
12760 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12766 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12771 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12776 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12777 if (arg7
== NULL
) {
12778 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12783 arg8
= wxString_in_helper(obj7
);
12784 if (arg8
== NULL
) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12818 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxToggleButton
*result
;
12821 char *kwnames
[] = {
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (wxToggleButton
*)new wxToggleButton();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12840 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12843 wxWindow
*arg2
= (wxWindow
*) 0 ;
12845 wxString
*arg4
= 0 ;
12846 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12847 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12848 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12849 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12850 long arg7
= (long) 0 ;
12851 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12852 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12853 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12854 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12856 bool temp4
= False
;
12859 bool temp9
= False
;
12860 PyObject
* obj0
= 0 ;
12861 PyObject
* obj1
= 0 ;
12862 PyObject
* obj2
= 0 ;
12863 PyObject
* obj3
= 0 ;
12864 PyObject
* obj4
= 0 ;
12865 PyObject
* obj5
= 0 ;
12866 PyObject
* obj6
= 0 ;
12867 PyObject
* obj7
= 0 ;
12868 PyObject
* obj8
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12877 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 arg4
= wxString_in_helper(obj3
);
12882 if (arg4
== NULL
) SWIG_fail
;
12888 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12894 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12899 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12904 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12905 if (arg8
== NULL
) {
12906 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12911 arg9
= wxString_in_helper(obj8
);
12912 if (arg9
== NULL
) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12946 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self",(char *) "value", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12959 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->SetValue(arg2
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 Py_INCREF(Py_None
); resultobj
= Py_None
;
12976 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
;
12978 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12980 PyObject
* obj0
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13001 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13004 wxString
*arg2
= 0 ;
13005 bool temp2
= False
;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "label", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13015 arg2
= wxString_in_helper(obj1
);
13016 if (arg2
== NULL
) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 (arg1
)->SetLabel((wxString
const &)*arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 Py_INCREF(Py_None
); resultobj
= Py_None
;
13041 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13046 return Py_BuildValue((char *)"");
13048 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13049 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13054 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13059 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13061 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13068 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
13093 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self",(char *) "n", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13107 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= wxPyMake_wxObject(result
);
13126 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_PyObj_FromInt((int)result
);
13151 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13155 wxString
*arg3
= 0 ;
13157 bool temp3
= False
;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 PyObject
* obj2
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self",(char *) "n",(char *) "strText", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13168 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13172 arg3
= wxString_in_helper(obj2
);
13173 if (arg3
== NULL
) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13198 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 PyObject
* obj1
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self",(char *) "n", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13212 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13235 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13238 wxImageList
*arg2
= (wxImageList
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self",(char *) "imageList", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 (arg1
)->SetImageList(arg2
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13265 wxImageList
*arg2
= (wxImageList
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "imageList", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 (arg1
)->AssignImageList(arg2
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13289 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13292 wxImageList
*result
;
13293 PyObject
* obj0
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= wxPyMake_wxObject(result
);
13316 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "n", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13330 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_PyObj_FromInt((int)result
);
13347 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 PyObject
* obj2
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self",(char *) "n",(char *) "imageId", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13363 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13384 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "size", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13399 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 Py_INCREF(Py_None
); resultobj
= Py_None
;
13415 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self",(char *) "sizePage", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13431 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13441 wxSize
* resultptr
;
13442 resultptr
= new wxSize((wxSize
&) result
);
13443 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13451 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "n", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13465 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (bool)(arg1
)->DeletePage(arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13482 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self",(char *) "n", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13496 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (bool)(arg1
)->RemovePage(arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13513 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (bool)(arg1
)->DeleteAllPages();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13538 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13541 wxWindow
*arg2
= (wxWindow
*) 0 ;
13542 wxString
*arg3
= 0 ;
13543 bool arg4
= (bool) False
;
13544 int arg5
= (int) -1 ;
13546 bool temp3
= False
;
13547 PyObject
* obj0
= 0 ;
13548 PyObject
* obj1
= 0 ;
13549 PyObject
* obj2
= 0 ;
13550 PyObject
* obj3
= 0 ;
13551 PyObject
* obj4
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13560 arg3
= wxString_in_helper(obj2
);
13561 if (arg3
== NULL
) SWIG_fail
;
13566 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13572 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13602 wxWindow
*arg3
= (wxWindow
*) 0 ;
13603 wxString
*arg4
= 0 ;
13604 bool arg5
= (bool) False
;
13605 int arg6
= (int) -1 ;
13607 bool temp4
= False
;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 PyObject
* obj2
= 0 ;
13611 PyObject
* obj3
= 0 ;
13612 PyObject
* obj4
= 0 ;
13613 PyObject
* obj5
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13621 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13626 arg4
= wxString_in_helper(obj3
);
13627 if (arg4
== NULL
) SWIG_fail
;
13632 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13638 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13664 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "self",(char *) "n", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13678 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (int)(arg1
)->SetSelection(arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_PyObj_FromInt((int)result
);
13695 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13698 bool arg2
= (bool) True
;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "forward", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13709 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 (arg1
)->AdvanceSelection(arg2
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 Py_INCREF(Py_None
); resultobj
= Py_None
;
13727 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13730 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13732 return Py_BuildValue((char *)"");
13734 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13737 int arg2
= (int) 0 ;
13738 int arg3
= (int) -1 ;
13739 int arg4
= (int) -1 ;
13740 wxBookCtrlEvent
*result
;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 PyObject
* obj2
= 0 ;
13744 PyObject
* obj3
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13752 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13764 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13770 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13788 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_PyObj_FromInt((int)result
);
13813 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "nSel", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13826 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 (arg1
)->SetSelection(arg2
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 Py_INCREF(Py_None
); resultobj
= Py_None
;
13843 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13847 PyObject
* obj0
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_PyObj_FromInt((int)result
);
13868 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "nOldSel", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13881 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 (arg1
)->SetOldSelection(arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 Py_INCREF(Py_None
); resultobj
= Py_None
;
13898 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13901 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13903 return Py_BuildValue((char *)"");
13905 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxWindow
*arg1
= (wxWindow
*) 0 ;
13909 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13910 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13911 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13912 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13913 long arg5
= (long) 0 ;
13914 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13915 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13916 wxNotebook
*result
;
13919 bool temp6
= False
;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 PyObject
* obj2
= 0 ;
13923 PyObject
* obj3
= 0 ;
13924 PyObject
* obj4
= 0 ;
13925 PyObject
* obj5
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13933 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13939 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13945 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13950 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13956 arg6
= wxString_in_helper(obj5
);
13957 if (arg6
== NULL
) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= wxPyMake_wxObject(result
);
13985 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxNotebook
*result
;
13988 char *kwnames
[] = {
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (wxNotebook
*)new wxNotebook();
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= wxPyMake_wxObject(result
);
14009 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14012 wxWindow
*arg2
= (wxWindow
*) 0 ;
14014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14018 long arg6
= (long) 0 ;
14019 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14020 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14024 bool temp7
= False
;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 PyObject
* obj2
= 0 ;
14028 PyObject
* obj3
= 0 ;
14029 PyObject
* obj4
= 0 ;
14030 PyObject
* obj5
= 0 ;
14031 PyObject
* obj6
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14040 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14057 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14063 arg7
= wxString_in_helper(obj6
);
14064 if (arg7
== NULL
) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14090 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= SWIG_PyObj_FromInt((int)result
);
14115 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 PyObject
* obj1
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self",(char *) "padding", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14130 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 Py_INCREF(Py_None
); resultobj
= Py_None
;
14146 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "sz", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14180 wxPoint
*arg2
= 0 ;
14181 long *arg3
= (long *) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "pt", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= SWIG_PyObj_FromInt((int)result
);
14207 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14208 resultobj
= t_output_helper(resultobj
,o
);
14216 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self",(char *) "sizePage", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14232 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 wxSize
* resultptr
;
14243 resultptr
= new wxSize((wxSize
&) result
);
14244 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14252 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14255 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14257 return Py_BuildValue((char *)"");
14259 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14262 int arg2
= (int) 0 ;
14263 int arg3
= (int) -1 ;
14264 int arg4
= (int) -1 ;
14265 wxNotebookEvent
*result
;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 PyObject
* obj2
= 0 ;
14269 PyObject
* obj3
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14277 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14283 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14289 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14295 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14313 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14316 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14318 return Py_BuildValue((char *)"");
14320 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxWindow
*arg1
= (wxWindow
*) 0 ;
14324 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14325 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14326 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14327 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14328 long arg5
= (long) 0 ;
14329 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14330 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14331 wxListbook
*result
;
14334 bool temp6
= False
;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 PyObject
* obj2
= 0 ;
14338 PyObject
* obj3
= 0 ;
14339 PyObject
* obj4
= 0 ;
14340 PyObject
* obj5
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14348 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14365 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14371 arg6
= wxString_in_helper(obj5
);
14372 if (arg6
== NULL
) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14398 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxListbook
*result
;
14401 char *kwnames
[] = {
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (wxListbook
*)new wxListbook();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14420 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxListbook
*arg1
= (wxListbook
*) 0 ;
14423 wxWindow
*arg2
= (wxWindow
*) 0 ;
14425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14429 long arg6
= (long) 0 ;
14430 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14431 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14435 bool temp7
= False
;
14436 PyObject
* obj0
= 0 ;
14437 PyObject
* obj1
= 0 ;
14438 PyObject
* obj2
= 0 ;
14439 PyObject
* obj3
= 0 ;
14440 PyObject
* obj4
= 0 ;
14441 PyObject
* obj5
= 0 ;
14442 PyObject
* obj6
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14451 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14468 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14474 arg7
= wxString_in_helper(obj6
);
14475 if (arg7
== NULL
) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14501 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxListbook
*arg1
= (wxListbook
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "self", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14526 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14529 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14531 return Py_BuildValue((char *)"");
14533 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14536 int arg2
= (int) 0 ;
14537 int arg3
= (int) -1 ;
14538 int arg4
= (int) -1 ;
14539 wxListbookEvent
*result
;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 PyObject
* obj2
= 0 ;
14543 PyObject
* obj3
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14551 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14563 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14569 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14587 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14590 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14592 return Py_BuildValue((char *)"");
14594 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14597 wxBookCtrlSizer
*result
;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "nb", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14619 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 (arg1
)->RecalcSizes();
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (arg1
)->CalcMin();
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14662 wxSize
* resultptr
;
14663 resultptr
= new wxSize((wxSize
&) result
);
14664 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14672 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14675 wxBookCtrl
*result
;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14697 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14700 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14702 return Py_BuildValue((char *)"");
14704 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14707 wxNotebookSizer
*result
;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "nb", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14729 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 (arg1
)->RecalcSizes();
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 Py_INCREF(Py_None
); resultobj
= Py_None
;
14753 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (arg1
)->CalcMin();
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14772 wxSize
* resultptr
;
14773 resultptr
= new wxSize((wxSize
&) result
);
14774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14782 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14785 wxNotebook
*result
;
14786 PyObject
* obj0
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "self", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= wxPyMake_wxObject(result
);
14809 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14812 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14814 return Py_BuildValue((char *)"");
14816 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (int)(arg1
)->GetId();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_PyObj_FromInt((int)result
);
14841 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (wxControl
*)(arg1
)->GetControl();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= wxPyMake_wxObject(result
);
14868 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14871 wxToolBarBase
*result
;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= wxPyMake_wxObject(result
);
14895 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (int)(arg1
)->IsButton();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= SWIG_PyObj_FromInt((int)result
);
14920 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (int)(arg1
)->IsControl();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= SWIG_PyObj_FromInt((int)result
);
14945 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (int)(arg1
)->IsSeparator();
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_PyObj_FromInt((int)result
);
14970 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (int)(arg1
)->GetStyle();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_PyObj_FromInt((int)result
);
14995 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (int)(arg1
)->GetKind();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= SWIG_PyObj_FromInt((int)result
);
15020 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (bool)(arg1
)->IsEnabled();
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (bool)(arg1
)->IsToggled();
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15070 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (bool)(arg1
)->CanBeToggled();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15095 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15110 result
= (wxBitmap
*) &_result_ref
;
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15123 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15138 result
= (wxBitmap
*) &_result_ref
;
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15151 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self", NULL
15160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (arg1
)->GetBitmap();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 wxBitmap
* resultptr
;
15171 resultptr
= new wxBitmap((wxBitmap
&) result
);
15172 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15180 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (arg1
)->GetLabel();
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15211 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (arg1
)->GetShortHelp();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15242 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (arg1
)->GetLongHelp();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15273 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 PyObject
* obj1
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self",(char *) "enable", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15287 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (bool)(arg1
)->Enable(arg2
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "toggle", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15342 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (bool)(arg1
)->SetToggle(arg2
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15359 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15362 wxString
*arg2
= 0 ;
15364 bool temp2
= False
;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "help", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15374 arg2
= wxString_in_helper(obj1
);
15375 if (arg2
== NULL
) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15400 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15403 wxString
*arg2
= 0 ;
15405 bool temp2
= False
;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self",(char *) "help", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15415 arg2
= wxString_in_helper(obj1
);
15416 if (arg2
== NULL
) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15441 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15444 wxBitmap
*arg2
= 0 ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self",(char *) "bmp", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15454 if (arg2
== NULL
) {
15455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 Py_INCREF(Py_None
); resultobj
= Py_None
;
15471 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15474 wxBitmap
*arg2
= 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self",(char *) "bmp", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15484 if (arg2
== NULL
) {
15485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15504 wxString
*arg2
= 0 ;
15505 bool temp2
= False
;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self",(char *) "label", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15515 arg2
= wxString_in_helper(obj1
);
15516 if (arg2
== NULL
) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 (arg1
)->SetLabel((wxString
const &)*arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 Py_INCREF(Py_None
); resultobj
= Py_None
;
15541 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 Py_INCREF(Py_None
); resultobj
= Py_None
;
15565 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15568 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "tbar", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->Attach(arg2
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15592 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= result
;
15617 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
;
15619 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15620 PyObject
*arg2
= (PyObject
*) 0 ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self",(char *) "clientData", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 Py_INCREF(Py_None
); resultobj
= Py_None
;
15644 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15647 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15649 return Py_BuildValue((char *)"");
15651 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15655 wxString
*arg3
= 0 ;
15656 wxBitmap
*arg4
= 0 ;
15657 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15658 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15659 int arg6
= (int) wxITEM_NORMAL
;
15660 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15661 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15662 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15663 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15664 PyObject
*arg9
= (PyObject
*) NULL
;
15665 wxToolBarToolBase
*result
;
15666 bool temp3
= False
;
15667 bool temp7
= False
;
15668 bool temp8
= False
;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 PyObject
* obj2
= 0 ;
15672 PyObject
* obj3
= 0 ;
15673 PyObject
* obj4
= 0 ;
15674 PyObject
* obj5
= 0 ;
15675 PyObject
* obj6
= 0 ;
15676 PyObject
* obj7
= 0 ;
15677 PyObject
* obj8
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15685 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 arg3
= wxString_in_helper(obj2
);
15690 if (arg3
== NULL
) SWIG_fail
;
15693 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15694 if (arg4
== NULL
) {
15695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15698 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15699 if (arg5
== NULL
) {
15700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15705 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15711 arg7
= wxString_in_helper(obj6
);
15712 if (arg7
== NULL
) SWIG_fail
;
15718 arg8
= wxString_in_helper(obj7
);
15719 if (arg8
== NULL
) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= wxPyMake_wxObject(result
);
15766 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15771 wxString
*arg4
= 0 ;
15772 wxBitmap
*arg5
= 0 ;
15773 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15774 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15775 int arg7
= (int) wxITEM_NORMAL
;
15776 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15777 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15778 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15779 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15780 PyObject
*arg10
= (PyObject
*) NULL
;
15781 wxToolBarToolBase
*result
;
15782 bool temp4
= False
;
15783 bool temp8
= False
;
15784 bool temp9
= False
;
15785 PyObject
* obj0
= 0 ;
15786 PyObject
* obj1
= 0 ;
15787 PyObject
* obj2
= 0 ;
15788 PyObject
* obj3
= 0 ;
15789 PyObject
* obj4
= 0 ;
15790 PyObject
* obj5
= 0 ;
15791 PyObject
* obj6
= 0 ;
15792 PyObject
* obj7
= 0 ;
15793 PyObject
* obj8
= 0 ;
15794 PyObject
* obj9
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15802 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 arg4
= wxString_in_helper(obj3
);
15811 if (arg4
== NULL
) SWIG_fail
;
15814 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15815 if (arg5
== NULL
) {
15816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15819 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15820 if (arg6
== NULL
) {
15821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15826 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15832 arg8
= wxString_in_helper(obj7
);
15833 if (arg8
== NULL
) SWIG_fail
;
15839 arg9
= wxString_in_helper(obj8
);
15840 if (arg9
== NULL
) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 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
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= wxPyMake_wxObject(result
);
15887 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15890 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15891 wxToolBarToolBase
*result
;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self",(char *) "tool", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15900 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= wxPyMake_wxObject(result
);
15917 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15921 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15922 wxToolBarToolBase
*result
;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 PyObject
* obj2
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self",(char *) "pos",(char *) "tool", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15933 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= wxPyMake_wxObject(result
);
15953 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15956 wxControl
*arg2
= (wxControl
*) 0 ;
15957 wxToolBarToolBase
*result
;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self",(char *) "control", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= wxPyMake_wxObject(result
);
15983 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15987 wxControl
*arg3
= (wxControl
*) 0 ;
15988 wxToolBarToolBase
*result
;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 PyObject
* obj2
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "pos",(char *) "control", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15999 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= wxPyMake_wxObject(result
);
16019 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self",(char *) "id", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16033 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= wxPyMake_wxObject(result
);
16052 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16055 wxToolBarToolBase
*result
;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= wxPyMake_wxObject(result
);
16079 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16083 wxToolBarToolBase
*result
;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "pos", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16093 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= wxPyMake_wxObject(result
);
16112 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16116 wxToolBarToolBase
*result
;
16117 PyObject
* obj0
= 0 ;
16118 PyObject
* obj1
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self",(char *) "id", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16126 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= wxPyMake_wxObject(result
);
16145 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "pos", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16159 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16176 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self",(char *) "id", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= (bool)(arg1
)->DeleteTool(arg2
);
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16207 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 (arg1
)->ClearTools();
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16224 Py_INCREF(Py_None
); resultobj
= Py_None
;
16231 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (bool)(arg1
)->Realize();
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16256 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 PyObject
* obj2
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "id",(char *) "enable", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16271 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 (arg1
)->EnableTool(arg2
,arg3
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 Py_INCREF(Py_None
); resultobj
= Py_None
;
16292 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 PyObject
* obj1
= 0 ;
16299 PyObject
* obj2
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "id",(char *) "toggle", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16307 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 (arg1
)->ToggleTool(arg2
,arg3
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 Py_INCREF(Py_None
); resultobj
= Py_None
;
16328 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 PyObject
* obj2
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "id",(char *) "toggle", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16343 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 (arg1
)->SetToggle(arg2
,arg3
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self",(char *) "id", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16378 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= result
;
16395 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16399 PyObject
*arg3
= (PyObject
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 PyObject
* obj2
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "id",(char *) "clientData", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16410 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 Py_INCREF(Py_None
); resultobj
= Py_None
;
16428 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self",(char *) "id", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) 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
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= SWIG_PyObj_FromInt((int)result
);
16459 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self",(char *) "id", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (bool)(arg1
)->GetToolState(arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16490 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "id", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16504 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16521 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16525 wxString
*arg3
= 0 ;
16526 bool temp3
= False
;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 PyObject
* obj2
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self",(char *) "id",(char *) "helpString", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16537 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 arg3
= wxString_in_helper(obj2
);
16542 if (arg3
== NULL
) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 Py_INCREF(Py_None
); resultobj
= Py_None
;
16567 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "id", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (arg1
)->GetToolShortHelp(arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16604 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16608 wxString
*arg3
= 0 ;
16609 bool temp3
= False
;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self",(char *) "id",(char *) "helpString", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16620 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 arg3
= wxString_in_helper(obj2
);
16625 if (arg3
== NULL
) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 Py_INCREF(Py_None
); resultobj
= Py_None
;
16650 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self",(char *) "id", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16664 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (arg1
)->GetToolLongHelp(arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16687 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 PyObject
* obj2
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "x",(char *) "y", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->SetMargins(arg2
,arg3
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16723 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self",(char *) "size", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16738 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 Py_INCREF(Py_None
); resultobj
= Py_None
;
16754 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self",(char *) "packing", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16767 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 (arg1
)->SetToolPacking(arg2
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 Py_INCREF(Py_None
); resultobj
= Py_None
;
16784 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "self",(char *) "separation", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 (arg1
)->SetToolSeparation(arg2
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 Py_INCREF(Py_None
); resultobj
= Py_None
;
16814 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (arg1
)->GetToolMargins();
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 wxSize
* resultptr
;
16834 resultptr
= new wxSize((wxSize
&) result
);
16835 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16843 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "self", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (arg1
)->GetMargins();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 wxSize
* resultptr
;
16863 resultptr
= new wxSize((wxSize
&) result
);
16864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16872 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
;
16874 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (int)(arg1
)->GetToolPacking();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_PyObj_FromInt((int)result
);
16897 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 char *kwnames
[] = {
16903 (char *) "self", NULL
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 result
= (int)(arg1
)->GetToolSeparation();
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= SWIG_PyObj_FromInt((int)result
);
16922 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self",(char *) "nRows", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 (arg1
)->SetRows(arg2
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 Py_INCREF(Py_None
); resultobj
= Py_None
;
16952 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 PyObject
* obj2
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "rows",(char *) "cols", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 Py_INCREF(Py_None
); resultobj
= Py_None
;
16988 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16992 PyObject
* obj0
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (int)(arg1
)->GetMaxRows();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_PyObj_FromInt((int)result
);
17013 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= (int)(arg1
)->GetMaxCols();
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= SWIG_PyObj_FromInt((int)result
);
17038 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self",(char *) "size", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= (arg1
)->GetToolBitmapSize();
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 wxSize
* resultptr
;
17089 resultptr
= new wxSize((wxSize
&) result
);
17090 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17098 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (arg1
)->GetToolSize();
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 wxSize
* resultptr
;
17118 resultptr
= new wxSize((wxSize
&) result
);
17119 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17127 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17132 wxToolBarToolBase
*result
;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 PyObject
* obj2
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "x",(char *) "y", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17143 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= wxPyMake_wxObject(result
);
17166 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17170 wxToolBarToolBase
*result
;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self",(char *) "toolid", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17180 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= wxPyMake_wxObject(result
);
17199 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17203 PyObject
* obj0
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (bool)(arg1
)->IsVertical();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17224 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17227 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17229 return Py_BuildValue((char *)"");
17231 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxWindow
*arg1
= (wxWindow
*) 0 ;
17235 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17236 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17237 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17238 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17239 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17240 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17241 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17245 bool temp6
= False
;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 PyObject
* obj2
= 0 ;
17249 PyObject
* obj3
= 0 ;
17250 PyObject
* obj4
= 0 ;
17251 PyObject
* obj5
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17259 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17265 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17271 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17276 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17282 arg6
= wxString_in_helper(obj5
);
17283 if (arg6
== NULL
) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= wxPyMake_wxObject(result
);
17311 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17314 char *kwnames
[] = {
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxToolBar
*)new wxToolBar();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= wxPyMake_wxObject(result
);
17335 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17338 wxWindow
*arg2
= (wxWindow
*) 0 ;
17340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17344 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17345 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17346 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17350 bool temp7
= False
;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 PyObject
* obj2
= 0 ;
17354 PyObject
* obj3
= 0 ;
17355 PyObject
* obj4
= 0 ;
17356 PyObject
* obj5
= 0 ;
17357 PyObject
* obj6
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17366 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17383 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17389 arg7
= wxString_in_helper(obj6
);
17390 if (arg7
== NULL
) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17416 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17421 wxToolBarToolBase
*result
;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 PyObject
* obj2
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "x",(char *) "y", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17432 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= wxPyMake_wxObject(result
);
17455 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17458 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17460 return Py_BuildValue((char *)"");
17462 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17463 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17468 static PyObject
*_wrap_ListCtrlNameStr_get() {
17473 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17475 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17482 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxColour
const &arg1_defvalue
= wxNullColour
;
17485 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17486 wxColour
const &arg2_defvalue
= wxNullColour
;
17487 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17488 wxFont
const &arg3_defvalue
= wxNullFont
;
17489 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17490 wxListItemAttr
*result
;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 PyObject
* obj2
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17504 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17514 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17515 if (arg3
== NULL
) {
17516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17533 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17536 wxColour
*arg2
= 0 ;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self",(char *) "colText", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 Py_INCREF(Py_None
); resultobj
= Py_None
;
17564 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17567 wxColour
*arg2
= 0 ;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self",(char *) "colBack", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 Py_INCREF(Py_None
); resultobj
= Py_None
;
17595 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "font", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 if (arg2
== NULL
) {
17609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 (arg1
)->SetFont((wxFont
const &)*arg2
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 Py_INCREF(Py_None
); resultobj
= Py_None
;
17625 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17629 PyObject
* obj0
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (bool)(arg1
)->HasTextColour();
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17650 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (bool)(arg1
)->HasBackgroundColour();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= (bool)(arg1
)->HasFont();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17700 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (arg1
)->GetTextColour();
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17719 wxColour
* resultptr
;
17720 resultptr
= new wxColour((wxColour
&) result
);
17721 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17729 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (arg1
)->GetBackgroundColour();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 wxColour
* resultptr
;
17749 resultptr
= new wxColour((wxColour
&) result
);
17750 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17758 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (arg1
)->GetFont();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17777 wxFont
* resultptr
;
17778 resultptr
= new wxFont((wxFont
&) result
);
17779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17787 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 wxListItemAttr_Destroy(arg1
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 Py_INCREF(Py_None
); resultobj
= Py_None
;
17811 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17814 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17816 return Py_BuildValue((char *)"");
17818 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxListItem
*result
;
17821 char *kwnames
[] = {
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (wxListItem
*)new wxListItem();
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= wxPyMake_wxObject(result
);
17842 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxListItem
*arg1
= (wxListItem
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 Py_INCREF(Py_None
); resultobj
= Py_None
;
17866 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxListItem
*arg1
= (wxListItem
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxListItem
*arg1
= (wxListItem
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 (arg1
)->ClearAttributes();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 Py_INCREF(Py_None
); resultobj
= Py_None
;
17914 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxListItem
*arg1
= (wxListItem
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 PyObject
* obj1
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self",(char *) "mask", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17927 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 (arg1
)->SetMask(arg2
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17944 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxListItem
*arg1
= (wxListItem
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "id", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17957 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->SetId(arg2
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 Py_INCREF(Py_None
); resultobj
= Py_None
;
17974 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxListItem
*arg1
= (wxListItem
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 PyObject
* obj1
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self",(char *) "col", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17987 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->SetColumn(arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
18004 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxListItem
*arg1
= (wxListItem
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "state", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18017 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 (arg1
)->SetState(arg2
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 Py_INCREF(Py_None
); resultobj
= Py_None
;
18034 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxListItem
*arg1
= (wxListItem
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "stateMask", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18047 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->SetStateMask(arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxListItem
*arg1
= (wxListItem
*) 0 ;
18067 wxString
*arg2
= 0 ;
18068 bool temp2
= False
;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "text", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18078 arg2
= wxString_in_helper(obj1
);
18079 if (arg2
== NULL
) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 (arg1
)->SetText((wxString
const &)*arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 Py_INCREF(Py_None
); resultobj
= Py_None
;
18104 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxListItem
*arg1
= (wxListItem
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self",(char *) "image", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18117 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 (arg1
)->SetImage(arg2
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 Py_INCREF(Py_None
); resultobj
= Py_None
;
18134 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxListItem
*arg1
= (wxListItem
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 PyObject
* obj1
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self",(char *) "data", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18147 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 (arg1
)->SetData(arg2
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 Py_INCREF(Py_None
); resultobj
= Py_None
;
18164 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxListItem
*arg1
= (wxListItem
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self",(char *) "width", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18177 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->SetWidth(arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 Py_INCREF(Py_None
); resultobj
= Py_None
;
18194 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxListItem
*arg1
= (wxListItem
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "align", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18207 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 Py_INCREF(Py_None
); resultobj
= Py_None
;
18224 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxListItem
*arg1
= (wxListItem
*) 0 ;
18227 wxColour
*arg2
= 0 ;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self",(char *) "colText", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18239 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 Py_INCREF(Py_None
); resultobj
= Py_None
;
18255 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxListItem
*arg1
= (wxListItem
*) 0 ;
18258 wxColour
*arg2
= 0 ;
18260 PyObject
* obj0
= 0 ;
18261 PyObject
* obj1
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self",(char *) "colBack", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 Py_INCREF(Py_None
); resultobj
= Py_None
;
18286 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxListItem
*arg1
= (wxListItem
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "font", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18299 if (arg2
== NULL
) {
18300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 (arg1
)->SetFont((wxFont
const &)*arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 Py_INCREF(Py_None
); resultobj
= Py_None
;
18316 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxListItem
*arg1
= (wxListItem
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (long)(arg1
)->GetMask();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_PyObj_FromLong((long)result
);
18341 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxListItem
*arg1
= (wxListItem
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 result
= (long)(arg1
)->GetId();
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= SWIG_PyObj_FromLong((long)result
);
18366 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxListItem
*arg1
= (wxListItem
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (int)(arg1
)->GetColumn();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_PyObj_FromInt((int)result
);
18391 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxListItem
*arg1
= (wxListItem
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (long)(arg1
)->GetState();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_PyObj_FromLong((long)result
);
18416 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
;
18418 wxListItem
*arg1
= (wxListItem
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 wxString
const &_result_ref
= (arg1
)->GetText();
18431 result
= (wxString
*) &_result_ref
;
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18441 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18450 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxListItem
*arg1
= (wxListItem
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (int)(arg1
)->GetImage();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_PyObj_FromInt((int)result
);
18475 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxListItem
*arg1
= (wxListItem
*) 0 ;
18479 PyObject
* obj0
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (long)(arg1
)->GetData();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_PyObj_FromLong((long)result
);
18500 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxListItem
*arg1
= (wxListItem
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (int)(arg1
)->GetWidth();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_PyObj_FromInt((int)result
);
18525 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxListItem
*arg1
= (wxListItem
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (int)(arg1
)->GetAlign();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_PyObj_FromInt((int)result
);
18550 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxListItem
*arg1
= (wxListItem
*) 0 ;
18553 wxListItemAttr
*result
;
18554 PyObject
* obj0
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18575 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxListItem
*arg1
= (wxListItem
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (bool)(arg1
)->HasAttributes();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxListItem
*arg1
= (wxListItem
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 wxColour
* resultptr
;
18620 resultptr
= new wxColour((wxColour
&) result
);
18621 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18629 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxListItem
*arg1
= (wxListItem
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 wxColour
* resultptr
;
18649 resultptr
= new wxColour((wxColour
&) result
);
18650 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18658 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxListItem
*arg1
= (wxListItem
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= ((wxListItem
const *)arg1
)->GetFont();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18677 wxFont
* resultptr
;
18678 resultptr
= new wxFont((wxFont
&) result
);
18679 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18687 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxListItem
*arg1
= (wxListItem
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self",(char *) "m_mask", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18700 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 if (arg1
) (arg1
)->m_mask
= arg2
;
18705 Py_INCREF(Py_None
); resultobj
= Py_None
;
18712 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
;
18714 wxListItem
*arg1
= (wxListItem
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18723 result
= (long) ((arg1
)->m_mask
);
18725 resultobj
= SWIG_PyObj_FromLong((long)result
);
18732 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxListItem
*arg1
= (wxListItem
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 PyObject
* obj1
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self",(char *) "m_itemId", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18745 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18748 if (arg1
) (arg1
)->m_itemId
= arg2
;
18750 Py_INCREF(Py_None
); resultobj
= Py_None
;
18757 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxListItem
*arg1
= (wxListItem
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18768 result
= (long) ((arg1
)->m_itemId
);
18770 resultobj
= SWIG_PyObj_FromLong((long)result
);
18777 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxListItem
*arg1
= (wxListItem
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self",(char *) "m_col", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18790 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 if (arg1
) (arg1
)->m_col
= arg2
;
18795 Py_INCREF(Py_None
); resultobj
= Py_None
;
18802 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxListItem
*arg1
= (wxListItem
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18813 result
= (int) ((arg1
)->m_col
);
18815 resultobj
= SWIG_PyObj_FromInt((int)result
);
18822 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxListItem
*arg1
= (wxListItem
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self",(char *) "m_state", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18835 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 if (arg1
) (arg1
)->m_state
= arg2
;
18840 Py_INCREF(Py_None
); resultobj
= Py_None
;
18847 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxListItem
*arg1
= (wxListItem
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18858 result
= (long) ((arg1
)->m_state
);
18860 resultobj
= SWIG_PyObj_FromLong((long)result
);
18867 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxListItem
*arg1
= (wxListItem
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "m_stateMask", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18880 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18885 Py_INCREF(Py_None
); resultobj
= Py_None
;
18892 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxListItem
*arg1
= (wxListItem
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18903 result
= (long) ((arg1
)->m_stateMask
);
18905 resultobj
= SWIG_PyObj_FromLong((long)result
);
18912 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxListItem
*arg1
= (wxListItem
*) 0 ;
18915 wxString
*arg2
= (wxString
*) 0 ;
18916 bool temp2
= False
;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self",(char *) "m_text", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18926 arg2
= wxString_in_helper(obj1
);
18927 if (arg2
== NULL
) SWIG_fail
;
18930 if (arg1
) (arg1
)->m_text
= *arg2
;
18932 Py_INCREF(Py_None
); resultobj
= Py_None
;
18947 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxListItem
*arg1
= (wxListItem
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 result
= (wxString
*)& ((arg1
)->m_text
);
18962 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18964 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18973 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxListItem
*arg1
= (wxListItem
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self",(char *) "m_image", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 if (arg1
) (arg1
)->m_image
= arg2
;
18991 Py_INCREF(Py_None
); resultobj
= Py_None
;
18998 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
;
19000 wxListItem
*arg1
= (wxListItem
*) 0 ;
19002 PyObject
* obj0
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19009 result
= (int) ((arg1
)->m_image
);
19011 resultobj
= SWIG_PyObj_FromInt((int)result
);
19018 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxListItem
*arg1
= (wxListItem
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 PyObject
* obj1
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self",(char *) "m_data", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19031 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 if (arg1
) (arg1
)->m_data
= arg2
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxListItem
*arg1
= (wxListItem
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19054 result
= (long) ((arg1
)->m_data
);
19056 resultobj
= SWIG_PyObj_FromLong((long)result
);
19063 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxListItem
*arg1
= (wxListItem
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self",(char *) "m_format", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19076 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 if (arg1
) (arg1
)->m_format
= arg2
;
19081 Py_INCREF(Py_None
); resultobj
= Py_None
;
19088 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxListItem
*arg1
= (wxListItem
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19099 result
= (int) ((arg1
)->m_format
);
19101 resultobj
= SWIG_PyObj_FromInt((int)result
);
19108 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListItem
*arg1
= (wxListItem
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "m_width", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 if (arg1
) (arg1
)->m_width
= arg2
;
19126 Py_INCREF(Py_None
); resultobj
= Py_None
;
19133 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxListItem
*arg1
= (wxListItem
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19144 result
= (int) ((arg1
)->m_width
);
19146 resultobj
= SWIG_PyObj_FromInt((int)result
);
19153 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19156 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19158 return Py_BuildValue((char *)"");
19160 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19163 int arg2
= (int) 0 ;
19164 wxListEvent
*result
;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "commandType",(char *) "id", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19174 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19180 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19198 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "m_code", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 if (arg1
) (arg1
)->m_code
= arg2
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19223 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "self", NULL
19232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19234 result
= (int) ((arg1
)->m_code
);
19236 resultobj
= SWIG_PyObj_FromInt((int)result
);
19243 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self",(char *) "m_oldItemIndex", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19256 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19261 Py_INCREF(Py_None
); resultobj
= Py_None
;
19268 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19279 result
= (long) ((arg1
)->m_oldItemIndex
);
19281 resultobj
= SWIG_PyObj_FromLong((long)result
);
19288 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self",(char *) "m_itemIndex", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19301 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19306 Py_INCREF(Py_None
); resultobj
= Py_None
;
19313 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19324 result
= (long) ((arg1
)->m_itemIndex
);
19326 resultobj
= SWIG_PyObj_FromLong((long)result
);
19333 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "m_col", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19346 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 if (arg1
) (arg1
)->m_col
= arg2
;
19351 Py_INCREF(Py_None
); resultobj
= Py_None
;
19358 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19369 result
= (int) ((arg1
)->m_col
);
19371 resultobj
= SWIG_PyObj_FromInt((int)result
);
19378 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19381 wxPoint
*arg2
= (wxPoint
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "m_pointDrag", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19391 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19393 Py_INCREF(Py_None
); resultobj
= Py_None
;
19400 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19411 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19420 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19422 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19423 wxListItem
*result
;
19424 PyObject
* obj0
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19431 result
= (wxListItem
*)& ((arg1
)->m_item
);
19434 resultobj
= wxPyMake_wxObject(result
);
19442 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (int)(arg1
)->GetKeyCode();
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_PyObj_FromInt((int)result
);
19467 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (long)(arg1
)->GetIndex();
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= SWIG_PyObj_FromLong((long)result
);
19492 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 result
= (int)(arg1
)->GetColumn();
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_PyObj_FromInt((int)result
);
19517 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (arg1
)->GetPoint();
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19536 wxPoint
* resultptr
;
19537 resultptr
= new wxPoint((wxPoint
&) result
);
19538 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19546 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 wxString
const &_result_ref
= (arg1
)->GetLabel();
19561 result
= (wxString
*) &_result_ref
;
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19580 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 wxString
const &_result_ref
= (arg1
)->GetText();
19595 result
= (wxString
*) &_result_ref
;
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19605 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19614 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (int)(arg1
)->GetImage();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_PyObj_FromInt((int)result
);
19639 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (long)(arg1
)->GetData();
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_PyObj_FromLong((long)result
);
19664 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (long)(arg1
)->GetMask();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_PyObj_FromLong((long)result
);
19689 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19692 wxListItem
*result
;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19704 result
= (wxListItem
*) &_result_ref
;
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19717 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (long)(arg1
)->GetCacheFrom();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_PyObj_FromLong((long)result
);
19742 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (long)(arg1
)->GetCacheTo();
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_PyObj_FromLong((long)result
);
19767 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19792 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "editCancelled", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19805 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 (arg1
)->SetEditCanceled(arg2
);
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 Py_INCREF(Py_None
); resultobj
= Py_None
;
19822 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19825 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19827 return Py_BuildValue((char *)"");
19829 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxWindow
*arg1
= (wxWindow
*) 0 ;
19832 int arg2
= (int) -1 ;
19833 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19834 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19835 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19836 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19837 long arg5
= (long) wxLC_ICON
;
19838 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19839 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19840 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19841 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19842 wxPyListCtrl
*result
;
19845 bool temp7
= False
;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 PyObject
* obj2
= 0 ;
19849 PyObject
* obj3
= 0 ;
19850 PyObject
* obj4
= 0 ;
19851 PyObject
* obj5
= 0 ;
19852 PyObject
* obj6
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19861 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19879 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19884 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19885 if (arg6
== NULL
) {
19886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19891 arg7
= wxString_in_helper(obj6
);
19892 if (arg7
== NULL
) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19918 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxPyListCtrl
*result
;
19921 char *kwnames
[] = {
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19940 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
;
19942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19943 wxWindow
*arg2
= (wxWindow
*) 0 ;
19944 int arg3
= (int) -1 ;
19945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19949 long arg6
= (long) wxLC_ICON
;
19950 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19951 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19952 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19953 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19957 bool temp8
= False
;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 PyObject
* obj2
= 0 ;
19961 PyObject
* obj3
= 0 ;
19962 PyObject
* obj4
= 0 ;
19963 PyObject
* obj5
= 0 ;
19964 PyObject
* obj6
= 0 ;
19965 PyObject
* obj7
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19982 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19988 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19993 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19998 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19999 if (arg7
== NULL
) {
20000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20005 arg8
= wxString_in_helper(obj7
);
20006 if (arg8
== NULL
) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20032 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20035 PyObject
*arg2
= (PyObject
*) 0 ;
20036 PyObject
*arg3
= (PyObject
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 PyObject
* obj2
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "self",(char *) "_class", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 Py_INCREF(Py_None
); resultobj
= Py_None
;
20062 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20065 wxColour
*arg2
= 0 ;
20068 PyObject
* obj0
= 0 ;
20069 PyObject
* obj1
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self",(char *) "col", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20094 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(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_SetBackgroundColour",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
)->SetBackgroundColour((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_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20130 wxListItem
*result
;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self",(char *) "col", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20140 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= wxPyMake_wxObject(result
);
20159 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20163 wxListItem
*arg3
= 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 PyObject
* obj2
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "col",(char *) "item", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20175 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20179 if (arg3
== NULL
) {
20180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20196 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self",(char *) "col", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20210 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= SWIG_PyObj_FromInt((int)result
);
20227 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 PyObject
* obj2
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "col",(char *) "width", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20247 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20264 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= SWIG_PyObj_FromInt((int)result
);
20289 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 wxRect
* resultptr
;
20309 resultptr
= new wxRect((wxRect
&) result
);
20310 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20318 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20322 int arg3
= (int) 0 ;
20323 wxListItem
*result
;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 PyObject
* obj2
= 0 ;
20327 char *kwnames
[] = {
20328 (char *) "self",(char *) "itemId",(char *) "col", NULL
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20334 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20339 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= wxPyMake_wxObject(result
);
20359 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20362 wxListItem
*arg2
= 0 ;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self",(char *) "info", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20373 if (arg2
== NULL
) {
20374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (bool)(arg1
)->SetItem(*arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20390 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20395 wxString
*arg4
= 0 ;
20396 int arg5
= (int) -1 ;
20398 bool temp4
= False
;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 PyObject
* obj2
= 0 ;
20402 PyObject
* obj3
= 0 ;
20403 PyObject
* obj4
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20411 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20419 arg4
= wxString_in_helper(obj3
);
20420 if (arg4
== NULL
) SWIG_fail
;
20425 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_PyObj_FromLong((long)result
);
20451 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20467 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_PyObj_FromInt((int)result
);
20488 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 PyObject
* obj2
= 0 ;
20498 PyObject
* obj3
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20506 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20531 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 PyObject
* obj2
= 0 ;
20541 PyObject
* obj3
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20549 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20553 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20557 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20574 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self",(char *) "item", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20588 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20611 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20615 wxString
*arg3
= 0 ;
20616 bool temp3
= False
;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20619 PyObject
* obj2
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self",(char *) "item",(char *) "str", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20627 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 arg3
= wxString_in_helper(obj2
);
20632 if (arg3
== NULL
) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "item", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20671 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_PyObj_FromLong((long)result
);
20688 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 PyObject
* obj2
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "item",(char *) "data", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20704 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20725 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "item", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20739 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20750 wxPoint
* resultptr
;
20751 resultptr
= new wxPoint((wxPoint
&) result
);
20752 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20760 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20764 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 PyObject
* obj2
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self",(char *) "item",(char *) "code", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20776 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20781 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20793 wxRect
* resultptr
;
20794 resultptr
= new wxRect((wxRect
&) result
);
20795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20803 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20807 wxPoint
*arg3
= 0 ;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 PyObject
* obj2
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self",(char *) "item",(char *) "pos", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20820 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20841 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20845 PyObject
* obj0
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_PyObj_FromInt((int)result
);
20866 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= SWIG_PyObj_FromInt((int)result
);
20891 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20910 wxSize
* resultptr
;
20911 resultptr
= new wxSize((wxSize
&) result
);
20912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20920 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20924 bool arg3
= (bool) False
;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 PyObject
* obj2
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20940 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 (arg1
)->SetItemSpacing(arg2
,arg3
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 Py_INCREF(Py_None
); resultobj
= Py_None
;
20958 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 char *kwnames
[] = {
20964 (char *) "self", NULL
20967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_PyObj_FromInt((int)result
);
20983 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 wxColour
* resultptr
;
21003 resultptr
= new wxColour((wxColour
&) result
);
21004 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21012 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21015 wxColour
*arg2
= 0 ;
21017 PyObject
* obj0
= 0 ;
21018 PyObject
* obj1
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self",(char *) "col", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21043 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "self", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_PyObj_FromLong((long)result
);
21068 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21072 bool arg3
= (bool) True
;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 PyObject
* obj2
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self",(char *) "style",(char *) "add", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21083 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21088 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 (arg1
)->SetSingleStyle(arg2
,arg3
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 Py_INCREF(Py_None
); resultobj
= Py_None
;
21106 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self",(char *) "style", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21119 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 (arg1
)->SetWindowStyleFlag(arg2
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 Py_INCREF(Py_None
); resultobj
= Py_None
;
21136 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21140 int arg3
= (int) wxLIST_NEXT_ALL
;
21141 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 PyObject
* obj2
= 0 ;
21146 PyObject
* obj3
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21154 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21159 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21165 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= SWIG_PyObj_FromLong((long)result
);
21183 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21187 wxImageList
*result
;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self",(char *) "which", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21197 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= wxPyMake_wxObject(result
);
21216 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21219 wxImageList
*arg2
= (wxImageList
*) 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 PyObject
* obj2
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "imageList",(char *) "which", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21232 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 (arg1
)->SetImageList(arg2
,arg3
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 Py_INCREF(Py_None
); resultobj
= Py_None
;
21249 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21252 wxImageList
*arg2
= (wxImageList
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 PyObject
* obj2
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self",(char *) "imageList",(char *) "which", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21265 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 (arg1
)->AssignImageList(arg2
,arg3
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 Py_INCREF(Py_None
); resultobj
= Py_None
;
21282 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21307 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "item", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21320 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 (arg1
)->RefreshItem(arg2
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 Py_INCREF(Py_None
); resultobj
= Py_None
;
21337 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 PyObject
* obj2
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21352 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 (arg1
)->RefreshItems(arg2
,arg3
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 Py_INCREF(Py_None
); resultobj
= Py_None
;
21373 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21376 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "flag", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21388 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (bool)(arg1
)->Arrange(arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21406 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "item", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21420 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (bool)(arg1
)->DeleteItem(arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21437 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21441 PyObject
* obj0
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (bool)(arg1
)->DeleteAllItems();
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21462 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21467 PyObject
* obj0
= 0 ;
21468 PyObject
* obj1
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "col", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21493 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (bool)(arg1
)->DeleteAllColumns();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21518 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->ClearAll();
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "item", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21555 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 (arg1
)->EditLabel(arg2
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 Py_INCREF(Py_None
); resultobj
= Py_None
;
21572 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "item", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21586 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21603 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 wxString
*arg3
= 0 ;
21608 bool arg4
= (bool) False
;
21610 bool temp3
= False
;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 PyObject
* obj2
= 0 ;
21614 PyObject
* obj3
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21622 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21626 arg3
= wxString_in_helper(obj2
);
21627 if (arg3
== NULL
) SWIG_fail
;
21632 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_PyObj_FromLong((long)result
);
21658 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 PyObject
* obj1
= 0 ;
21666 PyObject
* obj2
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self",(char *) "start",(char *) "data", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21674 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_PyObj_FromLong((long)result
);
21695 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21699 wxPoint
*arg3
= 0 ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 PyObject
* obj2
= 0 ;
21706 PyObject
* obj3
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21714 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21722 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_PyObj_FromLong((long)result
);
21739 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21742 wxPoint
*arg2
= 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "self",(char *) "point", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= SWIG_PyObj_FromLong((long)result
);
21769 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21770 resultobj
= t_output_helper(resultobj
,o
);
21778 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21781 wxListItem
*arg2
= 0 ;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "self",(char *) "info", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21792 if (arg2
== NULL
) {
21793 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (long)(arg1
)->InsertItem(*arg2
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_PyObj_FromLong((long)result
);
21809 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21813 wxString
*arg3
= 0 ;
21815 bool temp3
= False
;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 PyObject
* obj2
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self",(char *) "index",(char *) "label", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21826 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 arg3
= wxString_in_helper(obj2
);
21831 if (arg3
== NULL
) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_PyObj_FromLong((long)result
);
21856 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 PyObject
* obj2
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21872 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21876 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_PyObj_FromLong((long)result
);
21893 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21897 wxString
*arg3
= 0 ;
21900 bool temp3
= False
;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 PyObject
* obj2
= 0 ;
21904 PyObject
* obj3
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21912 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21916 arg3
= wxString_in_helper(obj2
);
21917 if (arg3
== NULL
) SWIG_fail
;
21921 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_PyObj_FromLong((long)result
);
21946 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21950 wxListItem
*arg3
= 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 PyObject
* obj2
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self",(char *) "col",(char *) "info", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21962 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21966 if (arg3
== NULL
) {
21967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= SWIG_PyObj_FromLong((long)result
);
21983 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21987 wxString
*arg3
= 0 ;
21988 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21989 int arg5
= (int) -1 ;
21991 bool temp3
= False
;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 PyObject
* obj3
= 0 ;
21996 PyObject
* obj4
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22004 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 arg3
= wxString_in_helper(obj2
);
22009 if (arg3
== NULL
) SWIG_fail
;
22014 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22020 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_PyObj_FromLong((long)result
);
22046 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "count", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->SetItemCount(arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 PyObject
* obj2
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "dx",(char *) "dy", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22092 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22117 wxColour
*arg3
= 0 ;
22119 PyObject
* obj0
= 0 ;
22120 PyObject
* obj1
= 0 ;
22121 PyObject
* obj2
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "item",(char *) "col", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22129 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22134 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 Py_INCREF(Py_None
); resultobj
= Py_None
;
22150 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self",(char *) "item", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22164 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 wxColour
* resultptr
;
22176 resultptr
= new wxColour((wxColour
&) result
);
22177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22185 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22189 wxColour
*arg3
= 0 ;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 PyObject
* obj2
= 0 ;
22194 char *kwnames
[] = {
22195 (char *) "self",(char *) "item",(char *) "col", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22201 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22206 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 Py_INCREF(Py_None
); resultobj
= Py_None
;
22222 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "self",(char *) "item", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22236 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 wxColour
* resultptr
;
22248 resultptr
= new wxColour((wxColour
&) result
);
22249 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22257 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22260 PyObject
*arg2
= (PyObject
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "func", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22285 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= wxPyMake_wxObject(result
);
22312 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22315 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22317 return Py_BuildValue((char *)"");
22319 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxWindow
*arg1
= (wxWindow
*) 0 ;
22322 int arg2
= (int) -1 ;
22323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22327 long arg5
= (long) wxLC_REPORT
;
22328 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22329 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22330 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22332 wxListView
*result
;
22335 bool temp7
= False
;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 PyObject
* obj2
= 0 ;
22339 PyObject
* obj3
= 0 ;
22340 PyObject
* obj4
= 0 ;
22341 PyObject
* obj5
= 0 ;
22342 PyObject
* obj6
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22351 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22369 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22374 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22375 if (arg6
== NULL
) {
22376 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22381 arg7
= wxString_in_helper(obj6
);
22382 if (arg7
== NULL
) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22408 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxListView
*result
;
22411 char *kwnames
[] = {
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (wxListView
*)new wxListView();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22430 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxListView
*arg1
= (wxListView
*) 0 ;
22433 wxWindow
*arg2
= (wxWindow
*) 0 ;
22434 int arg3
= (int) -1 ;
22435 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22436 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22437 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22438 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22439 long arg6
= (long) wxLC_REPORT
;
22440 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22441 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22442 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22443 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22447 bool temp8
= False
;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 PyObject
* obj2
= 0 ;
22451 PyObject
* obj3
= 0 ;
22452 PyObject
* obj4
= 0 ;
22453 PyObject
* obj5
= 0 ;
22454 PyObject
* obj6
= 0 ;
22455 PyObject
* obj7
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22465 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22483 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22488 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22489 if (arg7
== NULL
) {
22490 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22495 arg8
= wxString_in_helper(obj7
);
22496 if (arg8
== NULL
) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxListView
*arg1
= (wxListView
*) 0 ;
22526 bool arg3
= (bool) True
;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 PyObject
* obj2
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self",(char *) "n",(char *) "on", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22537 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22542 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 (arg1
)->Select(arg2
,arg3
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 Py_INCREF(Py_None
); resultobj
= Py_None
;
22560 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxListView
*arg1
= (wxListView
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self",(char *) "index", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22573 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 (arg1
)->Focus(arg2
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 Py_INCREF(Py_None
); resultobj
= Py_None
;
22590 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22591 PyObject
*resultobj
;
22592 wxListView
*arg1
= (wxListView
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 char *kwnames
[] = {
22596 (char *) "self", NULL
22599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_PyObj_FromLong((long)result
);
22615 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxListView
*arg1
= (wxListView
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 char *kwnames
[] = {
22623 (char *) "self",(char *) "item", NULL
22626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22629 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= SWIG_PyObj_FromLong((long)result
);
22646 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxListView
*arg1
= (wxListView
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= SWIG_PyObj_FromLong((long)result
);
22671 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxListView
*arg1
= (wxListView
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self",(char *) "index", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22685 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (bool)(arg1
)->IsSelected(arg2
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22702 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22704 wxListView
*arg1
= (wxListView
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 PyObject
* obj2
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self",(char *) "col",(char *) "image", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 (arg1
)->SetColumnImage(arg2
,arg3
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 Py_INCREF(Py_None
); resultobj
= Py_None
;
22738 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxListView
*arg1
= (wxListView
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "col", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->ClearColumnImage(arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22771 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22773 return Py_BuildValue((char *)"");
22775 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22776 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22781 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22786 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22788 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22795 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
;
22797 wxTreeItemId
*result
;
22798 char *kwnames
[] = {
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (wxTreeItemId
*)new wxTreeItemId();
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22817 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22820 PyObject
* obj0
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22866 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22869 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self",(char *) "other", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22894 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22897 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "other", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22922 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22925 void *arg2
= (void *) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "m_pItem", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",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
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22935 if (arg1
) (arg1
)->m_pItem
= arg2
;
22937 Py_INCREF(Py_None
); resultobj
= Py_None
;
22944 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22955 result
= (void *) ((arg1
)->m_pItem
);
22957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22964 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22967 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22969 return Py_BuildValue((char *)"");
22971 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 PyObject
*arg1
= (PyObject
*) NULL
;
22974 wxPyTreeItemData
*result
;
22975 PyObject
* obj0
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "obj", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22998 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23000 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= (PyObject
*)(arg1
)->GetData();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 resultobj
= result
;
23023 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23026 PyObject
*arg2
= (PyObject
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "self",(char *) "obj", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 (arg1
)->SetData(arg2
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 Py_INCREF(Py_None
); resultobj
= Py_None
;
23050 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
;
23052 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23053 wxTreeItemId
*result
;
23054 PyObject
* obj0
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23065 result
= (wxTreeItemId
*) &_result_ref
;
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
23078 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23081 wxTreeItemId
*arg2
= 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self",(char *) "id", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23091 if (arg2
== NULL
) {
23092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23108 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 wxPyTreeItemData_Destroy(arg1
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23135 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23137 return Py_BuildValue((char *)"");
23139 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23142 int arg2
= (int) 0 ;
23143 wxTreeEvent
*result
;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj1
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "commandType",(char *) "id", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23153 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23159 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23177 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
;
23179 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23180 wxTreeItemId result
;
23181 PyObject
* obj0
= 0 ;
23182 char *kwnames
[] = {
23183 (char *) "self", NULL
23186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 wxTreeItemId
* resultptr
;
23197 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23198 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23206 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23208 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23209 wxTreeItemId
*arg2
= 0 ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self",(char *) "item", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23218 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23219 if (arg2
== NULL
) {
23220 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23239 wxTreeItemId result
;
23240 PyObject
* obj0
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23255 wxTreeItemId
* resultptr
;
23256 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23265 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23268 wxTreeItemId
*arg2
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "item", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23278 if (arg2
== NULL
) {
23279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 Py_INCREF(Py_None
); resultobj
= Py_None
;
23295 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 wxPoint
* resultptr
;
23315 resultptr
= new wxPoint((wxPoint
&) result
);
23316 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23324 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23327 wxPoint
*arg2
= 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "pt", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 Py_INCREF(Py_None
); resultobj
= Py_None
;
23355 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23358 wxKeyEvent
*result
;
23359 PyObject
* obj0
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23370 result
= (wxKeyEvent
*) &_result_ref
;
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23383 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= SWIG_PyObj_FromInt((int)result
);
23408 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23411 wxKeyEvent
*arg2
= 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 char *kwnames
[] = {
23415 (char *) "self",(char *) "evt", NULL
23418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23421 if (arg2
== NULL
) {
23422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 Py_INCREF(Py_None
); resultobj
= Py_None
;
23438 static PyObject
*_wrap_TreeEvent_GetLabel(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_GetLabel",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();
23452 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23453 result
= (wxString
*) &_result_ref
;
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23463 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23472 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23475 wxString
*arg2
= 0 ;
23476 bool temp2
= False
;
23477 PyObject
* obj0
= 0 ;
23478 PyObject
* obj1
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self",(char *) "label", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23486 arg2
= wxString_in_helper(obj1
);
23487 if (arg2
== NULL
) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 (arg1
)->SetLabel((wxString
const &)*arg2
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23537 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 PyObject
* obj1
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self",(char *) "editCancelled", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23550 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 (arg1
)->SetEditCanceled(arg2
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23570 wxString
*arg2
= 0 ;
23571 bool temp2
= False
;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self",(char *) "toolTip", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23581 arg2
= wxString_in_helper(obj1
);
23582 if (arg2
== NULL
) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 Py_INCREF(Py_None
); resultobj
= Py_None
;
23607 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23610 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23612 return Py_BuildValue((char *)"");
23614 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxWindow
*arg1
= (wxWindow
*) 0 ;
23617 int arg2
= (int) -1 ;
23618 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23619 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23620 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23621 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23622 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23623 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23624 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23625 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23627 wxPyTreeCtrl
*result
;
23630 bool temp7
= False
;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 PyObject
* obj2
= 0 ;
23634 PyObject
* obj3
= 0 ;
23635 PyObject
* obj4
= 0 ;
23636 PyObject
* obj5
= 0 ;
23637 PyObject
* obj6
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23646 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23659 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23664 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23669 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23670 if (arg6
== NULL
) {
23671 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23676 arg7
= wxString_in_helper(obj6
);
23677 if (arg7
== NULL
) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= wxPyMake_wxObject(result
);
23705 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxPyTreeCtrl
*result
;
23708 char *kwnames
[] = {
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= wxPyMake_wxObject(result
);
23729 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23732 wxWindow
*arg2
= (wxWindow
*) 0 ;
23733 int arg3
= (int) -1 ;
23734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23738 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23739 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23740 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23741 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23742 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23746 bool temp8
= False
;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 PyObject
* obj2
= 0 ;
23750 PyObject
* obj3
= 0 ;
23751 PyObject
* obj4
= 0 ;
23752 PyObject
* obj5
= 0 ;
23753 PyObject
* obj6
= 0 ;
23754 PyObject
* obj7
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23761 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23764 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23782 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23787 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23788 if (arg7
== NULL
) {
23789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23794 arg8
= wxString_in_helper(obj7
);
23795 if (arg8
== NULL
) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23821 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23824 PyObject
*arg2
= (PyObject
*) 0 ;
23825 PyObject
*arg3
= (PyObject
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 PyObject
* obj1
= 0 ;
23828 PyObject
* obj2
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "self",(char *) "self",(char *) "_class", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 Py_INCREF(Py_None
); resultobj
= Py_None
;
23851 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23876 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23879 unsigned int result
;
23880 PyObject
* obj0
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23901 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23904 unsigned int arg2
;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "indent", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 (arg1
)->SetIndent(arg2
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 Py_INCREF(Py_None
); resultobj
= Py_None
;
23931 static PyObject
*_wrap_TreeCtrl_GetSpacing(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_GetSpacing",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
)->GetSpacing();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23956 static PyObject
*_wrap_TreeCtrl_SetSpacing(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 *) "spacing", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",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
)->SetSpacing(arg2
);
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 Py_INCREF(Py_None
); resultobj
= Py_None
;
23986 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23989 wxImageList
*result
;
23990 PyObject
* obj0
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",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
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= wxPyMake_wxObject(result
);
24013 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24016 wxImageList
*result
;
24017 PyObject
* obj0
= 0 ;
24018 char *kwnames
[] = {
24019 (char *) "self", NULL
24022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= wxPyMake_wxObject(result
);
24040 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24043 wxImageList
*arg2
= (wxImageList
*) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self",(char *) "imageList", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 (arg1
)->SetImageList(arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 Py_INCREF(Py_None
); resultobj
= Py_None
;
24067 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24070 wxImageList
*arg2
= (wxImageList
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "imageList", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 (arg1
)->SetStateImageList(arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 Py_INCREF(Py_None
); resultobj
= Py_None
;
24094 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24097 wxImageList
*arg2
= (wxImageList
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self",(char *) "imageList", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 (arg1
)->AssignImageList(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 Py_INCREF(Py_None
); resultobj
= Py_None
;
24121 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24124 wxImageList
*arg2
= (wxImageList
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self",(char *) "imageList", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 (arg1
)->AssignStateImageList(arg2
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 Py_INCREF(Py_None
); resultobj
= Py_None
;
24148 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24151 wxTreeItemId
*arg2
= 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "item", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",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_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24162 if (arg2
== NULL
) {
24163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24185 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24188 wxTreeItemId
*arg2
= 0 ;
24189 int arg3
= (int) wxTreeItemIcon_Normal
;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 PyObject
* obj2
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "item",(char *) "which", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24201 if (arg2
== NULL
) {
24202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24206 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_PyObj_FromInt((int)result
);
24224 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24227 wxTreeItemId
*arg2
= 0 ;
24228 wxPyTreeItemData
*result
;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "item", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24238 if (arg2
== NULL
) {
24239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24255 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24258 wxTreeItemId
*arg2
= 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "item", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24269 if (arg2
== NULL
) {
24270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= result
;
24286 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24289 wxTreeItemId
*arg2
= 0 ;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 char *kwnames
[] = {
24294 (char *) "self",(char *) "item", NULL
24297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24300 if (arg2
== NULL
) {
24301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 wxColour
* resultptr
;
24312 resultptr
= new wxColour((wxColour
&) result
);
24313 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24321 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24324 wxTreeItemId
*arg2
= 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "item", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24335 if (arg2
== NULL
) {
24336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24346 wxColour
* resultptr
;
24347 resultptr
= new wxColour((wxColour
&) result
);
24348 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24356 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24359 wxTreeItemId
*arg2
= 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "item", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24370 if (arg2
== NULL
) {
24371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 wxFont
* resultptr
;
24382 resultptr
= new wxFont((wxFont
&) result
);
24383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24391 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24394 wxTreeItemId
*arg2
= 0 ;
24395 wxString
*arg3
= 0 ;
24396 bool temp3
= False
;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 PyObject
* obj2
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "item",(char *) "text", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24407 if (arg2
== NULL
) {
24408 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24411 arg3
= wxString_in_helper(obj2
);
24412 if (arg3
== NULL
) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 Py_INCREF(Py_None
); resultobj
= Py_None
;
24437 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24440 wxTreeItemId
*arg2
= 0 ;
24442 int arg4
= (int) wxTreeItemIcon_Normal
;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 PyObject
* obj2
= 0 ;
24446 PyObject
* obj3
= 0 ;
24447 char *kwnames
[] = {
24448 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24454 if (arg2
== NULL
) {
24455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24458 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24463 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 Py_INCREF(Py_None
); resultobj
= Py_None
;
24481 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24484 wxTreeItemId
*arg2
= 0 ;
24485 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 PyObject
* obj2
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "item",(char *) "data", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24496 if (arg2
== NULL
) {
24497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24499 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 Py_INCREF(Py_None
); resultobj
= Py_None
;
24514 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24517 wxTreeItemId
*arg2
= 0 ;
24518 PyObject
*arg3
= (PyObject
*) 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 PyObject
* obj2
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "item",(char *) "obj", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24529 if (arg2
== NULL
) {
24530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 Py_INCREF(Py_None
); resultobj
= Py_None
;
24547 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24550 wxTreeItemId
*arg2
= 0 ;
24551 bool arg3
= (bool) True
;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 PyObject
* obj2
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self",(char *) "item",(char *) "has", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24562 if (arg2
== NULL
) {
24563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24567 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 Py_INCREF(Py_None
); resultobj
= Py_None
;
24585 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24588 wxTreeItemId
*arg2
= 0 ;
24589 bool arg3
= (bool) True
;
24590 PyObject
* obj0
= 0 ;
24591 PyObject
* obj1
= 0 ;
24592 PyObject
* obj2
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self",(char *) "item",(char *) "bold", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24600 if (arg2
== NULL
) {
24601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24605 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 Py_INCREF(Py_None
); resultobj
= Py_None
;
24623 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24626 wxTreeItemId
*arg2
= 0 ;
24627 wxColour
*arg3
= 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 PyObject
* obj2
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "item",(char *) "col", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24639 if (arg2
== NULL
) {
24640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24644 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24663 wxTreeItemId
*arg2
= 0 ;
24664 wxColour
*arg3
= 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 PyObject
* obj2
= 0 ;
24669 char *kwnames
[] = {
24670 (char *) "self",(char *) "item",(char *) "col", NULL
24673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24676 if (arg2
== NULL
) {
24677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24681 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 Py_INCREF(Py_None
); resultobj
= Py_None
;
24697 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24700 wxTreeItemId
*arg2
= 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 PyObject
* obj2
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self",(char *) "item",(char *) "font", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24712 if (arg2
== NULL
) {
24713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24715 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24716 if (arg3
== NULL
) {
24717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 Py_INCREF(Py_None
); resultobj
= Py_None
;
24733 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24736 wxTreeItemId
*arg2
= 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "item", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24747 if (arg2
== NULL
) {
24748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24764 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24767 wxTreeItemId
*arg2
= 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "item", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24778 if (arg2
== NULL
) {
24779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24795 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24798 wxTreeItemId
*arg2
= 0 ;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "item", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24809 if (arg2
== NULL
) {
24810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 static PyObject
*_wrap_TreeCtrl_IsSelected(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_IsSelected",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
)->IsSelected((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_IsBold(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_IsBold",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
)->IsBold((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_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24891 wxTreeItemId
*arg2
= 0 ;
24892 bool arg3
= (bool) True
;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 PyObject
* obj2
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self",(char *) "item",(char *) "recursively", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24904 if (arg2
== NULL
) {
24905 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24909 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24927 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24930 wxTreeItemId result
;
24931 PyObject
* obj0
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24946 wxTreeItemId
* resultptr
;
24947 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24948 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24956 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24959 wxTreeItemId result
;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24975 wxTreeItemId
* resultptr
;
24976 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24977 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24985 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= result
;
25010 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25013 wxTreeItemId
*arg2
= 0 ;
25014 wxTreeItemId result
;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "item", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25024 if (arg2
== NULL
) {
25025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25035 wxTreeItemId
* resultptr
;
25036 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25037 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25045 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25048 wxTreeItemId
*arg2
= 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self",(char *) "item", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25059 if (arg2
== NULL
) {
25060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= result
;
25076 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25079 wxTreeItemId
*arg2
= 0 ;
25080 void *arg3
= (void *) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 PyObject
* obj2
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self",(char *) "item",(char *) "cookie", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25092 if (arg2
== NULL
) {
25093 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25095 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= result
;
25110 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25113 wxTreeItemId
*arg2
= 0 ;
25114 wxTreeItemId result
;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "item", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25124 if (arg2
== NULL
) {
25125 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25135 wxTreeItemId
* resultptr
;
25136 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25137 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25145 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25148 wxTreeItemId
*arg2
= 0 ;
25149 wxTreeItemId result
;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "self",(char *) "item", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25159 if (arg2
== NULL
) {
25160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25170 wxTreeItemId
* resultptr
;
25171 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25172 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25180 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
;
25182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25183 wxTreeItemId
*arg2
= 0 ;
25184 wxTreeItemId result
;
25185 PyObject
* obj0
= 0 ;
25186 PyObject
* obj1
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "self",(char *) "item", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25194 if (arg2
== NULL
) {
25195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 wxTreeItemId
* resultptr
;
25206 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25207 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25215 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25218 wxTreeItemId result
;
25219 PyObject
* obj0
= 0 ;
25220 char *kwnames
[] = {
25221 (char *) "self", NULL
25224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25234 wxTreeItemId
* resultptr
;
25235 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25236 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25244 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25247 wxTreeItemId
*arg2
= 0 ;
25248 wxTreeItemId result
;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "item", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25258 if (arg2
== NULL
) {
25259 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 wxTreeItemId
* resultptr
;
25270 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25271 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25279 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25282 wxTreeItemId
*arg2
= 0 ;
25283 wxTreeItemId result
;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self",(char *) "item", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25293 if (arg2
== NULL
) {
25294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25304 wxTreeItemId
* resultptr
;
25305 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25306 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25314 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25317 wxString
*arg2
= 0 ;
25318 int arg3
= (int) -1 ;
25319 int arg4
= (int) -1 ;
25320 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25321 wxTreeItemId result
;
25322 bool temp2
= False
;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 PyObject
* obj2
= 0 ;
25326 PyObject
* obj3
= 0 ;
25327 PyObject
* obj4
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25335 arg2
= wxString_in_helper(obj1
);
25336 if (arg2
== NULL
) SWIG_fail
;
25341 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25347 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25352 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
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);
25380 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25383 wxTreeItemId
*arg2
= 0 ;
25384 wxString
*arg3
= 0 ;
25385 int arg4
= (int) -1 ;
25386 int arg5
= (int) -1 ;
25387 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25388 wxTreeItemId result
;
25389 bool temp3
= False
;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 PyObject
* obj2
= 0 ;
25393 PyObject
* obj3
= 0 ;
25394 PyObject
* obj4
= 0 ;
25395 PyObject
* obj5
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25403 if (arg2
== NULL
) {
25404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25407 arg3
= wxString_in_helper(obj2
);
25408 if (arg3
== NULL
) SWIG_fail
;
25413 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25419 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25424 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25434 wxTreeItemId
* resultptr
;
25435 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25436 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25452 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25455 wxTreeItemId
*arg2
= 0 ;
25456 wxTreeItemId
*arg3
= 0 ;
25457 wxString
*arg4
= 0 ;
25458 int arg5
= (int) -1 ;
25459 int arg6
= (int) -1 ;
25460 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25461 wxTreeItemId result
;
25462 bool temp4
= False
;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 PyObject
* obj2
= 0 ;
25466 PyObject
* obj3
= 0 ;
25467 PyObject
* obj4
= 0 ;
25468 PyObject
* obj5
= 0 ;
25469 PyObject
* obj6
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25477 if (arg2
== NULL
) {
25478 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25480 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25481 if (arg3
== NULL
) {
25482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25485 arg4
= wxString_in_helper(obj3
);
25486 if (arg4
== NULL
) SWIG_fail
;
25491 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25497 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25502 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25512 wxTreeItemId
* resultptr
;
25513 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25514 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25530 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25533 wxTreeItemId
*arg2
= 0 ;
25535 wxString
*arg4
= 0 ;
25536 int arg5
= (int) -1 ;
25537 int arg6
= (int) -1 ;
25538 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25539 wxTreeItemId result
;
25540 bool temp4
= False
;
25541 PyObject
* obj0
= 0 ;
25542 PyObject
* obj1
= 0 ;
25543 PyObject
* obj2
= 0 ;
25544 PyObject
* obj3
= 0 ;
25545 PyObject
* obj4
= 0 ;
25546 PyObject
* obj5
= 0 ;
25547 PyObject
* obj6
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25555 if (arg2
== NULL
) {
25556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25559 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 arg4
= wxString_in_helper(obj3
);
25564 if (arg4
== NULL
) SWIG_fail
;
25569 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25575 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25580 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25590 wxTreeItemId
* resultptr
;
25591 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25608 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25611 wxTreeItemId
*arg2
= 0 ;
25612 wxString
*arg3
= 0 ;
25613 int arg4
= (int) -1 ;
25614 int arg5
= (int) -1 ;
25615 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25616 wxTreeItemId result
;
25617 bool temp3
= False
;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 PyObject
* obj2
= 0 ;
25621 PyObject
* obj3
= 0 ;
25622 PyObject
* obj4
= 0 ;
25623 PyObject
* obj5
= 0 ;
25624 char *kwnames
[] = {
25625 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25631 if (arg2
== NULL
) {
25632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25635 arg3
= wxString_in_helper(obj2
);
25636 if (arg3
== NULL
) SWIG_fail
;
25641 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25647 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25652 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25662 wxTreeItemId
* resultptr
;
25663 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25664 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25680 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25682 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25683 wxTreeItemId
*arg2
= 0 ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "item", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25693 if (arg2
== NULL
) {
25694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 Py_INCREF(Py_None
); resultobj
= Py_None
;
25710 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25713 wxTreeItemId
*arg2
= 0 ;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj1
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self",(char *) "item", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25723 if (arg2
== NULL
) {
25724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 Py_INCREF(Py_None
); resultobj
= Py_None
;
25740 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 (arg1
)->DeleteAllItems();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 Py_INCREF(Py_None
); resultobj
= Py_None
;
25764 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
;
25766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25767 wxTreeItemId
*arg2
= 0 ;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self",(char *) "item", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25777 if (arg2
== NULL
) {
25778 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 Py_INCREF(Py_None
); resultobj
= Py_None
;
25794 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25797 wxTreeItemId
*arg2
= 0 ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "item", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25807 if (arg2
== NULL
) {
25808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 Py_INCREF(Py_None
); resultobj
= Py_None
;
25824 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25827 wxTreeItemId
*arg2
= 0 ;
25828 PyObject
* obj0
= 0 ;
25829 PyObject
* obj1
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self",(char *) "item", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25837 if (arg2
== NULL
) {
25838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 Py_INCREF(Py_None
); resultobj
= Py_None
;
25854 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25857 wxTreeItemId
*arg2
= 0 ;
25858 PyObject
* obj0
= 0 ;
25859 PyObject
* obj1
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self",(char *) "item", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25867 if (arg2
== NULL
) {
25868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 Py_INCREF(Py_None
); resultobj
= Py_None
;
25884 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 (arg1
)->Unselect();
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 Py_INCREF(Py_None
); resultobj
= Py_None
;
25908 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
;
25910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25911 wxTreeItemId
*arg2
= 0 ;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "item", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25921 if (arg2
== NULL
) {
25922 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 Py_INCREF(Py_None
); resultobj
= Py_None
;
25938 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25941 PyObject
* obj0
= 0 ;
25942 char *kwnames
[] = {
25943 (char *) "self", NULL
25946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->UnselectAll();
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25962 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25965 wxTreeItemId
*arg2
= 0 ;
25966 bool arg3
= (bool) True
;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 PyObject
* obj2
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self",(char *) "item",(char *) "select", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25977 if (arg2
== NULL
) {
25978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25982 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 Py_INCREF(Py_None
); resultobj
= Py_None
;
26000 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26003 wxTreeItemId
*arg2
= 0 ;
26004 PyObject
* obj0
= 0 ;
26005 PyObject
* obj1
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self",(char *) "item", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26012 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26013 if (arg2
== NULL
) {
26014 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 Py_INCREF(Py_None
); resultobj
= Py_None
;
26030 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
;
26032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26033 wxTreeItemId
*arg2
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "item", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26043 if (arg2
== NULL
) {
26044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 Py_INCREF(Py_None
); resultobj
= Py_None
;
26060 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26063 wxTreeItemId
*arg2
= 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "item", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26073 if (arg2
== NULL
) {
26074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 Py_INCREF(Py_None
); resultobj
= Py_None
;
26090 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26093 wxTreeItemId
*arg2
= 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self",(char *) "item", NULL
26100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26103 if (arg2
== NULL
) {
26104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 Py_INCREF(Py_None
); resultobj
= Py_None
;
26120 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26123 wxTextCtrl
*result
;
26124 PyObject
* obj0
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= wxPyMake_wxObject(result
);
26147 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26150 wxTreeItemId
*arg2
= 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "item", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26160 if (arg2
== NULL
) {
26161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 Py_INCREF(Py_None
); resultobj
= Py_None
;
26177 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26180 wxPoint
*arg2
= 0 ;
26182 wxTreeItemId result
;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self",(char *) "point", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26206 wxTreeItemId
* resultptr
;
26207 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26208 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26211 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26212 resultobj
= t_output_helper(resultobj
,o
);
26220 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26223 wxTreeItemId
*arg2
= 0 ;
26224 bool arg3
= (bool) False
;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 PyObject
* obj2
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26236 if (arg2
== NULL
) {
26237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26241 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= result
;
26259 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26264 return Py_BuildValue((char *)"");
26266 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26267 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26272 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26277 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26279 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26286 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxWindow
*arg1
= (wxWindow
*) 0 ;
26289 int arg2
= (int) (int)-1 ;
26290 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26291 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26296 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26297 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26298 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26299 int arg8
= (int) 0 ;
26300 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26301 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26302 wxGenericDirCtrl
*result
;
26303 bool temp3
= False
;
26306 bool temp7
= False
;
26307 bool temp9
= False
;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 PyObject
* obj3
= 0 ;
26312 PyObject
* obj4
= 0 ;
26313 PyObject
* obj5
= 0 ;
26314 PyObject
* obj6
= 0 ;
26315 PyObject
* obj7
= 0 ;
26316 PyObject
* obj8
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26325 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26331 arg3
= wxString_in_helper(obj2
);
26332 if (arg3
== NULL
) SWIG_fail
;
26339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26350 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26356 arg7
= wxString_in_helper(obj6
);
26357 if (arg7
== NULL
) SWIG_fail
;
26363 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26369 arg9
= wxString_in_helper(obj8
);
26370 if (arg9
== NULL
) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26412 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxGenericDirCtrl
*result
;
26415 char *kwnames
[] = {
26419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26434 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26437 wxWindow
*arg2
= (wxWindow
*) 0 ;
26438 int arg3
= (int) (int)-1 ;
26439 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26440 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26441 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26442 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26443 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26444 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26445 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26446 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26447 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26448 int arg9
= (int) 0 ;
26449 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26450 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26452 bool temp4
= False
;
26455 bool temp8
= False
;
26456 bool temp10
= False
;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 PyObject
* obj2
= 0 ;
26460 PyObject
* obj3
= 0 ;
26461 PyObject
* obj4
= 0 ;
26462 PyObject
* obj5
= 0 ;
26463 PyObject
* obj6
= 0 ;
26464 PyObject
* obj7
= 0 ;
26465 PyObject
* obj8
= 0 ;
26466 PyObject
* obj9
= 0 ;
26467 char *kwnames
[] = {
26468 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26476 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26482 arg4
= wxString_in_helper(obj3
);
26483 if (arg4
== NULL
) SWIG_fail
;
26490 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26496 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26501 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26507 arg8
= wxString_in_helper(obj7
);
26508 if (arg8
== NULL
) SWIG_fail
;
26514 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26520 arg10
= wxString_in_helper(obj9
);
26521 if (arg10
== NULL
) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26563 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26566 wxString
*arg2
= 0 ;
26568 bool temp2
= False
;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 char *kwnames
[] = {
26572 (char *) "self",(char *) "path", NULL
26575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26578 arg2
= wxString_in_helper(obj1
);
26579 if (arg2
== NULL
) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26604 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26635 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26636 PyObject
*resultobj
;
26637 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26638 wxString
*arg2
= 0 ;
26639 bool temp2
= False
;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "path", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26649 arg2
= wxString_in_helper(obj1
);
26650 if (arg2
== NULL
) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 Py_INCREF(Py_None
); resultobj
= Py_None
;
26675 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
;
26677 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26706 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
;
26708 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26737 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26740 wxString
*arg2
= 0 ;
26741 bool temp2
= False
;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self",(char *) "path", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26751 arg2
= wxString_in_helper(obj1
);
26752 if (arg2
== NULL
) SWIG_fail
;
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 (arg1
)->SetPath((wxString
const &)*arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 Py_INCREF(Py_None
); resultobj
= Py_None
;
26777 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
;
26779 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self",(char *) "show", NULL
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26790 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 (arg1
)->ShowHidden(arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 Py_INCREF(Py_None
); resultobj
= Py_None
;
26807 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26811 PyObject
* obj0
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (bool)(arg1
)->GetShowHidden();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26832 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26863 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26866 wxString
*arg2
= 0 ;
26867 bool temp2
= False
;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "filter", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26877 arg2
= wxString_in_helper(obj1
);
26878 if (arg2
== NULL
) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 (arg1
)->SetFilter((wxString
const &)*arg2
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 Py_INCREF(Py_None
); resultobj
= Py_None
;
26903 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= SWIG_PyObj_FromInt((int)result
);
26928 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
;
26930 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26932 PyObject
* obj0
= 0 ;
26933 PyObject
* obj1
= 0 ;
26934 char *kwnames
[] = {
26935 (char *) "self",(char *) "n", NULL
26938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 (arg1
)->SetFilterIndex(arg2
);
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 Py_INCREF(Py_None
); resultobj
= Py_None
;
26958 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26961 wxTreeItemId result
;
26962 PyObject
* obj0
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (arg1
)->GetRootId();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 wxTreeItemId
* resultptr
;
26978 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26987 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26990 wxPyTreeCtrl
*result
;
26991 PyObject
* obj0
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= wxPyMake_wxObject(result
);
27014 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27017 wxDirFilterListCtrl
*result
;
27018 PyObject
* obj0
= 0 ;
27019 char *kwnames
[] = {
27020 (char *) "self", NULL
27023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27039 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27042 wxTreeItemId arg2
;
27043 wxString
*arg3
= 0 ;
27045 wxTreeItemId result
;
27046 wxTreeItemId
*argp2
;
27047 bool temp3
= False
;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 PyObject
* obj2
= 0 ;
27052 char *kwnames
[] = {
27053 (char *) "self",(char *) "parentId",(char *) "path", NULL
27057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27059 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27062 arg3
= wxString_in_helper(obj2
);
27063 if (arg3
== NULL
) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27074 wxTreeItemId
* resultptr
;
27075 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27076 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27079 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27080 resultobj
= t_output_helper(resultobj
,o
);
27096 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 (arg1
)->DoResize();
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 Py_INCREF(Py_None
); resultobj
= Py_None
;
27120 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 (arg1
)->ReCreateTree();
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27137 Py_INCREF(Py_None
); resultobj
= Py_None
;
27144 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27147 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27149 return Py_BuildValue((char *)"");
27151 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27154 int arg2
= (int) (int)-1 ;
27155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27159 long arg5
= (long) 0 ;
27160 wxDirFilterListCtrl
*result
;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 PyObject
* obj2
= 0 ;
27166 PyObject
* obj3
= 0 ;
27167 PyObject
* obj4
= 0 ;
27168 char *kwnames
[] = {
27169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27176 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27194 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27212 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxDirFilterListCtrl
*result
;
27215 char *kwnames
[] = {
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27234 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27237 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27238 int arg3
= (int) (int)-1 ;
27239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27243 long arg6
= (long) 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 PyObject
* obj2
= 0 ;
27250 PyObject
* obj3
= 0 ;
27251 PyObject
* obj4
= 0 ;
27252 PyObject
* obj5
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27262 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27280 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27298 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27301 wxString
*arg2
= 0 ;
27303 bool temp2
= False
;
27304 PyObject
* obj0
= 0 ;
27305 PyObject
* obj1
= 0 ;
27306 PyObject
* obj2
= 0 ;
27307 char *kwnames
[] = {
27308 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27314 arg2
= wxString_in_helper(obj1
);
27315 if (arg2
== NULL
) SWIG_fail
;
27319 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 Py_INCREF(Py_None
); resultobj
= Py_None
;
27344 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27347 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27349 return Py_BuildValue((char *)"");
27351 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27352 PyObject
*resultobj
;
27353 wxWindow
*arg1
= (wxWindow
*) 0 ;
27355 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27356 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27357 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27358 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27359 long arg5
= (long) 0 ;
27360 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27361 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27362 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27363 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27364 wxPyControl
*result
;
27367 bool temp7
= False
;
27368 PyObject
* obj0
= 0 ;
27369 PyObject
* obj1
= 0 ;
27370 PyObject
* obj2
= 0 ;
27371 PyObject
* obj3
= 0 ;
27372 PyObject
* obj4
= 0 ;
27373 PyObject
* obj5
= 0 ;
27374 PyObject
* obj6
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27382 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27394 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27399 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27404 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27405 if (arg6
== NULL
) {
27406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27411 arg7
= wxString_in_helper(obj6
);
27412 if (arg7
== NULL
) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27438 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27441 PyObject
*arg2
= (PyObject
*) 0 ;
27442 PyObject
*arg3
= (PyObject
*) 0 ;
27443 PyObject
* obj0
= 0 ;
27444 PyObject
* obj1
= 0 ;
27445 PyObject
* obj2
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "self",(char *) "_class", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 Py_INCREF(Py_None
); resultobj
= Py_None
;
27468 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 PyObject
* obj2
= 0 ;
27478 PyObject
* obj3
= 0 ;
27479 PyObject
* obj4
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27491 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27495 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27499 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 Py_INCREF(Py_None
); resultobj
= Py_None
;
27516 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27523 int arg6
= (int) wxSIZE_AUTO
;
27524 PyObject
* obj0
= 0 ;
27525 PyObject
* obj1
= 0 ;
27526 PyObject
* obj2
= 0 ;
27527 PyObject
* obj3
= 0 ;
27528 PyObject
* obj4
= 0 ;
27529 PyObject
* obj5
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27537 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27541 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27545 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27549 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27554 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 Py_INCREF(Py_None
); resultobj
= Py_None
;
27572 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 PyObject
* obj2
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "width",(char *) "height", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27587 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27591 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 Py_INCREF(Py_None
); resultobj
= Py_None
;
27608 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
;
27610 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27613 PyObject
* obj0
= 0 ;
27614 PyObject
* obj1
= 0 ;
27615 PyObject
* obj2
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self",(char *) "x",(char *) "y", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27623 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 Py_INCREF(Py_None
); resultobj
= Py_None
;
27644 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27647 int *arg2
= (int *) 0 ;
27648 int *arg3
= (int *) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 Py_INCREF(Py_None
); resultobj
= Py_None
;
27669 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27670 resultobj
= t_output_helper(resultobj
,o
);
27673 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27674 resultobj
= t_output_helper(resultobj
,o
);
27682 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
;
27684 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27685 int *arg2
= (int *) 0 ;
27686 int *arg3
= (int *) 0 ;
27689 PyObject
* obj0
= 0 ;
27690 char *kwnames
[] = {
27691 (char *) "self", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27705 Py_INCREF(Py_None
); resultobj
= Py_None
;
27707 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27708 resultobj
= t_output_helper(resultobj
,o
);
27711 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27712 resultobj
= t_output_helper(resultobj
,o
);
27720 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
;
27722 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27723 int *arg2
= (int *) 0 ;
27724 int *arg3
= (int *) 0 ;
27727 PyObject
* obj0
= 0 ;
27728 char *kwnames
[] = {
27729 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27743 Py_INCREF(Py_None
); resultobj
= Py_None
;
27745 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27746 resultobj
= t_output_helper(resultobj
,o
);
27749 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27750 resultobj
= t_output_helper(resultobj
,o
);
27758 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27762 PyObject
* obj0
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27777 wxSize
* resultptr
;
27778 resultptr
= new wxSize((wxSize
&) result
);
27779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27787 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "self", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27806 wxSize
* resultptr
;
27807 resultptr
= new wxSize((wxSize
&) result
);
27808 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27816 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
;
27818 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27819 PyObject
* obj0
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->base_InitDialog();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 Py_INCREF(Py_None
); resultobj
= Py_None
;
27840 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 result
= (bool)(arg1
)->base_TransferDataToWindow();
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27865 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
;
27867 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 char *kwnames
[] = {
27871 (char *) "self", NULL
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27890 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27894 PyObject
* obj0
= 0 ;
27895 char *kwnames
[] = {
27896 (char *) "self", NULL
27899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (bool)(arg1
)->base_Validate();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27915 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27940 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27944 PyObject
* obj0
= 0 ;
27945 char *kwnames
[] = {
27946 (char *) "self", NULL
27949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27965 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27969 PyObject
* obj0
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 wxSize
* resultptr
;
27985 resultptr
= new wxSize((wxSize
&) result
);
27986 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27994 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
;
27996 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27997 wxWindow
*arg2
= (wxWindow
*) 0 ;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self",(char *) "child", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 (arg1
)->base_AddChild(arg2
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 Py_INCREF(Py_None
); resultobj
= Py_None
;
28021 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28024 wxWindow
*arg2
= (wxWindow
*) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 PyObject
* obj1
= 0 ;
28027 char *kwnames
[] = {
28028 (char *) "self",(char *) "child", NULL
28031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 (arg1
)->base_RemoveChild(arg2
);
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 Py_INCREF(Py_None
); resultobj
= Py_None
;
28048 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28051 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28053 return Py_BuildValue((char *)"");
28055 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
;
28057 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28058 int arg2
= (int) 0 ;
28059 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28060 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28061 wxHelpEvent
*result
;
28063 PyObject
* obj0
= 0 ;
28064 PyObject
* obj1
= 0 ;
28065 PyObject
* obj2
= 0 ;
28066 char *kwnames
[] = {
28067 (char *) "type",(char *) "winid",(char *) "pt", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28073 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
28103 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28107 PyObject
* obj0
= 0 ;
28108 char *kwnames
[] = {
28109 (char *) "self", NULL
28112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28118 result
= (wxPoint
*) &_result_ref
;
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28131 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28134 wxPoint
*arg2
= 0 ;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self",(char *) "pos", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 Py_INCREF(Py_None
); resultobj
= Py_None
;
28162 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28177 result
= (wxString
*) &_result_ref
;
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28187 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28196 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28199 wxString
*arg2
= 0 ;
28200 bool temp2
= False
;
28201 PyObject
* obj0
= 0 ;
28202 PyObject
* obj1
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self",(char *) "link", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28210 arg2
= wxString_in_helper(obj1
);
28211 if (arg2
== NULL
) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->SetLink((wxString
const &)*arg2
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 Py_INCREF(Py_None
); resultobj
= Py_None
;
28236 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28240 PyObject
* obj0
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28251 result
= (wxString
*) &_result_ref
;
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28261 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28270 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
;
28272 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28273 wxString
*arg2
= 0 ;
28274 bool temp2
= False
;
28275 PyObject
* obj0
= 0 ;
28276 PyObject
* obj1
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self",(char *) "target", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28284 arg2
= wxString_in_helper(obj1
);
28285 if (arg2
== NULL
) SWIG_fail
;
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 (arg1
)->SetTarget((wxString
const &)*arg2
);
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 Py_INCREF(Py_None
); resultobj
= Py_None
;
28310 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28313 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28315 return Py_BuildValue((char *)"");
28317 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28318 PyObject
*resultobj
;
28319 wxWindow
*arg1
= (wxWindow
*) NULL
;
28320 bool arg2
= (bool) True
;
28321 wxContextHelp
*result
;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "window",(char *) "doNow", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28334 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28352 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28355 PyObject
* obj0
= 0 ;
28356 char *kwnames
[] = {
28357 (char *) "self", NULL
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 Py_INCREF(Py_None
); resultobj
= Py_None
;
28376 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28379 wxWindow
*arg2
= (wxWindow
*) NULL
;
28381 PyObject
* obj0
= 0 ;
28382 PyObject
* obj1
= 0 ;
28383 char *kwnames
[] = {
28384 (char *) "self",(char *) "window", NULL
28387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28396 wxPyEndAllowThreads(__tstate
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28406 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28410 PyObject
* obj0
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (bool)(arg1
)->EndContextHelp();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28431 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28434 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28436 return Py_BuildValue((char *)"");
28438 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxWindow
*arg1
= (wxWindow
*) 0 ;
28441 int arg2
= (int) wxID_CONTEXT_HELP
;
28442 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28443 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28444 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28445 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28446 long arg5
= (long) wxBU_AUTODRAW
;
28447 wxContextHelpButton
*result
;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 PyObject
* obj2
= 0 ;
28453 PyObject
* obj3
= 0 ;
28454 PyObject
* obj4
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28481 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28499 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28502 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28504 return Py_BuildValue((char *)"");
28506 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28509 wxHelpProvider
*result
;
28510 PyObject
* obj0
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "helpProvider", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28531 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
;
28533 wxHelpProvider
*result
;
28534 char *kwnames
[] = {
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28553 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
;
28555 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28556 wxWindow
*arg2
= (wxWindow
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 PyObject
* obj1
= 0 ;
28560 char *kwnames
[] = {
28561 (char *) "self",(char *) "window", NULL
28564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28569 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28571 wxPyEndAllowThreads(__tstate
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28587 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28590 wxWindow
*arg2
= (wxWindow
*) 0 ;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 char *kwnames
[] = {
28595 (char *) "self",(char *) "window", NULL
28598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28603 result
= (bool)(arg1
)->ShowHelp(arg2
);
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28615 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
;
28617 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28618 wxWindow
*arg2
= (wxWindow
*) 0 ;
28619 wxString
*arg3
= 0 ;
28620 bool temp3
= False
;
28621 PyObject
* obj0
= 0 ;
28622 PyObject
* obj1
= 0 ;
28623 PyObject
* obj2
= 0 ;
28624 char *kwnames
[] = {
28625 (char *) "self",(char *) "window",(char *) "text", NULL
28628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28632 arg3
= wxString_in_helper(obj2
);
28633 if (arg3
== NULL
) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 Py_INCREF(Py_None
); resultobj
= Py_None
;
28658 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28662 wxString
*arg3
= 0 ;
28663 bool temp3
= False
;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 PyObject
* obj2
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self",(char *) "id",(char *) "text", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28674 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28678 arg3
= wxString_in_helper(obj2
);
28679 if (arg3
== NULL
) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 Py_INCREF(Py_None
); resultobj
= Py_None
;
28704 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 wxHelpProvider_Destroy(arg1
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 Py_INCREF(Py_None
); resultobj
= Py_None
;
28728 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28731 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28733 return Py_BuildValue((char *)"");
28735 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
;
28737 wxSimpleHelpProvider
*result
;
28738 char *kwnames
[] = {
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28757 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28760 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28762 return Py_BuildValue((char *)"");
28764 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
;
28766 wxBitmap
*arg1
= 0 ;
28767 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28768 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28769 wxGenericDragImage
*result
;
28770 PyObject
* obj0
= 0 ;
28771 PyObject
* obj1
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "image",(char *) "cursor", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28778 if (arg1
== NULL
) {
28779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28783 if (arg2
== NULL
) {
28784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28801 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
;
28804 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28805 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28806 wxGenericDragImage
*result
;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 char *kwnames
[] = {
28810 (char *) "image",(char *) "cursor", NULL
28813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28815 if (arg1
== NULL
) {
28816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28820 if (arg2
== NULL
) {
28821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28828 wxPyEndAllowThreads(__tstate
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28838 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
;
28840 wxString
*arg1
= 0 ;
28841 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28842 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28843 wxGenericDragImage
*result
;
28844 bool temp1
= False
;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 char *kwnames
[] = {
28848 (char *) "str",(char *) "cursor", NULL
28851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28853 arg1
= wxString_in_helper(obj0
);
28854 if (arg1
== NULL
) SWIG_fail
;
28858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28859 if (arg2
== NULL
) {
28860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28885 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxPyTreeCtrl
*arg1
= 0 ;
28888 wxTreeItemId
*arg2
= 0 ;
28889 wxGenericDragImage
*result
;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "treeCtrl",(char *) "id", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28898 if (arg1
== NULL
) {
28899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28902 if (arg2
== NULL
) {
28903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28909 wxPyEndAllowThreads(__tstate
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28919 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
;
28921 wxPyListCtrl
*arg1
= 0 ;
28923 wxGenericDragImage
*result
;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 char *kwnames
[] = {
28927 (char *) "listCtrl",(char *) "id", NULL
28930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28932 if (arg1
== NULL
) {
28933 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28936 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28953 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
;
28955 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28956 PyObject
* obj0
= 0 ;
28957 char *kwnames
[] = {
28958 (char *) "self", NULL
28961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 Py_INCREF(Py_None
); resultobj
= Py_None
;
28977 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28980 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "self",(char *) "bitmap", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 (arg1
)->SetBackingBitmap(arg2
);
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 Py_INCREF(Py_None
); resultobj
= Py_None
;
29004 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29007 wxPoint
*arg2
= 0 ;
29008 wxWindow
*arg3
= (wxWindow
*) 0 ;
29009 bool arg4
= (bool) False
;
29010 wxRect
*arg5
= (wxRect
*) NULL
;
29013 PyObject
* obj0
= 0 ;
29014 PyObject
* obj1
= 0 ;
29015 PyObject
* obj2
= 0 ;
29016 PyObject
* obj3
= 0 ;
29017 PyObject
* obj4
= 0 ;
29018 char *kwnames
[] = {
29019 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29028 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29031 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29036 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29052 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
;
29054 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29055 wxPoint
*arg2
= 0 ;
29056 wxWindow
*arg3
= (wxWindow
*) 0 ;
29057 wxWindow
*arg4
= (wxWindow
*) 0 ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 PyObject
* obj2
= 0 ;
29063 PyObject
* obj3
= 0 ;
29064 char *kwnames
[] = {
29065 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29074 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29075 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29090 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 result
= (bool)(arg1
)->EndDrag();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29115 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
;
29117 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29118 wxPoint
*arg2
= 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self",(char *) "pt", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29131 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29147 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29151 PyObject
* obj0
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (bool)(arg1
)->Show();
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29172 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "self", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (bool)(arg1
)->Hide();
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29197 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29198 PyObject
*resultobj
;
29199 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29200 wxPoint
*arg2
= 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char *kwnames
[] = {
29206 (char *) "self",(char *) "pos", NULL
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29223 wxRect
* resultptr
;
29224 resultptr
= new wxRect((wxRect
&) result
);
29225 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29233 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29237 wxPoint
*arg3
= 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 PyObject
* obj2
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self",(char *) "dc",(char *) "pos", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29250 if (arg2
== NULL
) {
29251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29271 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29275 wxMemoryDC
*arg3
= 0 ;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 PyObject
* obj2
= 0 ;
29284 PyObject
* obj3
= 0 ;
29285 PyObject
* obj4
= 0 ;
29286 char *kwnames
[] = {
29287 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29293 if (arg2
== NULL
) {
29294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29296 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29297 if (arg3
== NULL
) {
29298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29302 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29306 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29322 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29325 wxPoint
*arg2
= 0 ;
29326 wxPoint
*arg3
= 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 PyObject
* obj2
= 0 ;
29335 PyObject
* obj3
= 0 ;
29336 PyObject
* obj4
= 0 ;
29337 char *kwnames
[] = {
29338 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29352 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29356 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29361 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29373 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29376 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29378 return Py_BuildValue((char *)"");
29380 static PyMethodDef SwigMethods
[] = {
29381 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29387 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29394 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29398 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29402 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29404 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29408 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29413 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29422 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29440 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29453 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29457 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29463 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29467 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29474 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29496 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29497 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29505 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29506 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29535 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29589 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29594 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29605 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29617 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29628 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29632 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29649 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29655 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29680 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29687 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29707 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29713 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29722 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29724 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29729 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29731 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29736 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29741 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29771 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29816 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29821 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29833 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29885 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29912 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29965 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29981 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29993 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30001 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30008 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30024 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30098 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30120 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30125 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30146 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30154 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30159 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30161 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30169 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30171 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30193 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30195 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30196 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30198 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30199 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30201 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30202 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30204 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30205 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30207 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30208 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30210 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30211 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30213 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30214 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30216 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30217 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30219 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30220 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30222 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30223 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30225 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30226 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30228 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30229 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30231 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30232 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30234 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30235 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30237 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30238 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30240 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30241 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30243 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30244 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30246 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30247 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30249 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30250 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30252 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30255 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30256 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30258 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30259 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30261 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30264 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30265 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30267 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30268 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30270 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30271 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30273 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30276 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30277 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30279 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30282 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30283 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30285 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30286 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30288 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30289 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30291 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30292 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30294 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30295 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30297 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30298 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30300 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30301 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30303 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30304 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30306 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30307 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30309 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30310 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30312 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30313 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30315 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30316 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30318 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30319 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30321 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30322 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30324 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30325 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30327 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30328 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30330 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30331 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30333 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30334 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30336 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30339 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30340 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30342 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30343 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30345 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30346 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30348 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30349 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30351 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30352 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30354 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30355 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30357 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30358 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30360 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30361 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30363 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30364 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30366 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30367 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30369 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30370 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30372 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30373 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30375 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30376 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30378 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30379 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30381 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30382 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30384 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30385 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30387 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30388 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30390 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30391 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30393 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30394 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30396 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30397 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30399 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30400 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30402 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30403 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30405 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30406 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30408 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30409 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30411 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30412 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30414 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30415 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30417 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30418 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30420 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30421 return (void *)((wxControl
*) ((wxGauge
*) x
));
30423 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30424 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30426 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30427 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30429 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30430 return (void *)((wxControl
*) ((wxButton
*) x
));
30432 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30433 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30435 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30436 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30438 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30439 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30441 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30442 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30444 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30445 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30447 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30448 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30450 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30451 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30453 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30454 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30456 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30457 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30459 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30460 return (void *)((wxControl
*) ((wxSlider
*) x
));
30462 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30463 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30465 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30466 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30468 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30469 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30471 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30472 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30474 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30475 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30477 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30478 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30480 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30481 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30483 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30484 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30486 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30487 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30489 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30490 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30492 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30493 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30495 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30496 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30498 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30501 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30502 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30504 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30505 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30507 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30508 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30510 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30513 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30514 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30516 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30519 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30522 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30523 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30525 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30526 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30528 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30531 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30534 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30537 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30540 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30543 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30544 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30546 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30549 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30552 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30555 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30558 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30561 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30564 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30567 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30570 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30573 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30576 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30579 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30582 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30585 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30588 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30591 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30594 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30597 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30600 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30603 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30606 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30609 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30612 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30615 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30618 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30619 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30621 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30622 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30624 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30625 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30627 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30628 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30630 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30631 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30633 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30634 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30636 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30637 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30639 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30640 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30642 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30643 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30645 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30646 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30648 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30651 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30652 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30654 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30657 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30660 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30661 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30663 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30664 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30666 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30667 return (void *)((wxObject
*) ((wxSizer
*) x
));
30669 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30670 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30672 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30675 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30681 static void *_p_wxEventTo_p_wxObject(void *x
) {
30682 return (void *)((wxObject
*) ((wxEvent
*) x
));
30684 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30685 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30687 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30688 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30690 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30691 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30693 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30696 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30699 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30702 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30703 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30705 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30706 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30708 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30709 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30711 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30712 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30714 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30715 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30717 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30718 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30720 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30723 static void *_p_wxControlTo_p_wxObject(void *x
) {
30724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30726 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30729 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30732 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30735 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30738 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30741 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30742 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30744 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30747 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30748 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30750 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30751 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30753 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30756 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30759 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30762 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30763 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30765 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30768 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30771 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30772 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30774 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30777 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30780 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30781 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30783 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30784 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30786 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30789 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30790 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30792 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30793 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30795 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30796 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30798 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30799 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30801 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30802 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30804 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30805 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30807 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30810 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30811 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30813 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30816 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30819 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30822 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30823 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30825 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30826 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30828 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30831 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30832 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30834 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30835 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30837 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30838 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30840 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30841 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30843 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30844 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30846 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30847 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30849 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30850 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30852 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30853 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30855 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30858 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30861 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30864 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30867 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30870 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30873 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30876 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30877 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30879 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30882 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30885 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30888 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30891 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30892 return (void *)((wxObject
*) ((wxListItem
*) x
));
30894 static void *_p_wxImageTo_p_wxObject(void *x
) {
30895 return (void *)((wxObject
*) ((wxImage
*) x
));
30897 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30898 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30900 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30901 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30903 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30906 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30907 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30909 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30912 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30915 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30918 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30921 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30922 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30924 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30925 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30927 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30928 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30930 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30931 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30933 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30936 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30937 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30939 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30942 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30943 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30945 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30946 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30948 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30949 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30951 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30952 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30954 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30955 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30957 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30960 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30963 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30964 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30966 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30969 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30970 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30972 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30973 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30975 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30978 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30981 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30982 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30984 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30987 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30990 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30991 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30993 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30994 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30996 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30997 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30999 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31000 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31002 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31003 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31005 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31006 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31008 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31009 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31011 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31012 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31014 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31015 return (void *)((wxWindow
*) ((wxControl
*) x
));
31017 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31018 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31020 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31021 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31023 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31024 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31026 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31027 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31029 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31030 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31032 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31033 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31035 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31036 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31038 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31039 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31041 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31042 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31044 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31045 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31047 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31048 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31050 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31051 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31053 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31054 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31056 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31057 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31059 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31060 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31062 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31063 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31065 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31066 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31068 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31069 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31071 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31072 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31074 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31075 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31077 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31078 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31080 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31081 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31083 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31084 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31086 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31087 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31089 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31090 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31092 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31093 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31095 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31096 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31098 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31099 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31101 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31102 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31104 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31105 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31107 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31108 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31110 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31111 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31113 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31114 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31116 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31117 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31119 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31120 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31122 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31123 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31125 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31126 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31128 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31129 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31131 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31132 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31134 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31135 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31137 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31138 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31140 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31141 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31143 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31144 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31146 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31147 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31149 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31150 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31152 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31153 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31155 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31156 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31158 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31159 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31161 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31162 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31164 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31165 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}};
31166 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}};
31167 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31168 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31169 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}};
31170 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31171 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31172 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31173 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}};
31174 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31175 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31176 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31177 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}};
31178 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31179 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31180 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31181 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31182 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31183 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31184 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
31185 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31186 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31187 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31188 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31189 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31190 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31191 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31192 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31193 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31194 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31195 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}};
31196 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31197 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31198 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31199 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31200 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31201 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31202 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31203 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31204 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}};
31205 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31206 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31207 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31208 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}};
31209 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31210 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}};
31211 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31212 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31213 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31214 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31215 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31216 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31217 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31218 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31219 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31220 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31221 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31222 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31223 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31224 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31225 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31226 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31227 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31228 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31229 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31230 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31231 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31232 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}};
31233 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31234 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31235 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}};
31236 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31237 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31238 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31239 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31240 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}};
31241 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31242 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
31243 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31244 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31245 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31246 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31247 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31249 static swig_type_info
*swig_types_initial
[] = {
31250 _swigt__p_wxTextUrlEvent
,
31251 _swigt__p_wxBookCtrlEvent
,
31253 _swigt__p_wxCheckBox
,
31254 _swigt__p_wxPyTreeCtrl
,
31256 _swigt__p_wxGenericDirCtrl
,
31258 _swigt__p_wxPyTreeItemData
,
31259 _swigt__p_wxItemContainer
,
31260 _swigt__p_wxDirFilterListCtrl
,
31261 _swigt__p_wxPyListCtrl
,
31262 _swigt__p_wxStaticLine
,
31263 _swigt__p_wxControl
,
31264 _swigt__p_wxPyControl
,
31266 _swigt__p_wxToolBarBase
,
31268 _swigt__p_wxToggleButton
,
31269 _swigt__p_wxRadioButton
,
31270 _swigt__p_wxChoice
,
31271 _swigt__p_wxMemoryDC
,
31272 _swigt__p_wxListItemAttr
,
31277 _swigt__p_wxListView
,
31279 _swigt__p_wxTextCtrl
,
31280 _swigt__p_wxNotebook
,
31281 _swigt__p_wxNotifyEvent
,
31282 _swigt__p_wxArrayString
,
31283 _swigt__p_wxListbook
,
31284 _swigt__p_wxStaticBitmap
,
31285 _swigt__p_wxSlider
,
31286 _swigt__p_wxStaticBox
,
31287 _swigt__p_wxArrayInt
,
31288 _swigt__p_wxContextHelp
,
31290 _swigt__p_wxEvtHandler
,
31291 _swigt__p_wxListEvent
,
31292 _swigt__p_wxListBox
,
31293 _swigt__p_wxCheckListBox
,
31294 _swigt__p_wxBookCtrl
,
31295 _swigt__p_wxSpinButton
,
31296 _swigt__p_wxButton
,
31297 _swigt__p_wxBitmapButton
,
31299 _swigt__p_wxContextHelpButton
,
31300 _swigt__p_wxRadioBox
,
31301 _swigt__p_wxScrollBar
,
31303 _swigt__p_wxTreeItemId
,
31304 _swigt__p_wxComboBox
,
31305 _swigt__p_wxHelpEvent
,
31306 _swigt__p_wxListItem
,
31307 _swigt__p_wxNotebookSizer
,
31308 _swigt__p_wxSpinEvent
,
31309 _swigt__p_wxGenericDragImage
,
31310 _swigt__p_wxSpinCtrl
,
31311 _swigt__p_wxImageList
,
31312 _swigt__p_wxHelpProvider
,
31313 _swigt__p_wxTextAttr
,
31314 _swigt__p_wxSimpleHelpProvider
,
31316 _swigt__p_wxListbookEvent
,
31317 _swigt__p_wxNotebookEvent
,
31318 _swigt__p_wxObject
,
31319 _swigt__p_wxCursor
,
31320 _swigt__p_wxKeyEvent
,
31321 _swigt__p_wxWindow
,
31322 _swigt__p_wxString
,
31323 _swigt__p_wxBitmap
,
31324 _swigt__p_wxTreeEvent
,
31325 _swigt__p_wxMouseEvent
,
31326 _swigt__p_wxCommandEvent
,
31327 _swigt__p_wxStaticText
,
31328 _swigt__p_wxControlWithItems
,
31329 _swigt__p_wxToolBarToolBase
,
31330 _swigt__p_wxColour
,
31331 _swigt__p_wxToolBar
,
31332 _swigt__p_wxBookCtrlSizer
,
31333 _swigt__p_wxValidator
,
31338 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31340 static swig_const_info swig_const_table
[] = {
31350 SWIGEXPORT(void) SWIG_init(void) {
31351 static PyObject
*SWIG_globals
= 0;
31352 static int typeinit
= 0;
31355 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31356 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31357 d
= PyModule_GetDict(m
);
31360 for (i
= 0; swig_types_initial
[i
]; i
++) {
31361 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31365 SWIG_InstallConstants(d
,swig_const_table
);
31367 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31368 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31369 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31370 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31371 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31372 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31373 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31374 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31375 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31376 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31377 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31378 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31379 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31380 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31381 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31382 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31383 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31384 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31385 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31386 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31387 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31388 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31389 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31390 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31391 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31392 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31393 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31394 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31395 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31396 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31397 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31398 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31399 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31400 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31401 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31402 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31403 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31404 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31405 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31406 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31407 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31408 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31409 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31410 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31411 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31412 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31413 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31414 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31415 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31416 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31417 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31418 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31419 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31420 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31421 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31422 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31423 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31424 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31425 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31426 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31427 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31428 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31429 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31430 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31431 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31432 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31433 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31434 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31435 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31436 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31437 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31438 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31439 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31440 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31441 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31442 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31443 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31444 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31445 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31446 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31447 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31448 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31449 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31450 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31451 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31452 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31453 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31454 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31455 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31456 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31457 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31458 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31459 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31460 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31461 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31462 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31463 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31464 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31465 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31466 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31467 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31468 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31469 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31470 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31471 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31472 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31473 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31474 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31475 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31476 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31477 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31478 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31479 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31480 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31481 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31482 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31483 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31484 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31485 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31486 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31487 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31488 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31489 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31490 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31491 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31492 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31493 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31494 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31495 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31496 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31497 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31498 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31499 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31500 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31501 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31502 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31503 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31504 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31505 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31506 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31507 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31508 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31509 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31510 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31511 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31512 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31513 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31514 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31515 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31516 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31517 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31518 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31519 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31520 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31521 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31522 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31523 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31524 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31525 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31526 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31527 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31528 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31529 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31530 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31531 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31532 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31533 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31534 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31535 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31536 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31537 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31538 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31539 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31540 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31541 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31542 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31543 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31544 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31545 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31546 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31547 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31548 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31549 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31550 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31551 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31552 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31553 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31554 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31555 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31558 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31559 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31560 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31561 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31562 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31563 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31564 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31565 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31566 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31567 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31568 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31569 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31570 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31571 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31572 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31573 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31574 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31575 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31576 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31577 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31579 // Map renamed classes back to their common name for OOR
31580 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31582 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31583 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31584 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31585 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31586 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31587 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31588 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31589 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31590 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31591 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31592 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31593 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31594 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31595 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31596 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31597 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31598 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31599 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31600 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31601 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31602 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31603 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31604 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31605 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31606 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31607 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31608 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31609 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31610 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31611 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31612 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31613 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31614 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31615 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31616 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31617 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31618 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31619 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31620 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31621 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31623 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31624 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31625 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31626 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31627 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31628 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31629 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31630 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31631 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31632 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31633 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31634 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31635 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31636 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31637 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31639 // Map renamed classes back to their common name for OOR
31640 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31641 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31643 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31644 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31645 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31646 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31647 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31648 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31649 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31650 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31651 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31652 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31654 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");