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_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxChoice
*arg1
= (wxChoice
*) 0 ;
2478 PyObject
* obj0
= 0 ;
2479 PyObject
* obj1
= 0 ;
2481 (char *) "self",(char *) "n", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2487 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 (arg1
)->SetSelection(arg2
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 Py_INCREF(Py_None
); resultobj
= Py_None
;
2504 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxChoice
*arg1
= (wxChoice
*) 0 ;
2507 wxString
*arg2
= 0 ;
2508 bool temp2
= False
;
2509 PyObject
* obj0
= 0 ;
2510 PyObject
* obj1
= 0 ;
2512 (char *) "self",(char *) "string", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2518 arg2
= wxString_in_helper(obj1
);
2519 if (arg2
== NULL
) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2544 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxChoice
*arg1
= (wxChoice
*) 0 ;
2548 wxString
*arg3
= 0 ;
2549 bool temp3
= False
;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2552 PyObject
* obj2
= 0 ;
2554 (char *) "self",(char *) "n",(char *) "string", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2560 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2564 arg3
= wxString_in_helper(obj2
);
2565 if (arg3
== NULL
) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2593 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2595 return Py_BuildValue((char *)"");
2597 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2598 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2603 static PyObject
*_wrap_ComboBoxNameStr_get() {
2608 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2610 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2617 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxWindow
*arg1
= (wxWindow
*) 0 ;
2621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2627 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2628 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2629 long arg7
= (long) 0 ;
2630 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2631 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2632 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2633 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2635 bool temp3
= False
;
2638 bool temp6
= False
;
2639 bool temp9
= False
;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2642 PyObject
* obj2
= 0 ;
2643 PyObject
* obj3
= 0 ;
2644 PyObject
* obj4
= 0 ;
2645 PyObject
* obj5
= 0 ;
2646 PyObject
* obj6
= 0 ;
2647 PyObject
* obj7
= 0 ;
2648 PyObject
* obj8
= 0 ;
2650 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2656 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2661 arg3
= wxString_in_helper(obj2
);
2662 if (arg3
== NULL
) SWIG_fail
;
2669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2680 if (! PySequence_Check(obj5
)) {
2681 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2684 arg6
= new wxArrayString
;
2686 int i
, len
=PySequence_Length(obj5
);
2687 for (i
=0; i
<len
; i
++) {
2688 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2690 PyObject
* str
= PyObject_Unicode(item
);
2692 PyObject
* str
= PyObject_Str(item
);
2694 arg6
->Add(Py2wxString(str
));
2702 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2707 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2714 arg9
= wxString_in_helper(obj8
);
2715 if (arg9
== NULL
) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 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
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2732 if (temp6
) delete arg6
;
2745 if (temp6
) delete arg6
;
2755 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 result
= (wxComboBox
*)new wxComboBox();
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2777 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
*resultobj
;
2779 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2780 wxWindow
*arg2
= (wxWindow
*) 0 ;
2782 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2783 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2784 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2785 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2786 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2787 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2788 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2789 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2790 long arg8
= (long) 0 ;
2791 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2792 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2793 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2794 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2796 bool temp4
= False
;
2799 bool temp7
= False
;
2800 bool temp10
= False
;
2801 PyObject
* obj0
= 0 ;
2802 PyObject
* obj1
= 0 ;
2803 PyObject
* obj2
= 0 ;
2804 PyObject
* obj3
= 0 ;
2805 PyObject
* obj4
= 0 ;
2806 PyObject
* obj5
= 0 ;
2807 PyObject
* obj6
= 0 ;
2808 PyObject
* obj7
= 0 ;
2809 PyObject
* obj8
= 0 ;
2810 PyObject
* obj9
= 0 ;
2812 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2824 arg4
= wxString_in_helper(obj3
);
2825 if (arg4
== NULL
) SWIG_fail
;
2832 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2838 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2843 if (! PySequence_Check(obj6
)) {
2844 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2847 arg7
= new wxArrayString
;
2849 int i
, len
=PySequence_Length(obj6
);
2850 for (i
=0; i
<len
; i
++) {
2851 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2853 PyObject
* str
= PyObject_Unicode(item
);
2855 PyObject
* str
= PyObject_Str(item
);
2857 arg7
->Add(Py2wxString(str
));
2865 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2870 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2872 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2877 arg10
= wxString_in_helper(obj9
);
2878 if (arg10
== NULL
) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 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
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2895 if (temp7
) delete arg7
;
2908 if (temp7
) delete arg7
;
2918 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2922 PyObject
* obj0
= 0 ;
2924 (char *) "self", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 result
= ((wxComboBox
const *)arg1
)->GetValue();
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2949 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2952 wxString
*arg2
= 0 ;
2953 bool temp2
= False
;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2957 (char *) "self",(char *) "value", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2963 arg2
= wxString_in_helper(obj1
);
2964 if (arg2
== NULL
) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 (arg1
)->SetValue((wxString
const &)*arg2
);
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2974 Py_INCREF(Py_None
); resultobj
= Py_None
;
2989 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
*resultobj
;
2991 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2994 (char *) "self", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3006 Py_INCREF(Py_None
); resultobj
= Py_None
;
3013 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3018 (char *) "self", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 Py_INCREF(Py_None
); resultobj
= Py_None
;
3037 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3039 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3042 (char *) "self", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3068 (char *) "self",(char *) "pos", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3074 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 (arg1
)->SetInsertionPoint(arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3084 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3095 PyObject
* obj0
= 0 ;
3097 (char *) "self", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= SWIG_PyObj_FromLong((long)result
);
3116 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3122 (char *) "self", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= SWIG_PyObj_FromLong((long)result
);
3141 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3146 wxString
*arg4
= 0 ;
3147 bool temp4
= False
;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3150 PyObject
* obj2
= 0 ;
3151 PyObject
* obj3
= 0 ;
3153 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3159 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3163 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3167 arg4
= wxString_in_helper(obj3
);
3168 if (arg4
== NULL
) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3193 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3198 PyObject
* obj1
= 0 ;
3200 (char *) "self",(char *) "n", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3206 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 (arg1
)->SetSelection(arg2
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3216 Py_INCREF(Py_None
); resultobj
= Py_None
;
3223 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3230 PyObject
* obj2
= 0 ;
3232 (char *) "self",(char *) "from",(char *) "to", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3238 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3242 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 (arg1
)->SetSelection(arg2
,arg3
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3263 PyObject
* obj0
= 0 ;
3264 PyObject
* obj1
= 0 ;
3266 (char *) "self",(char *) "editable", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3272 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 (arg1
)->SetEditable(arg2
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 Py_INCREF(Py_None
); resultobj
= Py_None
;
3289 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3294 (char *) "self", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->SetInsertionPointEnd();
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3318 PyObject
* obj0
= 0 ;
3319 PyObject
* obj1
= 0 ;
3320 PyObject
* obj2
= 0 ;
3322 (char *) "self",(char *) "from",(char *) "to", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3328 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3332 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 (arg1
)->Remove(arg2
,arg3
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3352 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3354 return Py_BuildValue((char *)"");
3356 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3357 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3362 static PyObject
*_wrap_GaugeNameStr_get() {
3367 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3369 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3376 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxWindow
*arg1
= (wxWindow
*) 0 ;
3381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3385 long arg6
= (long) wxGA_HORIZONTAL
;
3386 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3387 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3388 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3389 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3393 bool temp8
= False
;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3396 PyObject
* obj2
= 0 ;
3397 PyObject
* obj3
= 0 ;
3398 PyObject
* obj4
= 0 ;
3399 PyObject
* obj5
= 0 ;
3400 PyObject
* obj6
= 0 ;
3401 PyObject
* obj7
= 0 ;
3403 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3409 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3430 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3435 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3442 arg8
= wxString_in_helper(obj7
);
3443 if (arg8
== NULL
) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3469 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 result
= (wxGauge
*)new wxGauge();
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3491 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxGauge
*arg1
= (wxGauge
*) 0 ;
3494 wxWindow
*arg2
= (wxWindow
*) 0 ;
3497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3501 long arg7
= (long) wxGA_HORIZONTAL
;
3502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3504 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3509 bool temp9
= False
;
3510 PyObject
* obj0
= 0 ;
3511 PyObject
* obj1
= 0 ;
3512 PyObject
* obj2
= 0 ;
3513 PyObject
* obj3
= 0 ;
3514 PyObject
* obj4
= 0 ;
3515 PyObject
* obj5
= 0 ;
3516 PyObject
* obj6
= 0 ;
3517 PyObject
* obj7
= 0 ;
3518 PyObject
* obj8
= 0 ;
3520 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3527 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3531 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3537 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3543 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3548 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3553 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3555 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3560 arg9
= wxString_in_helper(obj8
);
3561 if (arg9
== NULL
) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3587 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxGauge
*arg1
= (wxGauge
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3594 (char *) "self",(char *) "range", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3600 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 (arg1
)->SetRange(arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxGauge
*arg1
= (wxGauge
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3623 (char *) "self", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 resultobj
= SWIG_PyObj_FromInt((int)result
);
3642 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxGauge
*arg1
= (wxGauge
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "pos", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3655 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->SetValue(arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxGauge
*arg1
= (wxGauge
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3678 (char *) "self", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= SWIG_PyObj_FromInt((int)result
);
3697 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxGauge
*arg1
= (wxGauge
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3703 (char *) "self", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3722 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxGauge
*arg1
= (wxGauge
*) 0 ;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3729 (char *) "self",(char *) "w", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->SetShadowWidth(arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxGauge
*arg1
= (wxGauge
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3758 (char *) "self", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 resultobj
= SWIG_PyObj_FromInt((int)result
);
3777 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxGauge
*arg1
= (wxGauge
*) 0 ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3784 (char *) "self",(char *) "w", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3790 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 (arg1
)->SetBezelFace(arg2
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 Py_INCREF(Py_None
); resultobj
= Py_None
;
3807 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxGauge
*arg1
= (wxGauge
*) 0 ;
3811 PyObject
* obj0
= 0 ;
3813 (char *) "self", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_PyObj_FromInt((int)result
);
3832 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3835 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3837 return Py_BuildValue((char *)"");
3839 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3840 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3845 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3850 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3852 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3859 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3860 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3865 static PyObject
*_wrap_StaticBoxNameStr_get() {
3870 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3872 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3879 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3880 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3885 static PyObject
*_wrap_StaticTextNameStr_get() {
3890 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3892 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3899 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxWindow
*arg1
= (wxWindow
*) 0 ;
3903 wxString
*arg3
= 0 ;
3904 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3905 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3906 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3907 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3908 long arg6
= (long) 0 ;
3909 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3910 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3911 wxStaticBox
*result
;
3912 bool temp3
= False
;
3915 bool temp7
= False
;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3918 PyObject
* obj2
= 0 ;
3919 PyObject
* obj3
= 0 ;
3920 PyObject
* obj4
= 0 ;
3921 PyObject
* obj5
= 0 ;
3922 PyObject
* obj6
= 0 ;
3924 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3934 arg3
= wxString_in_helper(obj2
);
3935 if (arg3
== NULL
) SWIG_fail
;
3941 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3947 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3952 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3958 arg7
= wxString_in_helper(obj6
);
3959 if (arg7
== NULL
) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= wxPyMake_wxObject(result
);
3995 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxStaticBox
*result
;
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (wxStaticBox
*)new wxStaticBox();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= wxPyMake_wxObject(result
);
4019 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4022 wxWindow
*arg2
= (wxWindow
*) 0 ;
4024 wxString
*arg4
= 0 ;
4025 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4026 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4027 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4028 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4029 long arg7
= (long) 0 ;
4030 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4031 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4033 bool temp4
= False
;
4036 bool temp8
= False
;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4039 PyObject
* obj2
= 0 ;
4040 PyObject
* obj3
= 0 ;
4041 PyObject
* obj4
= 0 ;
4042 PyObject
* obj5
= 0 ;
4043 PyObject
* obj6
= 0 ;
4044 PyObject
* obj7
= 0 ;
4046 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4053 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4057 arg4
= wxString_in_helper(obj3
);
4058 if (arg4
== NULL
) SWIG_fail
;
4064 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4070 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4075 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4081 arg8
= wxString_in_helper(obj7
);
4082 if (arg8
== NULL
) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4116 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4119 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4121 return Py_BuildValue((char *)"");
4123 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxWindow
*arg1
= (wxWindow
*) 0 ;
4127 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4128 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4129 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4130 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4131 long arg5
= (long) wxLI_HORIZONTAL
;
4132 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4133 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4134 wxStaticLine
*result
;
4137 bool temp6
= False
;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4140 PyObject
* obj2
= 0 ;
4141 PyObject
* obj3
= 0 ;
4142 PyObject
* obj4
= 0 ;
4143 PyObject
* obj5
= 0 ;
4145 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4168 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4174 arg6
= wxString_in_helper(obj5
);
4175 if (arg6
== NULL
) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4201 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxStaticLine
*result
;
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (wxStaticLine
*)new wxStaticLine();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4223 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4226 wxWindow
*arg2
= (wxWindow
*) 0 ;
4228 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4229 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4230 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4231 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4232 long arg6
= (long) wxLI_HORIZONTAL
;
4233 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4234 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4238 bool temp7
= False
;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 PyObject
* obj2
= 0 ;
4242 PyObject
* obj3
= 0 ;
4243 PyObject
* obj4
= 0 ;
4244 PyObject
* obj5
= 0 ;
4245 PyObject
* obj6
= 0 ;
4247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4254 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4260 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4266 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4271 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4277 arg7
= wxString_in_helper(obj6
);
4278 if (arg7
== NULL
) SWIG_fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4304 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "self", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4329 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (int)wxStaticLine::GetDefaultSize();
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= SWIG_PyObj_FromInt((int)result
);
4351 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4354 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4356 return Py_BuildValue((char *)"");
4358 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxWindow
*arg1
= (wxWindow
*) 0 ;
4362 wxString
*arg3
= 0 ;
4363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4367 long arg6
= (long) 0 ;
4368 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4370 wxStaticText
*result
;
4371 bool temp3
= False
;
4374 bool temp7
= False
;
4375 PyObject
* obj0
= 0 ;
4376 PyObject
* obj1
= 0 ;
4377 PyObject
* obj2
= 0 ;
4378 PyObject
* obj3
= 0 ;
4379 PyObject
* obj4
= 0 ;
4380 PyObject
* obj5
= 0 ;
4381 PyObject
* obj6
= 0 ;
4383 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4389 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4393 arg3
= wxString_in_helper(obj2
);
4394 if (arg3
== NULL
) SWIG_fail
;
4400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4411 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4417 arg7
= wxString_in_helper(obj6
);
4418 if (arg7
== NULL
) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4452 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxStaticText
*result
;
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (wxStaticText
*)new wxStaticText();
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4474 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4477 wxWindow
*arg2
= (wxWindow
*) 0 ;
4479 wxString
*arg4
= 0 ;
4480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4484 long arg7
= (long) 0 ;
4485 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4488 bool temp4
= False
;
4491 bool temp8
= False
;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4494 PyObject
* obj2
= 0 ;
4495 PyObject
* obj3
= 0 ;
4496 PyObject
* obj4
= 0 ;
4497 PyObject
* obj5
= 0 ;
4498 PyObject
* obj6
= 0 ;
4499 PyObject
* obj7
= 0 ;
4501 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4508 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4512 arg4
= wxString_in_helper(obj3
);
4513 if (arg4
== NULL
) SWIG_fail
;
4519 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4525 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4530 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4536 arg8
= wxString_in_helper(obj7
);
4537 if (arg8
== NULL
) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4571 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4574 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4576 return Py_BuildValue((char *)"");
4578 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxWindow
*arg1
= (wxWindow
*) 0 ;
4582 wxBitmap
*arg3
= 0 ;
4583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4587 long arg6
= (long) 0 ;
4588 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4590 wxStaticBitmap
*result
;
4593 bool temp7
= False
;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4596 PyObject
* obj2
= 0 ;
4597 PyObject
* obj3
= 0 ;
4598 PyObject
* obj4
= 0 ;
4599 PyObject
* obj5
= 0 ;
4600 PyObject
* obj6
= 0 ;
4602 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4608 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4624 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4629 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4635 arg7
= wxString_in_helper(obj6
);
4636 if (arg7
== NULL
) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4662 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxStaticBitmap
*result
;
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4684 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4687 wxWindow
*arg2
= (wxWindow
*) 0 ;
4689 wxBitmap
*arg4
= 0 ;
4690 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4691 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4692 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4693 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4694 long arg7
= (long) 0 ;
4695 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4696 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4700 bool temp8
= False
;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4703 PyObject
* obj2
= 0 ;
4704 PyObject
* obj3
= 0 ;
4705 PyObject
* obj4
= 0 ;
4706 PyObject
* obj5
= 0 ;
4707 PyObject
* obj6
= 0 ;
4708 PyObject
* obj7
= 0 ;
4710 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4717 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4727 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4733 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4738 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4744 arg8
= wxString_in_helper(obj7
);
4745 if (arg8
== NULL
) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4771 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (arg1
)->GetBitmap();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 wxBitmap
* resultptr
;
4791 resultptr
= new wxBitmap((wxBitmap
&) result
);
4792 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4800 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4803 wxBitmap
*arg2
= 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "bitmap", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 Py_INCREF(Py_None
); resultobj
= Py_None
;
4830 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4834 PyObject
* obj0
= 0 ;
4835 PyObject
* obj1
= 0 ;
4837 (char *) "self",(char *) "icon", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 Py_INCREF(Py_None
); resultobj
= Py_None
;
4860 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4863 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4865 return Py_BuildValue((char *)"");
4867 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4868 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4873 static PyObject
*_wrap_ListBoxNameStr_get() {
4878 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4880 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4887 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxWindow
*arg1
= (wxWindow
*) 0 ;
4891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4893 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4894 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4895 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4896 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4897 long arg6
= (long) 0 ;
4898 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4899 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4900 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4901 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4905 bool temp5
= False
;
4906 bool temp8
= False
;
4907 PyObject
* obj0
= 0 ;
4908 PyObject
* obj1
= 0 ;
4909 PyObject
* obj2
= 0 ;
4910 PyObject
* obj3
= 0 ;
4911 PyObject
* obj4
= 0 ;
4912 PyObject
* obj5
= 0 ;
4913 PyObject
* obj6
= 0 ;
4914 PyObject
* obj7
= 0 ;
4916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4928 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4934 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4939 if (! PySequence_Check(obj4
)) {
4940 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4943 arg5
= new wxArrayString
;
4945 int i
, len
=PySequence_Length(obj4
);
4946 for (i
=0; i
<len
; i
++) {
4947 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4949 PyObject
* str
= PyObject_Unicode(item
);
4951 PyObject
* str
= PyObject_Str(item
);
4953 arg5
->Add(Py2wxString(str
));
4961 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4966 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4973 arg8
= wxString_in_helper(obj7
);
4974 if (arg8
== NULL
) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4987 if (temp5
) delete arg5
;
4996 if (temp5
) delete arg5
;
5006 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (wxListBox
*)new wxListBox();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5028 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxListBox
*arg1
= (wxListBox
*) 0 ;
5031 wxWindow
*arg2
= (wxWindow
*) 0 ;
5033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5037 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5038 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5039 long arg7
= (long) 0 ;
5040 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5041 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5042 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5043 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5047 bool temp6
= False
;
5048 bool temp9
= False
;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5051 PyObject
* obj2
= 0 ;
5052 PyObject
* obj3
= 0 ;
5053 PyObject
* obj4
= 0 ;
5054 PyObject
* obj5
= 0 ;
5055 PyObject
* obj6
= 0 ;
5056 PyObject
* obj7
= 0 ;
5057 PyObject
* obj8
= 0 ;
5059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5066 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5083 if (! PySequence_Check(obj5
)) {
5084 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5087 arg6
= new wxArrayString
;
5089 int i
, len
=PySequence_Length(obj5
);
5090 for (i
=0; i
<len
; i
++) {
5091 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5093 PyObject
* str
= PyObject_Unicode(item
);
5095 PyObject
* str
= PyObject_Str(item
);
5097 arg6
->Add(Py2wxString(str
));
5105 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5110 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5117 arg9
= wxString_in_helper(obj8
);
5118 if (arg9
== NULL
) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5131 if (temp6
) delete arg6
;
5140 if (temp6
) delete arg6
;
5150 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxListBox
*arg1
= (wxListBox
*) 0 ;
5153 wxString
*arg2
= 0 ;
5155 PyObject
*arg4
= (PyObject
*) NULL
;
5156 bool temp2
= False
;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5159 PyObject
* obj2
= 0 ;
5160 PyObject
* obj3
= 0 ;
5162 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 arg2
= wxString_in_helper(obj1
);
5169 if (arg2
== NULL
) SWIG_fail
;
5173 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 Py_INCREF(Py_None
); resultobj
= Py_None
;
5201 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxListBox
*arg1
= (wxListBox
*) 0 ;
5204 wxArrayString
*arg2
= 0 ;
5206 bool temp2
= False
;
5207 PyObject
* obj0
= 0 ;
5208 PyObject
* obj1
= 0 ;
5209 PyObject
* obj2
= 0 ;
5211 (char *) "self",(char *) "items",(char *) "pos", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 if (! PySequence_Check(obj1
)) {
5218 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5221 arg2
= new wxArrayString
;
5223 int i
, len
=PySequence_Length(obj1
);
5224 for (i
=0; i
<len
; i
++) {
5225 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5227 PyObject
* str
= PyObject_Unicode(item
);
5229 PyObject
* str
= PyObject_Str(item
);
5231 arg2
->Add(Py2wxString(str
));
5237 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5249 if (temp2
) delete arg2
;
5254 if (temp2
) delete arg2
;
5260 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxListBox
*arg1
= (wxListBox
*) 0 ;
5263 wxArrayString
*arg2
= 0 ;
5264 bool temp2
= False
;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5268 (char *) "self",(char *) "items", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 (arg1
)->Set((wxArrayString
const &)*arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 Py_INCREF(Py_None
); resultobj
= Py_None
;
5302 if (temp2
) delete arg2
;
5307 if (temp2
) delete arg2
;
5313 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxListBox
*arg1
= (wxListBox
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5321 (char *) "self",(char *) "n", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5327 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5344 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxListBox
*arg1
= (wxListBox
*) 0 ;
5348 bool arg3
= (bool) True
;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5353 (char *) "self",(char *) "n",(char *) "select", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5364 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 (arg1
)->SetSelection(arg2
,arg3
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 Py_INCREF(Py_None
); resultobj
= Py_None
;
5382 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxListBox
*arg1
= (wxListBox
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5389 (char *) "self",(char *) "n", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 (arg1
)->Select(arg2
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 Py_INCREF(Py_None
); resultobj
= Py_None
;
5412 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxListBox
*arg1
= (wxListBox
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5419 (char *) "self",(char *) "n", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->Deselect(arg2
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5442 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxListBox
*arg1
= (wxListBox
*) 0 ;
5445 int arg2
= (int) -1 ;
5446 PyObject
* obj0
= 0 ;
5447 PyObject
* obj1
= 0 ;
5449 (char *) "self",(char *) "itemToLeaveSelected", NULL
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 (arg1
)->DeselectAll(arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 Py_INCREF(Py_None
); resultobj
= Py_None
;
5474 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxListBox
*arg1
= (wxListBox
*) 0 ;
5477 wxString
*arg2
= 0 ;
5478 bool arg3
= (bool) True
;
5480 bool temp2
= False
;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5483 PyObject
* obj2
= 0 ;
5485 (char *) "self",(char *) "s",(char *) "select", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5491 arg2
= wxString_in_helper(obj1
);
5492 if (arg2
== NULL
) SWIG_fail
;
5497 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5523 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxListBox
*arg1
= (wxListBox
*) 0 ;
5527 PyObject
* obj0
= 0 ;
5529 (char *) "self", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5548 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxListBox
*arg1
= (wxListBox
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5555 (char *) "self",(char *) "n", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5561 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->SetFirstItem(arg2
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxListBox
*arg1
= (wxListBox
*) 0 ;
5581 wxString
*arg2
= 0 ;
5582 bool temp2
= False
;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "s", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 arg2
= wxString_in_helper(obj1
);
5593 if (arg2
== NULL
) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 Py_INCREF(Py_None
); resultobj
= Py_None
;
5618 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
;
5620 wxListBox
*arg1
= (wxListBox
*) 0 ;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5625 (char *) "self",(char *) "n", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 (arg1
)->EnsureVisible(arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 Py_INCREF(Py_None
); resultobj
= Py_None
;
5648 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxListBox
*arg1
= (wxListBox
*) 0 ;
5651 wxString
*arg2
= 0 ;
5652 bool temp2
= False
;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5656 (char *) "self",(char *) "s", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5662 arg2
= wxString_in_helper(obj1
);
5663 if (arg2
== NULL
) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 Py_INCREF(Py_None
); resultobj
= Py_None
;
5688 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5690 wxListBox
*arg1
= (wxListBox
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5694 (char *) "self", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5713 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxListBox
*arg1
= (wxListBox
*) 0 ;
5717 wxColour
*arg3
= 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5721 PyObject
* obj2
= 0 ;
5723 (char *) "self",(char *) "item",(char *) "c", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5729 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5734 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxListBox
*arg1
= (wxListBox
*) 0 ;
5754 wxColour
*arg3
= 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 PyObject
* obj2
= 0 ;
5760 (char *) "self",(char *) "item",(char *) "c", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5766 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5771 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 Py_INCREF(Py_None
); resultobj
= Py_None
;
5787 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxListBox
*arg1
= (wxListBox
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5793 PyObject
* obj1
= 0 ;
5794 PyObject
* obj2
= 0 ;
5796 (char *) "self",(char *) "item",(char *) "f", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5802 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5807 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5826 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5828 return Py_BuildValue((char *)"");
5830 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxWindow
*arg1
= (wxWindow
*) 0 ;
5834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5836 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5837 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5838 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5839 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5840 long arg6
= (long) 0 ;
5841 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5842 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5843 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5844 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5845 wxCheckListBox
*result
;
5848 bool temp5
= False
;
5849 bool temp8
= False
;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5852 PyObject
* obj2
= 0 ;
5853 PyObject
* obj3
= 0 ;
5854 PyObject
* obj4
= 0 ;
5855 PyObject
* obj5
= 0 ;
5856 PyObject
* obj6
= 0 ;
5857 PyObject
* obj7
= 0 ;
5859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5865 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5882 if (! PySequence_Check(obj4
)) {
5883 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5886 arg5
= new wxArrayString
;
5888 int i
, len
=PySequence_Length(obj4
);
5889 for (i
=0; i
<len
; i
++) {
5890 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5892 PyObject
* str
= PyObject_Unicode(item
);
5894 PyObject
* str
= PyObject_Str(item
);
5896 arg5
->Add(Py2wxString(str
));
5904 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5909 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5911 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5916 arg8
= wxString_in_helper(obj7
);
5917 if (arg8
== NULL
) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5930 if (temp5
) delete arg5
;
5939 if (temp5
) delete arg5
;
5949 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxCheckListBox
*result
;
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (wxCheckListBox
*)new wxCheckListBox();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5971 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5974 wxWindow
*arg2
= (wxWindow
*) 0 ;
5976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5980 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5981 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5982 long arg7
= (long) 0 ;
5983 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5984 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5985 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5986 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5990 bool temp6
= False
;
5991 bool temp9
= False
;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 PyObject
* obj2
= 0 ;
5995 PyObject
* obj3
= 0 ;
5996 PyObject
* obj4
= 0 ;
5997 PyObject
* obj5
= 0 ;
5998 PyObject
* obj6
= 0 ;
5999 PyObject
* obj7
= 0 ;
6000 PyObject
* obj8
= 0 ;
6002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6009 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6026 if (! PySequence_Check(obj5
)) {
6027 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6030 arg6
= new wxArrayString
;
6032 int i
, len
=PySequence_Length(obj5
);
6033 for (i
=0; i
<len
; i
++) {
6034 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6036 PyObject
* str
= PyObject_Unicode(item
);
6038 PyObject
* str
= PyObject_Str(item
);
6040 arg6
->Add(Py2wxString(str
));
6048 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6053 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6060 arg9
= wxString_in_helper(obj8
);
6061 if (arg9
== NULL
) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6074 if (temp6
) delete arg6
;
6083 if (temp6
) delete arg6
;
6093 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6101 (char *) "self",(char *) "index", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6107 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (bool)(arg1
)->IsChecked(arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6124 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6128 int arg3
= (int) True
;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 PyObject
* obj2
= 0 ;
6133 (char *) "self",(char *) "index",(char *) "check", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6139 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6144 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 (arg1
)->Check(arg2
,arg3
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 (char *) "self", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (int)(arg1
)->GetItemHeight();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_PyObj_FromInt((int)result
);
6187 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6196 (char *) "self",(char *) "pt", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_PyObj_FromInt((int)result
);
6219 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6227 PyObject
* obj2
= 0 ;
6229 (char *) "self",(char *) "x",(char *) "y", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6235 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6239 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_PyObj_FromInt((int)result
);
6256 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6259 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6261 return Py_BuildValue((char *)"");
6263 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6264 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6269 static PyObject
*_wrap_TextCtrlNameStr_get() {
6274 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6276 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6283 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6284 PyObject
*resultobj
;
6287 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (wxTextAttr
*)new wxTextAttr();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6302 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6303 PyObject
*resultobj
;
6304 wxColour
*arg1
= 0 ;
6305 wxColour
const &arg2_defvalue
= wxNullColour
;
6306 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6307 wxFont
const &arg3_defvalue
= wxNullFont
;
6308 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6309 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6315 PyObject
* obj2
= 0 ;
6316 PyObject
* obj3
= 0 ;
6318 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6321 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6330 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6337 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6355 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6360 argc
= PyObject_Length(args
);
6361 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6362 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6365 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6367 if ((argc
>= 1) && (argc
<= 4)) {
6370 _v
= wxColour_typecheck(argv
[0]);
6374 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6377 _v
= wxColour_typecheck(argv
[1]);
6381 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6385 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6394 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6397 SWIG_PyObj_AsInt(argv
[3]);
6398 if (PyErr_Occurred()) {
6406 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6413 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6418 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 Py_INCREF(Py_None
); resultobj
= Py_None
;
6442 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6445 PyObject
* obj0
= 0 ;
6447 (char *) "self", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 Py_INCREF(Py_None
); resultobj
= Py_None
;
6466 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6469 wxColour
*arg2
= 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "self",(char *) "colText", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 Py_INCREF(Py_None
); resultobj
= Py_None
;
6497 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6500 wxColour
*arg2
= 0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "self",(char *) "colBack", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 Py_INCREF(Py_None
); resultobj
= Py_None
;
6528 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6532 long arg3
= (long) wxTEXT_ATTR_FONT
;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6535 PyObject
* obj2
= 0 ;
6537 (char *) "self",(char *) "font",(char *) "flags", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6544 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6548 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6573 (char *) "self",(char *) "alignment", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6579 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6599 wxArrayInt
*arg2
= 0 ;
6600 bool temp2
= False
;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6604 (char *) "self",(char *) "tabs", NULL
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6610 if (! PySequence_Check(obj1
)) {
6611 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6614 arg2
= new wxArrayInt
;
6616 int i
, len
=PySequence_Length(obj1
);
6617 for (i
=0; i
<len
; i
++) {
6618 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6619 PyObject
* number
= PyNumber_Int(item
);
6620 arg2
->Add(PyInt_AS_LONG(number
));
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 if (temp2
) delete arg2
;
6639 if (temp2
) delete arg2
;
6645 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6652 (char *) "self",(char *) "indent", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 (arg1
)->SetLeftIndent(arg2
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 Py_INCREF(Py_None
); resultobj
= Py_None
;
6675 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "indent", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 (arg1
)->SetRightIndent(arg2
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 Py_INCREF(Py_None
); resultobj
= Py_None
;
6705 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6712 (char *) "self",(char *) "flags", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6718 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 (arg1
)->SetFlags(arg2
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 Py_INCREF(Py_None
); resultobj
= Py_None
;
6735 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6739 PyObject
* obj0
= 0 ;
6741 (char *) "self", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6760 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6766 (char *) "self", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6785 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "self", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6810 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "self", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6835 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6839 PyObject
* obj0
= 0 ;
6841 (char *) "self", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6860 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6864 PyObject
* obj0
= 0 ;
6866 (char *) "self", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6885 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "self", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6910 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6918 (char *) "self",(char *) "flag", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6924 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6941 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6947 (char *) "self", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6956 result
= (wxColour
*) &_result_ref
;
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6969 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6984 result
= (wxColour
*) &_result_ref
;
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6997 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7012 result
= (wxFont
*) &_result_ref
;
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
7025 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7029 PyObject
* obj0
= 0 ;
7031 (char *) "self", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_PyObj_FromInt((int)result
);
7050 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7065 result
= (wxArrayInt
*) &_result_ref
;
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= PyList_New(0);
7074 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7075 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7076 PyList_Append(resultobj
, val
);
7086 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "self", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_PyObj_FromLong((long)result
);
7111 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7117 (char *) "self", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= SWIG_PyObj_FromLong((long)result
);
7136 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7140 PyObject
* obj0
= 0 ;
7142 (char *) "self", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= SWIG_PyObj_FromLong((long)result
);
7161 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "self", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7186 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxTextAttr
*arg1
= 0 ;
7189 wxTextAttr
*arg2
= 0 ;
7190 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7196 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7206 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7208 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 wxTextAttr
* resultptr
;
7218 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7219 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7227 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7230 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7232 return Py_BuildValue((char *)"");
7234 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxWindow
*arg1
= (wxWindow
*) 0 ;
7238 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7239 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7244 long arg6
= (long) 0 ;
7245 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7246 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7247 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7248 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7250 bool temp3
= False
;
7253 bool temp8
= False
;
7254 PyObject
* obj0
= 0 ;
7255 PyObject
* obj1
= 0 ;
7256 PyObject
* obj2
= 0 ;
7257 PyObject
* obj3
= 0 ;
7258 PyObject
* obj4
= 0 ;
7259 PyObject
* obj5
= 0 ;
7260 PyObject
* obj6
= 0 ;
7261 PyObject
* obj7
= 0 ;
7263 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7274 arg3
= wxString_in_helper(obj2
);
7275 if (arg3
== NULL
) SWIG_fail
;
7282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7293 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7298 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7305 arg8
= wxString_in_helper(obj7
);
7306 if (arg8
== NULL
) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= wxPyMake_wxObject(result
);
7342 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= (wxTextCtrl
*)new wxTextCtrl();
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= wxPyMake_wxObject(result
);
7366 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7369 wxWindow
*arg2
= (wxWindow
*) 0 ;
7371 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7372 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7373 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7374 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7375 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7376 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7377 long arg7
= (long) 0 ;
7378 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7379 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7380 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7381 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7383 bool temp4
= False
;
7386 bool temp9
= False
;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 PyObject
* obj2
= 0 ;
7390 PyObject
* obj3
= 0 ;
7391 PyObject
* obj4
= 0 ;
7392 PyObject
* obj5
= 0 ;
7393 PyObject
* obj6
= 0 ;
7394 PyObject
* obj7
= 0 ;
7395 PyObject
* obj8
= 0 ;
7397 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7404 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7409 arg4
= wxString_in_helper(obj3
);
7410 if (arg4
== NULL
) SWIG_fail
;
7417 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7423 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7428 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7433 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7440 arg9
= wxString_in_helper(obj8
);
7441 if (arg9
== NULL
) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7481 (char *) "self", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7506 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7509 wxString
*arg2
= 0 ;
7510 bool temp2
= False
;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7514 (char *) "self",(char *) "value", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7520 arg2
= wxString_in_helper(obj1
);
7521 if (arg2
== NULL
) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 (arg1
)->SetValue((wxString
const &)*arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 Py_INCREF(Py_None
); resultobj
= Py_None
;
7546 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7554 PyObject
* obj2
= 0 ;
7556 (char *) "self",(char *) "from",(char *) "to", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7562 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7566 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7589 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7597 (char *) "self",(char *) "lineNo", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7603 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_PyObj_FromInt((int)result
);
7620 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7628 (char *) "self",(char *) "lineNo", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7634 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7657 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7663 (char *) "self", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= SWIG_PyObj_FromInt((int)result
);
7682 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7688 (char *) "self", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7707 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7711 PyObject
* obj0
= 0 ;
7713 (char *) "self", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7732 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7757 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7782 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7785 long *arg2
= (long *) 0 ;
7786 long *arg3
= (long *) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "self", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 Py_INCREF(Py_None
); resultobj
= Py_None
;
7807 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7808 resultobj
= t_output_helper(resultobj
,o
);
7811 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7812 resultobj
= t_output_helper(resultobj
,o
);
7820 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7826 (char *) "self", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7851 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7880 wxString
*arg4
= 0 ;
7881 bool temp4
= False
;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj2
= 0 ;
7885 PyObject
* obj3
= 0 ;
7887 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7893 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7897 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7901 arg4
= wxString_in_helper(obj3
);
7902 if (arg4
== NULL
) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7934 PyObject
* obj2
= 0 ;
7936 (char *) "self",(char *) "from",(char *) "to", NULL
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7942 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 (arg1
)->Remove(arg2
,arg3
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7966 wxString
*arg2
= 0 ;
7968 bool temp2
= False
;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "file", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7978 arg2
= wxString_in_helper(obj1
);
7979 if (arg2
== NULL
) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8004 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8007 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8008 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8010 bool temp2
= False
;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "self",(char *) "file", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8021 arg2
= wxString_in_helper(obj1
);
8022 if (arg2
== NULL
) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8048 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->MarkDirty();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 (arg1
)->DiscardEdits();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8099 unsigned long arg2
;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "self",(char *) "len", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8109 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 (arg1
)->SetMaxLength(arg2
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8126 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8129 wxString
*arg2
= 0 ;
8130 bool temp2
= False
;
8131 PyObject
* obj0
= 0 ;
8132 PyObject
* obj1
= 0 ;
8134 (char *) "self",(char *) "text", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8140 arg2
= wxString_in_helper(obj1
);
8141 if (arg2
== NULL
) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 (arg1
)->WriteText((wxString
const &)*arg2
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 Py_INCREF(Py_None
); resultobj
= Py_None
;
8166 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8169 wxString
*arg2
= 0 ;
8170 bool temp2
= False
;
8171 PyObject
* obj0
= 0 ;
8172 PyObject
* obj1
= 0 ;
8174 (char *) "self",(char *) "text", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8180 arg2
= wxString_in_helper(obj1
);
8181 if (arg2
== NULL
) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 (arg1
)->AppendText((wxString
const &)*arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 Py_INCREF(Py_None
); resultobj
= Py_None
;
8206 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8209 wxKeyEvent
*arg2
= 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "self",(char *) "event", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8237 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8242 wxTextAttr
*arg4
= 0 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8247 PyObject
* obj3
= 0 ;
8249 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8255 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8259 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8280 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8284 wxTextAttr
*arg3
= 0 ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8288 PyObject
* obj2
= 0 ;
8290 (char *) "self",(char *) "position",(char *) "style", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8296 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8317 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8320 wxTextAttr
*arg2
= 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "style", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8348 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8354 (char *) "self", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8363 result
= (wxTextAttr
*) &_result_ref
;
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8376 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8384 PyObject
* obj2
= 0 ;
8386 (char *) "self",(char *) "x",(char *) "y", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8392 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8396 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_PyObj_FromLong((long)result
);
8413 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8417 long *arg3
= (long *) 0 ;
8418 long *arg4
= (long *) 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8424 (char *) "self",(char *) "pos", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8432 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8444 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8445 resultobj
= t_output_helper(resultobj
,o
);
8448 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8449 resultobj
= t_output_helper(resultobj
,o
);
8457 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8464 (char *) "self",(char *) "pos", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8470 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 (arg1
)->ShowPosition(arg2
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8487 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8491 long *arg3
= (long *) 0 ;
8492 long *arg4
= (long *) 0 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8500 (char *) "self",(char *) "pt", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8509 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_PyObj_FromInt((int)result
);
8520 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8521 resultobj
= t_output_helper(resultobj
,o
);
8524 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8525 resultobj
= t_output_helper(resultobj
,o
);
8533 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8536 PyObject
* obj0
= 0 ;
8538 (char *) "self", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 Py_INCREF(Py_None
); resultobj
= Py_None
;
8557 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8562 (char *) "self", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 Py_INCREF(Py_None
); resultobj
= Py_None
;
8605 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8611 (char *) "self", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8630 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8636 (char *) "self", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8655 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8661 (char *) "self", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8680 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8685 (char *) "self", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8709 (char *) "self", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8732 PyObject
* obj0
= 0 ;
8734 (char *) "self", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8753 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8778 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8785 (char *) "self",(char *) "pos", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8791 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 (arg1
)->SetInsertionPoint(arg2
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8813 (char *) "self", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 (arg1
)->SetInsertionPointEnd();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_PyObj_FromLong((long)result
);
8857 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8863 (char *) "self", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= SWIG_PyObj_FromLong((long)result
);
8882 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8891 (char *) "self",(char *) "from",(char *) "to", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8897 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8901 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 (arg1
)->SetSelection(arg2
,arg3
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 Py_INCREF(Py_None
); resultobj
= Py_None
;
8918 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8921 PyObject
* obj0
= 0 ;
8923 (char *) "self", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->SelectAll();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8942 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8946 PyObject
* obj0
= 0 ;
8947 PyObject
* obj1
= 0 ;
8949 (char *) "self",(char *) "editable", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->SetEditable(arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8975 wxString
*arg2
= 0 ;
8976 bool temp2
= False
;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8980 (char *) "self",(char *) "text", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8986 arg2
= wxString_in_helper(obj1
);
8987 if (arg2
== NULL
) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9020 PyObject
* obj2
= 0 ;
9022 (char *) "self",(char *) "from",(char *) "to", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9028 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9032 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9055 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9058 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9060 return Py_BuildValue((char *)"");
9062 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9065 wxMouseEvent
*arg2
= 0 ;
9068 wxTextUrlEvent
*result
;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 PyObject
* obj2
= 0 ;
9072 PyObject
* obj3
= 0 ;
9074 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9079 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9087 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9108 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9111 wxMouseEvent
*result
;
9112 PyObject
* obj0
= 0 ;
9114 (char *) "self", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9123 result
= (wxMouseEvent
*) &_result_ref
;
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9136 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9140 PyObject
* obj0
= 0 ;
9142 (char *) "self", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_PyObj_FromLong((long)result
);
9161 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9165 PyObject
* obj0
= 0 ;
9167 (char *) "self", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_PyObj_FromLong((long)result
);
9186 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9189 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9191 return Py_BuildValue((char *)"");
9193 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9194 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9199 static PyObject
*_wrap_ScrollBarNameStr_get() {
9204 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9206 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9213 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxWindow
*arg1
= (wxWindow
*) 0 ;
9216 int arg2
= (int) -1 ;
9217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9221 long arg5
= (long) wxSB_HORIZONTAL
;
9222 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9223 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9224 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9225 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9226 wxScrollBar
*result
;
9229 bool temp7
= False
;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 PyObject
* obj2
= 0 ;
9233 PyObject
* obj3
= 0 ;
9234 PyObject
* obj4
= 0 ;
9235 PyObject
* obj5
= 0 ;
9236 PyObject
* obj6
= 0 ;
9238 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9258 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9263 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9268 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9275 arg7
= wxString_in_helper(obj6
);
9276 if (arg7
== NULL
) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9302 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxScrollBar
*result
;
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (wxScrollBar
*)new wxScrollBar();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9324 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9327 wxWindow
*arg2
= (wxWindow
*) 0 ;
9328 int arg3
= (int) -1 ;
9329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9333 long arg6
= (long) wxSB_HORIZONTAL
;
9334 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9335 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9336 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9337 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9341 bool temp8
= False
;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9345 PyObject
* obj3
= 0 ;
9346 PyObject
* obj4
= 0 ;
9347 PyObject
* obj5
= 0 ;
9348 PyObject
* obj6
= 0 ;
9349 PyObject
* obj7
= 0 ;
9351 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9359 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9366 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9372 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9377 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9382 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9389 arg8
= wxString_in_helper(obj7
);
9390 if (arg8
== NULL
) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9416 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_PyObj_FromInt((int)result
);
9441 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9447 (char *) "self", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_PyObj_FromInt((int)result
);
9466 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_PyObj_FromInt((int)result
);
9491 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_PyObj_FromInt((int)result
);
9516 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9541 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9548 (char *) "self",(char *) "viewStart", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9554 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 (arg1
)->SetThumbPosition(arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 Py_INCREF(Py_None
); resultobj
= Py_None
;
9571 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9578 bool arg6
= (bool) True
;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9581 PyObject
* obj2
= 0 ;
9582 PyObject
* obj3
= 0 ;
9583 PyObject
* obj4
= 0 ;
9584 PyObject
* obj5
= 0 ;
9586 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9596 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9609 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9627 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9630 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9632 return Py_BuildValue((char *)"");
9634 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9635 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9640 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9645 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9647 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9654 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9655 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9660 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9665 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9667 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9674 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxWindow
*arg1
= (wxWindow
*) 0 ;
9677 int arg2
= (int) -1 ;
9678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9682 long arg5
= (long) wxSP_HORIZONTAL
;
9683 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9684 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9685 wxSpinButton
*result
;
9688 bool temp6
= False
;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 PyObject
* obj2
= 0 ;
9692 PyObject
* obj3
= 0 ;
9693 PyObject
* obj4
= 0 ;
9694 PyObject
* obj5
= 0 ;
9696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9703 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9721 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9727 arg6
= wxString_in_helper(obj5
);
9728 if (arg6
== NULL
) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9754 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9756 wxSpinButton
*result
;
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (wxSpinButton
*)new wxSpinButton();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9776 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9779 wxWindow
*arg2
= (wxWindow
*) 0 ;
9780 int arg3
= (int) -1 ;
9781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9785 long arg6
= (long) wxSP_HORIZONTAL
;
9786 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9787 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9791 bool temp7
= False
;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9794 PyObject
* obj2
= 0 ;
9795 PyObject
* obj3
= 0 ;
9796 PyObject
* obj4
= 0 ;
9797 PyObject
* obj5
= 0 ;
9798 PyObject
* obj6
= 0 ;
9800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9808 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9826 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9832 arg7
= wxString_in_helper(obj6
);
9833 if (arg7
== NULL
) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9859 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_PyObj_FromInt((int)result
);
9884 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "self", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_PyObj_FromInt((int)result
);
9909 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_PyObj_FromInt((int)result
);
9934 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9939 PyObject
* obj1
= 0 ;
9941 (char *) "self",(char *) "val", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9947 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 (arg1
)->SetValue(arg2
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 Py_INCREF(Py_None
); resultobj
= Py_None
;
9964 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9971 (char *) "self",(char *) "minVal", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
9975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9977 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 (arg1
)->SetMin(arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 Py_INCREF(Py_None
); resultobj
= Py_None
;
9994 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self",(char *) "maxVal", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10007 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->SetMax(arg2
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10043 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 (arg1
)->SetRange(arg2
,arg3
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 Py_INCREF(Py_None
); resultobj
= Py_None
;
10060 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10085 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10088 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10090 return Py_BuildValue((char *)"");
10092 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxWindow
*arg1
= (wxWindow
*) 0 ;
10095 int arg2
= (int) -1 ;
10096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10102 long arg6
= (long) wxSP_ARROW_KEYS
;
10103 int arg7
= (int) 0 ;
10104 int arg8
= (int) 100 ;
10105 int arg9
= (int) 0 ;
10106 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10107 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10108 wxSpinCtrl
*result
;
10109 bool temp3
= False
;
10112 bool temp10
= False
;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 PyObject
* obj3
= 0 ;
10117 PyObject
* obj4
= 0 ;
10118 PyObject
* obj5
= 0 ;
10119 PyObject
* obj6
= 0 ;
10120 PyObject
* obj7
= 0 ;
10121 PyObject
* obj8
= 0 ;
10122 PyObject
* obj9
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10137 arg3
= wxString_in_helper(obj2
);
10138 if (arg3
== NULL
) SWIG_fail
;
10145 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10151 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10156 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10162 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10168 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10174 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10180 arg10
= wxString_in_helper(obj9
);
10181 if (arg10
== NULL
) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10215 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxSpinCtrl
*result
;
10218 char *kwnames
[] = {
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10237 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10240 wxWindow
*arg2
= (wxWindow
*) 0 ;
10241 int arg3
= (int) -1 ;
10242 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10243 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10244 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10245 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10246 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10247 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10248 long arg7
= (long) wxSP_ARROW_KEYS
;
10249 int arg8
= (int) 0 ;
10250 int arg9
= (int) 100 ;
10251 int arg10
= (int) 0 ;
10252 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10253 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10255 bool temp4
= False
;
10258 bool temp11
= False
;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 PyObject
* obj2
= 0 ;
10262 PyObject
* obj3
= 0 ;
10263 PyObject
* obj4
= 0 ;
10264 PyObject
* obj5
= 0 ;
10265 PyObject
* obj6
= 0 ;
10266 PyObject
* obj7
= 0 ;
10267 PyObject
* obj8
= 0 ;
10268 PyObject
* obj9
= 0 ;
10269 PyObject
* obj10
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10279 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10285 arg4
= wxString_in_helper(obj3
);
10286 if (arg4
== NULL
) SWIG_fail
;
10293 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10299 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10304 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10310 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10316 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10322 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10328 arg11
= wxString_in_helper(obj10
);
10329 if (arg11
== NULL
) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10363 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_PyObj_FromInt((int)result
);
10388 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self",(char *) "value", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 (arg1
)->SetValue(arg2
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10421 wxString
*arg2
= 0 ;
10422 bool temp2
= False
;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "text", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 arg2
= wxString_in_helper(obj1
);
10433 if (arg2
== NULL
) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetValue((wxString
const &)*arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 PyObject
* obj2
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 (arg1
)->SetRange(arg2
,arg3
);
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 Py_INCREF(Py_None
); resultobj
= Py_None
;
10494 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_PyObj_FromInt((int)result
);
10519 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_PyObj_FromInt((int)result
);
10544 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 PyObject
* obj2
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "from",(char *) "to", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10559 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 (arg1
)->SetSelection(arg2
,arg3
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10573 Py_INCREF(Py_None
); resultobj
= Py_None
;
10580 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10583 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10585 return Py_BuildValue((char *)"");
10587 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10590 int arg2
= (int) 0 ;
10591 wxSpinEvent
*result
;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "commandType",(char *) "winid", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10601 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10625 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_PyObj_FromInt((int)result
);
10650 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "pos", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10663 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->SetPosition(arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 Py_INCREF(Py_None
); resultobj
= Py_None
;
10680 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10683 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10685 return Py_BuildValue((char *)"");
10687 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10688 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10693 static PyObject
*_wrap_RadioBoxNameStr_get() {
10698 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10700 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10707 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10708 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10713 static PyObject
*_wrap_RadioButtonNameStr_get() {
10718 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10720 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10727 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxWindow
*arg1
= (wxWindow
*) 0 ;
10731 wxString
*arg3
= 0 ;
10732 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10733 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10734 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10735 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10736 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10737 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10738 int arg7
= (int) 0 ;
10739 long arg8
= (long) wxRA_HORIZONTAL
;
10740 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10741 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10742 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10743 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10744 wxRadioBox
*result
;
10745 bool temp3
= False
;
10748 bool temp6
= False
;
10749 bool temp10
= False
;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 PyObject
* obj2
= 0 ;
10753 PyObject
* obj3
= 0 ;
10754 PyObject
* obj4
= 0 ;
10755 PyObject
* obj5
= 0 ;
10756 PyObject
* obj6
= 0 ;
10757 PyObject
* obj7
= 0 ;
10758 PyObject
* obj8
= 0 ;
10759 PyObject
* obj9
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10767 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 arg3
= wxString_in_helper(obj2
);
10772 if (arg3
== NULL
) SWIG_fail
;
10778 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10784 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10789 if (! PySequence_Check(obj5
)) {
10790 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10793 arg6
= new wxArrayString
;
10795 int i
, len
=PySequence_Length(obj5
);
10796 for (i
=0; i
<len
; i
++) {
10797 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10799 PyObject
* str
= PyObject_Unicode(item
);
10801 PyObject
* str
= PyObject_Str(item
);
10803 arg6
->Add(Py2wxString(str
));
10811 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10817 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10822 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10823 if (arg9
== NULL
) {
10824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10829 arg10
= wxString_in_helper(obj9
);
10830 if (arg10
== NULL
) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 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
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10847 if (temp6
) delete arg6
;
10860 if (temp6
) delete arg6
;
10870 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxRadioBox
*result
;
10873 char *kwnames
[] = {
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (wxRadioBox
*)new wxRadioBox();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10892 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10895 wxWindow
*arg2
= (wxWindow
*) 0 ;
10897 wxString
*arg4
= 0 ;
10898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10902 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10903 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10904 int arg8
= (int) 0 ;
10905 long arg9
= (long) wxRA_HORIZONTAL
;
10906 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10907 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10908 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10909 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10911 bool temp4
= False
;
10914 bool temp7
= False
;
10915 bool temp11
= False
;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 PyObject
* obj2
= 0 ;
10919 PyObject
* obj3
= 0 ;
10920 PyObject
* obj4
= 0 ;
10921 PyObject
* obj5
= 0 ;
10922 PyObject
* obj6
= 0 ;
10923 PyObject
* obj7
= 0 ;
10924 PyObject
* obj8
= 0 ;
10925 PyObject
* obj9
= 0 ;
10926 PyObject
* obj10
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10933 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10935 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10939 arg4
= wxString_in_helper(obj3
);
10940 if (arg4
== NULL
) SWIG_fail
;
10946 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10952 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10957 if (! PySequence_Check(obj6
)) {
10958 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10961 arg7
= new wxArrayString
;
10963 int i
, len
=PySequence_Length(obj6
);
10964 for (i
=0; i
<len
; i
++) {
10965 PyObject
* item
= PySequence_GetItem(obj6
, i
);
10967 PyObject
* str
= PyObject_Unicode(item
);
10969 PyObject
* str
= PyObject_Str(item
);
10971 arg7
->Add(Py2wxString(str
));
10979 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10985 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10990 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10991 if (arg10
== NULL
) {
10992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10997 arg11
= wxString_in_helper(obj10
);
10998 if (arg11
== NULL
) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 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
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11015 if (temp7
) delete arg7
;
11028 if (temp7
) delete arg7
;
11038 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self",(char *) "n", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->SetSelection(arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= SWIG_PyObj_FromInt((int)result
);
11093 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11124 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11127 wxString
*arg2
= 0 ;
11129 bool temp2
= False
;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "s", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11139 arg2
= wxString_in_helper(obj1
);
11140 if (arg2
== NULL
) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11165 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11169 PyObject
* obj0
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_PyObj_FromInt((int)result
);
11190 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11193 wxString
*arg2
= 0 ;
11195 bool temp2
= False
;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "s", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11205 arg2
= wxString_in_helper(obj1
);
11206 if (arg2
== NULL
) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_PyObj_FromInt((int)result
);
11231 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "n", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11268 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11272 wxString
*arg3
= 0 ;
11273 bool temp3
= False
;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 PyObject
* obj2
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self",(char *) "n",(char *) "label", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11284 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 arg3
= wxString_in_helper(obj2
);
11289 if (arg3
== NULL
) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 Py_INCREF(Py_None
); resultobj
= Py_None
;
11314 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11318 bool arg3
= (bool) True
;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 PyObject
* obj2
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self",(char *) "n",(char *) "enable", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11329 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11334 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 (arg1
)->Enable(arg2
,arg3
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 Py_INCREF(Py_None
); resultobj
= Py_None
;
11352 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11356 bool arg3
= (bool) True
;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 PyObject
* obj2
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "n",(char *) "show", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11367 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11372 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->Show(arg2
,arg3
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "self", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= SWIG_PyObj_FromInt((int)result
);
11415 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= SWIG_PyObj_FromInt((int)result
);
11440 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 PyObject
* obj3
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11458 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11462 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11466 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= SWIG_PyObj_FromInt((int)result
);
11483 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11486 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11488 return Py_BuildValue((char *)"");
11490 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxWindow
*arg1
= (wxWindow
*) 0 ;
11494 wxString
*arg3
= 0 ;
11495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11499 long arg6
= (long) 0 ;
11500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11502 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11504 wxRadioButton
*result
;
11505 bool temp3
= False
;
11508 bool temp8
= False
;
11509 PyObject
* obj0
= 0 ;
11510 PyObject
* obj1
= 0 ;
11511 PyObject
* obj2
= 0 ;
11512 PyObject
* obj3
= 0 ;
11513 PyObject
* obj4
= 0 ;
11514 PyObject
* obj5
= 0 ;
11515 PyObject
* obj6
= 0 ;
11516 PyObject
* obj7
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11524 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11528 arg3
= wxString_in_helper(obj2
);
11529 if (arg3
== NULL
) SWIG_fail
;
11535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11546 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11551 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11552 if (arg7
== NULL
) {
11553 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11558 arg8
= wxString_in_helper(obj7
);
11559 if (arg8
== NULL
) SWIG_fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11593 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxRadioButton
*result
;
11596 char *kwnames
[] = {
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxRadioButton
*)new wxRadioButton();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11615 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11618 wxWindow
*arg2
= (wxWindow
*) 0 ;
11620 wxString
*arg4
= 0 ;
11621 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11622 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11623 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11624 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11625 long arg7
= (long) 0 ;
11626 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11627 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11628 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11629 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11631 bool temp4
= False
;
11634 bool temp9
= False
;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj1
= 0 ;
11637 PyObject
* obj2
= 0 ;
11638 PyObject
* obj3
= 0 ;
11639 PyObject
* obj4
= 0 ;
11640 PyObject
* obj5
= 0 ;
11641 PyObject
* obj6
= 0 ;
11642 PyObject
* obj7
= 0 ;
11643 PyObject
* obj8
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11652 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 arg4
= wxString_in_helper(obj3
);
11657 if (arg4
== NULL
) SWIG_fail
;
11663 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11669 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11674 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11679 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11680 if (arg8
== NULL
) {
11681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11686 arg9
= wxString_in_helper(obj8
);
11687 if (arg9
== NULL
) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11721 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (bool)(arg1
)->GetValue();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11746 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self",(char *) "value", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11759 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 (arg1
)->SetValue(arg2
);
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 Py_INCREF(Py_None
); resultobj
= Py_None
;
11776 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11781 return Py_BuildValue((char *)"");
11783 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11784 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11789 static PyObject
*_wrap_SliderNameStr_get() {
11794 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11796 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11803 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxWindow
*arg1
= (wxWindow
*) 0 ;
11810 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11811 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11812 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11813 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11814 long arg8
= (long) wxSL_HORIZONTAL
;
11815 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11816 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11817 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11818 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11822 bool temp10
= False
;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 PyObject
* obj2
= 0 ;
11826 PyObject
* obj3
= 0 ;
11827 PyObject
* obj4
= 0 ;
11828 PyObject
* obj5
= 0 ;
11829 PyObject
* obj6
= 0 ;
11830 PyObject
* obj7
= 0 ;
11831 PyObject
* obj8
= 0 ;
11832 PyObject
* obj9
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11840 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11852 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11858 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11864 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11869 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11874 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11875 if (arg9
== NULL
) {
11876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11881 arg10
= wxString_in_helper(obj9
);
11882 if (arg10
== NULL
) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11908 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11911 char *kwnames
[] = {
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (wxSlider
*)new wxSlider();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11930 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxSlider
*arg1
= (wxSlider
*) 0 ;
11933 wxWindow
*arg2
= (wxWindow
*) 0 ;
11938 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11939 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11940 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11941 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11942 long arg9
= (long) wxSL_HORIZONTAL
;
11943 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11944 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11945 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11946 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11950 bool temp11
= False
;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 PyObject
* obj4
= 0 ;
11956 PyObject
* obj5
= 0 ;
11957 PyObject
* obj6
= 0 ;
11958 PyObject
* obj7
= 0 ;
11959 PyObject
* obj8
= 0 ;
11960 PyObject
* obj9
= 0 ;
11961 PyObject
* obj10
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11968 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11970 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11988 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11994 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
11999 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12004 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12005 if (arg10
== NULL
) {
12006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12011 arg11
= wxString_in_helper(obj10
);
12012 if (arg11
== NULL
) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12038 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxSlider
*arg1
= (wxSlider
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_PyObj_FromInt((int)result
);
12063 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxSlider
*arg1
= (wxSlider
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self",(char *) "value", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12076 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->SetValue(arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxSlider
*arg1
= (wxSlider
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 PyObject
* obj2
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12108 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 (arg1
)->SetRange(arg2
,arg3
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 Py_INCREF(Py_None
); resultobj
= Py_None
;
12129 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxSlider
*arg1
= (wxSlider
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_PyObj_FromInt((int)result
);
12154 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxSlider
*arg1
= (wxSlider
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_PyObj_FromInt((int)result
);
12179 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxSlider
*arg1
= (wxSlider
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self",(char *) "minValue", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12192 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 (arg1
)->SetMin(arg2
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 Py_INCREF(Py_None
); resultobj
= Py_None
;
12209 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxSlider
*arg1
= (wxSlider
*) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 char *kwnames
[] = {
12216 (char *) "self",(char *) "maxValue", NULL
12219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12222 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 (arg1
)->SetMax(arg2
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxSlider
*arg1
= (wxSlider
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self",(char *) "lineSize", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12252 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->SetLineSize(arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 Py_INCREF(Py_None
); resultobj
= Py_None
;
12269 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxSlider
*arg1
= (wxSlider
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self",(char *) "pageSize", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12282 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->SetPageSize(arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 Py_INCREF(Py_None
); resultobj
= Py_None
;
12299 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxSlider
*arg1
= (wxSlider
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_PyObj_FromInt((int)result
);
12324 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxSlider
*arg1
= (wxSlider
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_PyObj_FromInt((int)result
);
12349 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxSlider
*arg1
= (wxSlider
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "lenPixels", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12362 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 (arg1
)->SetThumbLength(arg2
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxSlider
*arg1
= (wxSlider
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= SWIG_PyObj_FromInt((int)result
);
12404 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxSlider
*arg1
= (wxSlider
*) 0 ;
12408 int arg3
= (int) 1 ;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 PyObject
* obj2
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "n",(char *) "pos", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
12424 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 (arg1
)->SetTickFreq(arg2
,arg3
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 Py_INCREF(Py_None
); resultobj
= Py_None
;
12442 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxSlider
*arg1
= (wxSlider
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_PyObj_FromInt((int)result
);
12467 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxSlider
*arg1
= (wxSlider
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->ClearTicks();
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12491 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxSlider
*arg1
= (wxSlider
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self",(char *) "tickPos", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12504 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 (arg1
)->SetTick(arg2
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 Py_INCREF(Py_None
); resultobj
= Py_None
;
12521 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxSlider
*arg1
= (wxSlider
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->ClearSel();
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 Py_INCREF(Py_None
); resultobj
= Py_None
;
12545 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxSlider
*arg1
= (wxSlider
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_PyObj_FromInt((int)result
);
12570 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxSlider
*arg1
= (wxSlider
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_PyObj_FromInt((int)result
);
12595 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxSlider
*arg1
= (wxSlider
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 PyObject
* obj2
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self",(char *) "min",(char *) "max", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12610 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12614 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 (arg1
)->SetSelection(arg2
,arg3
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 Py_INCREF(Py_None
); resultobj
= Py_None
;
12631 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12634 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12636 return Py_BuildValue((char *)"");
12638 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12639 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12644 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12649 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12651 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12658 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxWindow
*arg1
= (wxWindow
*) 0 ;
12662 wxString
*arg3
= 0 ;
12663 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12664 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12665 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12666 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12667 long arg6
= (long) 0 ;
12668 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12669 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12670 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12671 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12672 wxToggleButton
*result
;
12673 bool temp3
= False
;
12676 bool temp8
= False
;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 PyObject
* obj2
= 0 ;
12680 PyObject
* obj3
= 0 ;
12681 PyObject
* obj4
= 0 ;
12682 PyObject
* obj5
= 0 ;
12683 PyObject
* obj6
= 0 ;
12684 PyObject
* obj7
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12692 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12696 arg3
= wxString_in_helper(obj2
);
12697 if (arg3
== NULL
) SWIG_fail
;
12703 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12709 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12714 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12719 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12720 if (arg7
== NULL
) {
12721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12726 arg8
= wxString_in_helper(obj7
);
12727 if (arg8
== NULL
) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12761 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
;
12763 wxToggleButton
*result
;
12764 char *kwnames
[] = {
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxToggleButton
*)new wxToggleButton();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12783 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12786 wxWindow
*arg2
= (wxWindow
*) 0 ;
12788 wxString
*arg4
= 0 ;
12789 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12790 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12791 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12792 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12793 long arg7
= (long) 0 ;
12794 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12795 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12796 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12797 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12799 bool temp4
= False
;
12802 bool temp9
= False
;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 PyObject
* obj2
= 0 ;
12806 PyObject
* obj3
= 0 ;
12807 PyObject
* obj4
= 0 ;
12808 PyObject
* obj5
= 0 ;
12809 PyObject
* obj6
= 0 ;
12810 PyObject
* obj7
= 0 ;
12811 PyObject
* obj8
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12820 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 arg4
= wxString_in_helper(obj3
);
12825 if (arg4
== NULL
) SWIG_fail
;
12831 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12837 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12842 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12847 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12848 if (arg8
== NULL
) {
12849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12854 arg9
= wxString_in_helper(obj8
);
12855 if (arg9
== NULL
) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12889 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self",(char *) "value", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12902 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 (arg1
)->SetValue(arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 Py_INCREF(Py_None
); resultobj
= Py_None
;
12919 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12944 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12947 wxString
*arg2
= 0 ;
12948 bool temp2
= False
;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self",(char *) "label", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
12956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12958 arg2
= wxString_in_helper(obj1
);
12959 if (arg2
== NULL
) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->SetLabel((wxString
const &)*arg2
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12987 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12989 return Py_BuildValue((char *)"");
12991 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
12992 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12997 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13002 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13004 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13011 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
13036 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self",(char *) "n", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13050 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= wxPyMake_wxObject(result
);
13069 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13073 PyObject
* obj0
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= SWIG_PyObj_FromInt((int)result
);
13094 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13096 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13098 wxString
*arg3
= 0 ;
13100 bool temp3
= False
;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 PyObject
* obj2
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self",(char *) "n",(char *) "strText", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13111 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 arg3
= wxString_in_helper(obj2
);
13116 if (arg3
== NULL
) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13141 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self",(char *) "n", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13155 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13178 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13181 wxImageList
*arg2
= (wxImageList
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self",(char *) "imageList", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 (arg1
)->SetImageList(arg2
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 Py_INCREF(Py_None
); resultobj
= Py_None
;
13205 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13208 wxImageList
*arg2
= (wxImageList
*) 0 ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "imageList", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 (arg1
)->AssignImageList(arg2
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 Py_INCREF(Py_None
); resultobj
= Py_None
;
13232 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13235 wxImageList
*result
;
13236 PyObject
* obj0
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= wxPyMake_wxObject(result
);
13259 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "n", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13273 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= SWIG_PyObj_FromInt((int)result
);
13290 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 PyObject
* obj2
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "n",(char *) "imageId", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13306 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13327 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "size", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "sizePage", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 wxSize
* resultptr
;
13385 resultptr
= new wxSize((wxSize
&) result
);
13386 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13394 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self",(char *) "n", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13408 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (bool)(arg1
)->DeletePage(arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13425 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "n", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13439 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (bool)(arg1
)->RemovePage(arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13456 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (bool)(arg1
)->DeleteAllPages();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13484 wxWindow
*arg2
= (wxWindow
*) 0 ;
13485 wxString
*arg3
= 0 ;
13486 bool arg4
= (bool) False
;
13487 int arg5
= (int) -1 ;
13489 bool temp3
= False
;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 PyObject
* obj2
= 0 ;
13493 PyObject
* obj3
= 0 ;
13494 PyObject
* obj4
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13503 arg3
= wxString_in_helper(obj2
);
13504 if (arg3
== NULL
) SWIG_fail
;
13509 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13515 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13545 wxWindow
*arg3
= (wxWindow
*) 0 ;
13546 wxString
*arg4
= 0 ;
13547 bool arg5
= (bool) False
;
13548 int arg6
= (int) -1 ;
13550 bool temp4
= False
;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 PyObject
* obj2
= 0 ;
13554 PyObject
* obj3
= 0 ;
13555 PyObject
* obj4
= 0 ;
13556 PyObject
* obj5
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13564 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13569 arg4
= wxString_in_helper(obj3
);
13570 if (arg4
== NULL
) SWIG_fail
;
13575 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13581 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13607 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj1
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "n", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) 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
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 result
= (int)(arg1
)->SetSelection(arg2
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= SWIG_PyObj_FromInt((int)result
);
13638 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13641 bool arg2
= (bool) True
;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self",(char *) "forward", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13652 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 (arg1
)->AdvanceSelection(arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13673 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13675 return Py_BuildValue((char *)"");
13677 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13680 int arg2
= (int) 0 ;
13681 int arg3
= (int) -1 ;
13682 int arg4
= (int) -1 ;
13683 wxBookCtrlEvent
*result
;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 PyObject
* obj3
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13695 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13707 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13713 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13731 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13735 PyObject
* obj0
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_PyObj_FromInt((int)result
);
13756 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self",(char *) "nSel", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13769 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 (arg1
)->SetSelection(arg2
);
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 Py_INCREF(Py_None
); resultobj
= Py_None
;
13786 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= SWIG_PyObj_FromInt((int)result
);
13811 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "nOldSel", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 (arg1
)->SetOldSelection(arg2
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 Py_INCREF(Py_None
); resultobj
= Py_None
;
13841 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13844 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13846 return Py_BuildValue((char *)"");
13848 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxWindow
*arg1
= (wxWindow
*) 0 ;
13852 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13853 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13854 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13855 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13856 long arg5
= (long) 0 ;
13857 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13858 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13859 wxNotebook
*result
;
13862 bool temp6
= False
;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 PyObject
* obj3
= 0 ;
13867 PyObject
* obj4
= 0 ;
13868 PyObject
* obj5
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13876 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13888 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13893 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13899 arg6
= wxString_in_helper(obj5
);
13900 if (arg6
== NULL
) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= wxPyMake_wxObject(result
);
13928 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxNotebook
*result
;
13931 char *kwnames
[] = {
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= (wxNotebook
*)new wxNotebook();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= wxPyMake_wxObject(result
);
13952 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13955 wxWindow
*arg2
= (wxWindow
*) 0 ;
13957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13959 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13960 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13961 long arg6
= (long) 0 ;
13962 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13963 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13967 bool temp7
= False
;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 PyObject
* obj2
= 0 ;
13971 PyObject
* obj3
= 0 ;
13972 PyObject
* obj4
= 0 ;
13973 PyObject
* obj5
= 0 ;
13974 PyObject
* obj6
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13981 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13983 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14000 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14006 arg7
= wxString_in_helper(obj6
);
14007 if (arg7
== NULL
) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14033 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= SWIG_PyObj_FromInt((int)result
);
14058 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 PyObject
* obj1
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self",(char *) "padding", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14073 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "sz", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14104 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14123 wxPoint
*arg2
= 0 ;
14124 long *arg3
= (long *) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "pt", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_PyObj_FromInt((int)result
);
14150 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14151 resultobj
= t_output_helper(resultobj
,o
);
14159 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self",(char *) "sizePage", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14175 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14185 wxSize
* resultptr
;
14186 resultptr
= new wxSize((wxSize
&) result
);
14187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14195 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14198 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14200 return Py_BuildValue((char *)"");
14202 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14205 int arg2
= (int) 0 ;
14206 int arg3
= (int) -1 ;
14207 int arg4
= (int) -1 ;
14208 wxNotebookEvent
*result
;
14209 PyObject
* obj0
= 0 ;
14210 PyObject
* obj1
= 0 ;
14211 PyObject
* obj2
= 0 ;
14212 PyObject
* obj3
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14220 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14226 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14232 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14238 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14256 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14259 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14261 return Py_BuildValue((char *)"");
14263 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxWindow
*arg1
= (wxWindow
*) 0 ;
14267 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14268 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14269 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14270 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14271 long arg5
= (long) 0 ;
14272 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14273 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14274 wxListbook
*result
;
14277 bool temp6
= False
;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 PyObject
* obj2
= 0 ;
14281 PyObject
* obj3
= 0 ;
14282 PyObject
* obj4
= 0 ;
14283 PyObject
* obj5
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14308 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14314 arg6
= wxString_in_helper(obj5
);
14315 if (arg6
== NULL
) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14341 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxListbook
*result
;
14344 char *kwnames
[] = {
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (wxListbook
*)new wxListbook();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14363 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxListbook
*arg1
= (wxListbook
*) 0 ;
14366 wxWindow
*arg2
= (wxWindow
*) 0 ;
14368 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14369 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14370 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14371 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14372 long arg6
= (long) 0 ;
14373 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14374 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14378 bool temp7
= False
;
14379 PyObject
* obj0
= 0 ;
14380 PyObject
* obj1
= 0 ;
14381 PyObject
* obj2
= 0 ;
14382 PyObject
* obj3
= 0 ;
14383 PyObject
* obj4
= 0 ;
14384 PyObject
* obj5
= 0 ;
14385 PyObject
* obj6
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14394 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14411 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14417 arg7
= wxString_in_helper(obj6
);
14418 if (arg7
== NULL
) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14444 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxListbook
*arg1
= (wxListbook
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14472 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14474 return Py_BuildValue((char *)"");
14476 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14479 int arg2
= (int) 0 ;
14480 int arg3
= (int) -1 ;
14481 int arg4
= (int) -1 ;
14482 wxListbookEvent
*result
;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 PyObject
* obj3
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14494 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14500 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14506 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14512 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14530 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14533 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14535 return Py_BuildValue((char *)"");
14537 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14540 wxBookCtrlSizer
*result
;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "nb", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14562 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->RecalcSizes();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (arg1
)->CalcMin();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14605 wxSize
* resultptr
;
14606 resultptr
= new wxSize((wxSize
&) result
);
14607 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14615 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14618 wxBookCtrl
*result
;
14619 PyObject
* obj0
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14640 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14643 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14645 return Py_BuildValue((char *)"");
14647 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14650 wxNotebookSizer
*result
;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "nb", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14672 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 (arg1
)->RecalcSizes();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 Py_INCREF(Py_None
); resultobj
= Py_None
;
14696 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (arg1
)->CalcMin();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14715 wxSize
* resultptr
;
14716 resultptr
= new wxSize((wxSize
&) result
);
14717 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14725 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14728 wxNotebook
*result
;
14729 PyObject
* obj0
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= wxPyMake_wxObject(result
);
14752 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14755 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14757 return Py_BuildValue((char *)"");
14759 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (int)(arg1
)->GetId();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_PyObj_FromInt((int)result
);
14784 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (wxControl
*)(arg1
)->GetControl();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= wxPyMake_wxObject(result
);
14811 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14814 wxToolBarBase
*result
;
14815 PyObject
* obj0
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= wxPyMake_wxObject(result
);
14838 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (int)(arg1
)->IsButton();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_PyObj_FromInt((int)result
);
14863 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (int)(arg1
)->IsControl();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_PyObj_FromInt((int)result
);
14888 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (int)(arg1
)->IsSeparator();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_PyObj_FromInt((int)result
);
14913 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (int)(arg1
)->GetStyle();
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_PyObj_FromInt((int)result
);
14938 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (int)(arg1
)->GetKind();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_PyObj_FromInt((int)result
);
14963 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (bool)(arg1
)->IsEnabled();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14988 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)(arg1
)->IsToggled();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15013 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (bool)(arg1
)->CanBeToggled();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15038 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15053 result
= (wxBitmap
*) &_result_ref
;
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15066 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15081 result
= (wxBitmap
*) &_result_ref
;
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15094 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (arg1
)->GetBitmap();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15113 wxBitmap
* resultptr
;
15114 resultptr
= new wxBitmap((wxBitmap
&) result
);
15115 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15123 static PyObject
*_wrap_ToolBarToolBase_GetLabel(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_GetLabel",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();
15136 result
= (arg1
)->GetLabel();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15154 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (arg1
)->GetShortHelp();
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15185 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15189 PyObject
* obj0
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (arg1
)->GetLongHelp();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15216 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "enable", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15230 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (bool)(arg1
)->Enable(arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15247 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15250 PyObject
* obj0
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "self", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 Py_INCREF(Py_None
); resultobj
= Py_None
;
15271 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self",(char *) "toggle", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15285 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (bool)(arg1
)->SetToggle(arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15302 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15305 wxString
*arg2
= 0 ;
15307 bool temp2
= False
;
15308 PyObject
* obj0
= 0 ;
15309 PyObject
* obj1
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "help", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15317 arg2
= wxString_in_helper(obj1
);
15318 if (arg2
== NULL
) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15343 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15346 wxString
*arg2
= 0 ;
15348 bool temp2
= False
;
15349 PyObject
* obj0
= 0 ;
15350 PyObject
* obj1
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self",(char *) "help", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15358 arg2
= wxString_in_helper(obj1
);
15359 if (arg2
== NULL
) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15384 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15387 wxBitmap
*arg2
= 0 ;
15388 PyObject
* obj0
= 0 ;
15389 PyObject
* obj1
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self",(char *) "bmp", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15397 if (arg2
== NULL
) {
15398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15414 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15417 wxBitmap
*arg2
= 0 ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self",(char *) "bmp", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15427 if (arg2
== NULL
) {
15428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 Py_INCREF(Py_None
); resultobj
= Py_None
;
15444 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15447 wxString
*arg2
= 0 ;
15448 bool temp2
= False
;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self",(char *) "label", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15458 arg2
= wxString_in_helper(obj1
);
15459 if (arg2
== NULL
) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 (arg1
)->SetLabel((wxString
const &)*arg2
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 Py_INCREF(Py_None
); resultobj
= Py_None
;
15484 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 Py_INCREF(Py_None
); resultobj
= Py_None
;
15508 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15511 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 char *kwnames
[] = {
15515 (char *) "self",(char *) "tbar", NULL
15518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 (arg1
)->Attach(arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 Py_INCREF(Py_None
); resultobj
= Py_None
;
15535 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
;
15560 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15563 PyObject
*arg2
= (PyObject
*) 0 ;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self",(char *) "clientData", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15590 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15592 return Py_BuildValue((char *)"");
15594 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15598 wxString
*arg3
= 0 ;
15599 wxBitmap
*arg4
= 0 ;
15600 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15601 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15602 int arg6
= (int) wxITEM_NORMAL
;
15603 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15605 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15606 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15607 PyObject
*arg9
= (PyObject
*) NULL
;
15608 wxToolBarToolBase
*result
;
15609 bool temp3
= False
;
15610 bool temp7
= False
;
15611 bool temp8
= False
;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 PyObject
* obj2
= 0 ;
15615 PyObject
* obj3
= 0 ;
15616 PyObject
* obj4
= 0 ;
15617 PyObject
* obj5
= 0 ;
15618 PyObject
* obj6
= 0 ;
15619 PyObject
* obj7
= 0 ;
15620 PyObject
* obj8
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 arg3
= wxString_in_helper(obj2
);
15633 if (arg3
== NULL
) SWIG_fail
;
15636 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15637 if (arg4
== NULL
) {
15638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15641 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15642 if (arg5
== NULL
) {
15643 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15648 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15654 arg7
= wxString_in_helper(obj6
);
15655 if (arg7
== NULL
) SWIG_fail
;
15661 arg8
= wxString_in_helper(obj7
);
15662 if (arg8
== NULL
) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 resultobj
= wxPyMake_wxObject(result
);
15709 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15714 wxString
*arg4
= 0 ;
15715 wxBitmap
*arg5
= 0 ;
15716 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15717 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15718 int arg7
= (int) wxITEM_NORMAL
;
15719 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15720 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15721 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15722 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15723 PyObject
*arg10
= (PyObject
*) NULL
;
15724 wxToolBarToolBase
*result
;
15725 bool temp4
= False
;
15726 bool temp8
= False
;
15727 bool temp9
= False
;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 PyObject
* obj2
= 0 ;
15731 PyObject
* obj3
= 0 ;
15732 PyObject
* obj4
= 0 ;
15733 PyObject
* obj5
= 0 ;
15734 PyObject
* obj6
= 0 ;
15735 PyObject
* obj7
= 0 ;
15736 PyObject
* obj8
= 0 ;
15737 PyObject
* obj9
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15745 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 arg4
= wxString_in_helper(obj3
);
15754 if (arg4
== NULL
) SWIG_fail
;
15757 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15758 if (arg5
== NULL
) {
15759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15762 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15763 if (arg6
== NULL
) {
15764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15769 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15775 arg8
= wxString_in_helper(obj7
);
15776 if (arg8
== NULL
) SWIG_fail
;
15782 arg9
= wxString_in_helper(obj8
);
15783 if (arg9
== NULL
) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 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
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= wxPyMake_wxObject(result
);
15830 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15833 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15834 wxToolBarToolBase
*result
;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "tool", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= wxPyMake_wxObject(result
);
15860 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15864 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15865 wxToolBarToolBase
*result
;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 PyObject
* obj2
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "pos",(char *) "tool", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15876 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= wxPyMake_wxObject(result
);
15896 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15899 wxControl
*arg2
= (wxControl
*) 0 ;
15900 wxToolBarToolBase
*result
;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "control", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= wxPyMake_wxObject(result
);
15926 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15930 wxControl
*arg3
= (wxControl
*) 0 ;
15931 wxToolBarToolBase
*result
;
15932 PyObject
* obj0
= 0 ;
15933 PyObject
* obj1
= 0 ;
15934 PyObject
* obj2
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self",(char *) "pos",(char *) "control", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15942 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= wxPyMake_wxObject(result
);
15962 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self",(char *) "id", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15976 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= wxPyMake_wxObject(result
);
15995 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15998 wxToolBarToolBase
*result
;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= wxPyMake_wxObject(result
);
16022 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16026 wxToolBarToolBase
*result
;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self",(char *) "pos", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16036 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= wxPyMake_wxObject(result
);
16055 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16059 wxToolBarToolBase
*result
;
16060 PyObject
* obj0
= 0 ;
16061 PyObject
* obj1
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self",(char *) "id", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16069 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= wxPyMake_wxObject(result
);
16088 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "pos", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16102 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16119 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "id", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16133 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 result
= (bool)(arg1
)->DeleteTool(arg2
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16150 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 (arg1
)->ClearTools();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 Py_INCREF(Py_None
); resultobj
= Py_None
;
16174 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (bool)(arg1
)->Realize();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 PyObject
* obj2
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "id",(char *) "enable", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16214 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 (arg1
)->EnableTool(arg2
,arg3
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 Py_INCREF(Py_None
); resultobj
= Py_None
;
16235 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 PyObject
* obj2
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self",(char *) "id",(char *) "toggle", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16250 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->ToggleTool(arg2
,arg3
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16271 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 PyObject
* obj2
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "id",(char *) "toggle", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 (arg1
)->SetToggle(arg2
,arg3
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 Py_INCREF(Py_None
); resultobj
= Py_None
;
16307 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
;
16309 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 PyObject
* obj1
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self",(char *) "id", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16321 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
;
16338 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16342 PyObject
*arg3
= (PyObject
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 PyObject
* obj2
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "id",(char *) "clientData", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16353 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 Py_INCREF(Py_None
); resultobj
= Py_None
;
16371 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj1
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "id", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16385 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= SWIG_PyObj_FromInt((int)result
);
16402 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self",(char *) "id", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)(arg1
)->GetToolState(arg2
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16433 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self",(char *) "id", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16447 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16464 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16468 wxString
*arg3
= 0 ;
16469 bool temp3
= False
;
16470 PyObject
* obj0
= 0 ;
16471 PyObject
* obj1
= 0 ;
16472 PyObject
* obj2
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self",(char *) "id",(char *) "helpString", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16480 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16484 arg3
= wxString_in_helper(obj2
);
16485 if (arg3
== NULL
) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 Py_INCREF(Py_None
); resultobj
= Py_None
;
16510 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "id", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16524 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (arg1
)->GetToolShortHelp(arg2
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16547 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16551 wxString
*arg3
= 0 ;
16552 bool temp3
= False
;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 PyObject
* obj2
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self",(char *) "id",(char *) "helpString", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 arg3
= wxString_in_helper(obj2
);
16568 if (arg3
== NULL
) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 Py_INCREF(Py_None
); resultobj
= Py_None
;
16593 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self",(char *) "id", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (arg1
)->GetToolLongHelp(arg2
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16630 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 PyObject
* obj2
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self",(char *) "x",(char *) "y", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16645 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 (arg1
)->SetMargins(arg2
,arg3
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self",(char *) "size", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16681 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 Py_INCREF(Py_None
); resultobj
= Py_None
;
16697 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16699 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "self",(char *) "packing", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16710 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 (arg1
)->SetToolPacking(arg2
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 Py_INCREF(Py_None
); resultobj
= Py_None
;
16727 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self",(char *) "separation", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16740 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->SetToolSeparation(arg2
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 Py_INCREF(Py_None
); resultobj
= Py_None
;
16757 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16761 PyObject
* obj0
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "self", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (arg1
)->GetToolMargins();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 wxSize
* resultptr
;
16777 resultptr
= new wxSize((wxSize
&) result
);
16778 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16786 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (arg1
)->GetMargins();
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16805 wxSize
* resultptr
;
16806 resultptr
= new wxSize((wxSize
&) result
);
16807 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16815 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (int)(arg1
)->GetToolPacking();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= SWIG_PyObj_FromInt((int)result
);
16840 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (int)(arg1
)->GetToolSeparation();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_PyObj_FromInt((int)result
);
16865 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self",(char *) "nRows", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16878 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 (arg1
)->SetRows(arg2
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 PyObject
* obj2
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "rows",(char *) "cols", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16910 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16935 PyObject
* obj0
= 0 ;
16936 char *kwnames
[] = {
16937 (char *) "self", NULL
16940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (int)(arg1
)->GetMaxRows();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_PyObj_FromInt((int)result
);
16956 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (int)(arg1
)->GetMaxCols();
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= SWIG_PyObj_FromInt((int)result
);
16981 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self",(char *) "size", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16996 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 Py_INCREF(Py_None
); resultobj
= Py_None
;
17012 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "self", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= (arg1
)->GetToolBitmapSize();
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 wxSize
* resultptr
;
17032 resultptr
= new wxSize((wxSize
&) result
);
17033 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17041 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (arg1
)->GetToolSize();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17060 wxSize
* resultptr
;
17061 resultptr
= new wxSize((wxSize
&) result
);
17062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17070 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17075 wxToolBarToolBase
*result
;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 PyObject
* obj2
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "x",(char *) "y", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= wxPyMake_wxObject(result
);
17109 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17113 wxToolBarToolBase
*result
;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "toolid", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17123 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= wxPyMake_wxObject(result
);
17142 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (bool)(arg1
)->IsVertical();
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17167 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17170 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17172 return Py_BuildValue((char *)"");
17174 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxWindow
*arg1
= (wxWindow
*) 0 ;
17178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17182 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17183 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17184 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17188 bool temp6
= False
;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 PyObject
* obj2
= 0 ;
17192 PyObject
* obj3
= 0 ;
17193 PyObject
* obj4
= 0 ;
17194 PyObject
* obj5
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17202 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17219 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17225 arg6
= wxString_in_helper(obj5
);
17226 if (arg6
== NULL
) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= wxPyMake_wxObject(result
);
17254 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17257 char *kwnames
[] = {
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (wxToolBar
*)new wxToolBar();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= wxPyMake_wxObject(result
);
17278 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17281 wxWindow
*arg2
= (wxWindow
*) 0 ;
17283 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17284 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17285 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17286 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17287 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17288 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17289 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17293 bool temp7
= False
;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 PyObject
* obj3
= 0 ;
17298 PyObject
* obj4
= 0 ;
17299 PyObject
* obj5
= 0 ;
17300 PyObject
* obj6
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17309 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17326 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17332 arg7
= wxString_in_helper(obj6
);
17333 if (arg7
== NULL
) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17359 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17364 wxToolBarToolBase
*result
;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 PyObject
* obj2
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self",(char *) "x",(char *) "y", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= wxPyMake_wxObject(result
);
17398 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17401 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17403 return Py_BuildValue((char *)"");
17405 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17406 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17411 static PyObject
*_wrap_ListCtrlNameStr_get() {
17416 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17418 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17425 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxColour
const &arg1_defvalue
= wxNullColour
;
17428 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17429 wxColour
const &arg2_defvalue
= wxNullColour
;
17430 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17431 wxFont
const &arg3_defvalue
= wxNullFont
;
17432 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17433 wxListItemAttr
*result
;
17436 PyObject
* obj0
= 0 ;
17437 PyObject
* obj1
= 0 ;
17438 PyObject
* obj2
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17447 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17457 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 if (arg3
== NULL
) {
17459 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17476 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17479 wxColour
*arg2
= 0 ;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self",(char *) "colText", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 Py_INCREF(Py_None
); resultobj
= Py_None
;
17507 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17510 wxColour
*arg2
= 0 ;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self",(char *) "colBack", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17522 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 Py_INCREF(Py_None
); resultobj
= Py_None
;
17538 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "font", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17551 if (arg2
== NULL
) {
17552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->SetFont((wxFont
const &)*arg2
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (bool)(arg1
)->HasTextColour();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17593 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= (bool)(arg1
)->HasBackgroundColour();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17618 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 result
= (bool)(arg1
)->HasFont();
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17643 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17647 PyObject
* obj0
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (arg1
)->GetTextColour();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 wxColour
* resultptr
;
17663 resultptr
= new wxColour((wxColour
&) result
);
17664 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17672 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (arg1
)->GetBackgroundColour();
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17691 wxColour
* resultptr
;
17692 resultptr
= new wxColour((wxColour
&) result
);
17693 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17701 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (arg1
)->GetFont();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17720 wxFont
* resultptr
;
17721 resultptr
= new wxFont((wxFont
&) result
);
17722 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17730 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",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 wxListItemAttr_Destroy(arg1
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 Py_INCREF(Py_None
); resultobj
= Py_None
;
17754 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17757 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17759 return Py_BuildValue((char *)"");
17761 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxListItem
*result
;
17764 char *kwnames
[] = {
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (wxListItem
*)new wxListItem();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= wxPyMake_wxObject(result
);
17785 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxListItem
*arg1
= (wxListItem
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 Py_INCREF(Py_None
); resultobj
= Py_None
;
17809 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxListItem
*arg1
= (wxListItem
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 Py_INCREF(Py_None
); resultobj
= Py_None
;
17833 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxListItem
*arg1
= (wxListItem
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 (arg1
)->ClearAttributes();
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 Py_INCREF(Py_None
); resultobj
= Py_None
;
17857 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxListItem
*arg1
= (wxListItem
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self",(char *) "mask", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17870 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 (arg1
)->SetMask(arg2
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 Py_INCREF(Py_None
); resultobj
= Py_None
;
17887 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxListItem
*arg1
= (wxListItem
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self",(char *) "id", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17900 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->SetId(arg2
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 Py_INCREF(Py_None
); resultobj
= Py_None
;
17917 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxListItem
*arg1
= (wxListItem
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self",(char *) "col", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->SetColumn(arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxListItem
*arg1
= (wxListItem
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "state", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17960 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->SetState(arg2
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxListItem
*arg1
= (wxListItem
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "stateMask", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17990 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 (arg1
)->SetStateMask(arg2
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 Py_INCREF(Py_None
); resultobj
= Py_None
;
18007 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxListItem
*arg1
= (wxListItem
*) 0 ;
18010 wxString
*arg2
= 0 ;
18011 bool temp2
= False
;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self",(char *) "text", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18021 arg2
= wxString_in_helper(obj1
);
18022 if (arg2
== NULL
) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 (arg1
)->SetText((wxString
const &)*arg2
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 Py_INCREF(Py_None
); resultobj
= Py_None
;
18047 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxListItem
*arg1
= (wxListItem
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "image", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 (arg1
)->SetImage(arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 Py_INCREF(Py_None
); resultobj
= Py_None
;
18077 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxListItem
*arg1
= (wxListItem
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self",(char *) "data", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18090 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->SetData(arg2
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxListItem
*arg1
= (wxListItem
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 PyObject
* obj1
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self",(char *) "width", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18120 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 (arg1
)->SetWidth(arg2
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxListItem
*arg1
= (wxListItem
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self",(char *) "align", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18150 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 Py_INCREF(Py_None
); resultobj
= Py_None
;
18167 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxListItem
*arg1
= (wxListItem
*) 0 ;
18170 wxColour
*arg2
= 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self",(char *) "colText", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18198 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxListItem
*arg1
= (wxListItem
*) 0 ;
18201 wxColour
*arg2
= 0 ;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self",(char *) "colBack", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18213 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 Py_INCREF(Py_None
); resultobj
= Py_None
;
18229 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxListItem
*arg1
= (wxListItem
*) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self",(char *) "font", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18242 if (arg2
== NULL
) {
18243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 (arg1
)->SetFont((wxFont
const &)*arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 Py_INCREF(Py_None
); resultobj
= Py_None
;
18259 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxListItem
*arg1
= (wxListItem
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (long)(arg1
)->GetMask();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_PyObj_FromLong((long)result
);
18284 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxListItem
*arg1
= (wxListItem
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (long)(arg1
)->GetId();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_PyObj_FromLong((long)result
);
18309 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxListItem
*arg1
= (wxListItem
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (int)(arg1
)->GetColumn();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_PyObj_FromInt((int)result
);
18334 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxListItem
*arg1
= (wxListItem
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (long)(arg1
)->GetState();
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= SWIG_PyObj_FromLong((long)result
);
18359 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxListItem
*arg1
= (wxListItem
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 wxString
const &_result_ref
= (arg1
)->GetText();
18374 result
= (wxString
*) &_result_ref
;
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18384 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18393 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxListItem
*arg1
= (wxListItem
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (int)(arg1
)->GetImage();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_PyObj_FromInt((int)result
);
18418 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxListItem
*arg1
= (wxListItem
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (long)(arg1
)->GetData();
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_PyObj_FromLong((long)result
);
18443 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxListItem
*arg1
= (wxListItem
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 result
= (int)(arg1
)->GetWidth();
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_PyObj_FromInt((int)result
);
18468 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxListItem
*arg1
= (wxListItem
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (int)(arg1
)->GetAlign();
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_PyObj_FromInt((int)result
);
18493 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
;
18495 wxListItem
*arg1
= (wxListItem
*) 0 ;
18496 wxListItemAttr
*result
;
18497 PyObject
* obj0
= 0 ;
18498 char *kwnames
[] = {
18499 (char *) "self", NULL
18502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18518 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxListItem
*arg1
= (wxListItem
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (bool)(arg1
)->HasAttributes();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18543 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxListItem
*arg1
= (wxListItem
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18562 wxColour
* resultptr
;
18563 resultptr
= new wxColour((wxColour
&) result
);
18564 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18572 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxListItem
*arg1
= (wxListItem
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 wxColour
* resultptr
;
18592 resultptr
= new wxColour((wxColour
&) result
);
18593 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18601 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxListItem
*arg1
= (wxListItem
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= ((wxListItem
const *)arg1
)->GetFont();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 wxFont
* resultptr
;
18621 resultptr
= new wxFont((wxFont
&) result
);
18622 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18630 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxListItem
*arg1
= (wxListItem
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 PyObject
* obj1
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self",(char *) "m_mask", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18643 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 if (arg1
) (arg1
)->m_mask
= arg2
;
18648 Py_INCREF(Py_None
); resultobj
= Py_None
;
18655 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxListItem
*arg1
= (wxListItem
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18666 result
= (long) ((arg1
)->m_mask
);
18668 resultobj
= SWIG_PyObj_FromLong((long)result
);
18675 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxListItem
*arg1
= (wxListItem
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "m_itemId", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18688 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 if (arg1
) (arg1
)->m_itemId
= arg2
;
18693 Py_INCREF(Py_None
); resultobj
= Py_None
;
18700 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxListItem
*arg1
= (wxListItem
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18711 result
= (long) ((arg1
)->m_itemId
);
18713 resultobj
= SWIG_PyObj_FromLong((long)result
);
18720 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxListItem
*arg1
= (wxListItem
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self",(char *) "m_col", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 if (arg1
) (arg1
)->m_col
= arg2
;
18738 Py_INCREF(Py_None
); resultobj
= Py_None
;
18745 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxListItem
*arg1
= (wxListItem
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18756 result
= (int) ((arg1
)->m_col
);
18758 resultobj
= SWIG_PyObj_FromInt((int)result
);
18765 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxListItem
*arg1
= (wxListItem
*) 0 ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "m_state", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18778 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 if (arg1
) (arg1
)->m_state
= arg2
;
18783 Py_INCREF(Py_None
); resultobj
= Py_None
;
18790 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxListItem
*arg1
= (wxListItem
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18801 result
= (long) ((arg1
)->m_state
);
18803 resultobj
= SWIG_PyObj_FromLong((long)result
);
18810 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxListItem
*arg1
= (wxListItem
*) 0 ;
18814 PyObject
* obj0
= 0 ;
18815 PyObject
* obj1
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self",(char *) "m_stateMask", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18823 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18828 Py_INCREF(Py_None
); resultobj
= Py_None
;
18835 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxListItem
*arg1
= (wxListItem
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18846 result
= (long) ((arg1
)->m_stateMask
);
18848 resultobj
= SWIG_PyObj_FromLong((long)result
);
18855 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxListItem
*arg1
= (wxListItem
*) 0 ;
18858 wxString
*arg2
= (wxString
*) 0 ;
18859 bool temp2
= False
;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "m_text", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18869 arg2
= wxString_in_helper(obj1
);
18870 if (arg2
== NULL
) SWIG_fail
;
18873 if (arg1
) (arg1
)->m_text
= *arg2
;
18875 Py_INCREF(Py_None
); resultobj
= Py_None
;
18890 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxListItem
*arg1
= (wxListItem
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18901 result
= (wxString
*)& ((arg1
)->m_text
);
18905 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18907 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18916 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxListItem
*arg1
= (wxListItem
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self",(char *) "m_image", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18929 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 if (arg1
) (arg1
)->m_image
= arg2
;
18934 Py_INCREF(Py_None
); resultobj
= Py_None
;
18941 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxListItem
*arg1
= (wxListItem
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18952 result
= (int) ((arg1
)->m_image
);
18954 resultobj
= SWIG_PyObj_FromInt((int)result
);
18961 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
;
18963 wxListItem
*arg1
= (wxListItem
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self",(char *) "m_data", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18974 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 if (arg1
) (arg1
)->m_data
= arg2
;
18979 Py_INCREF(Py_None
); resultobj
= Py_None
;
18986 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxListItem
*arg1
= (wxListItem
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18997 result
= (long) ((arg1
)->m_data
);
18999 resultobj
= SWIG_PyObj_FromLong((long)result
);
19006 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxListItem
*arg1
= (wxListItem
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "m_format", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19019 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 if (arg1
) (arg1
)->m_format
= arg2
;
19024 Py_INCREF(Py_None
); resultobj
= Py_None
;
19031 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
;
19033 wxListItem
*arg1
= (wxListItem
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19042 result
= (int) ((arg1
)->m_format
);
19044 resultobj
= SWIG_PyObj_FromInt((int)result
);
19051 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxListItem
*arg1
= (wxListItem
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 PyObject
* obj1
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self",(char *) "m_width", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19064 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 if (arg1
) (arg1
)->m_width
= arg2
;
19069 Py_INCREF(Py_None
); resultobj
= Py_None
;
19076 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxListItem
*arg1
= (wxListItem
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19087 result
= (int) ((arg1
)->m_width
);
19089 resultobj
= SWIG_PyObj_FromInt((int)result
);
19096 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19099 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19101 return Py_BuildValue((char *)"");
19103 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19106 int arg2
= (int) 0 ;
19107 wxListEvent
*result
;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "commandType",(char *) "id", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19117 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19123 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19141 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "m_code", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 if (arg1
) (arg1
)->m_code
= arg2
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19177 result
= (int) ((arg1
)->m_code
);
19179 resultobj
= SWIG_PyObj_FromInt((int)result
);
19186 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "m_oldItemIndex", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19199 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19204 Py_INCREF(Py_None
); resultobj
= Py_None
;
19211 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19222 result
= (long) ((arg1
)->m_oldItemIndex
);
19224 resultobj
= SWIG_PyObj_FromLong((long)result
);
19231 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "m_itemIndex", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19244 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19267 result
= (long) ((arg1
)->m_itemIndex
);
19269 resultobj
= SWIG_PyObj_FromLong((long)result
);
19276 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "m_col", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19289 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 if (arg1
) (arg1
)->m_col
= arg2
;
19294 Py_INCREF(Py_None
); resultobj
= Py_None
;
19301 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19312 result
= (int) ((arg1
)->m_col
);
19314 resultobj
= SWIG_PyObj_FromInt((int)result
);
19321 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19324 wxPoint
*arg2
= (wxPoint
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "m_pointDrag", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19334 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19343 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19347 PyObject
* obj0
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19354 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19363 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19366 wxListItem
*result
;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19374 result
= (wxListItem
*)& ((arg1
)->m_item
);
19377 resultobj
= wxPyMake_wxObject(result
);
19385 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (int)(arg1
)->GetKeyCode();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= SWIG_PyObj_FromInt((int)result
);
19410 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 result
= (long)(arg1
)->GetIndex();
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_PyObj_FromLong((long)result
);
19435 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (int)(arg1
)->GetColumn();
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= SWIG_PyObj_FromInt((int)result
);
19460 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 result
= (arg1
)->GetPoint();
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19479 wxPoint
* resultptr
;
19480 resultptr
= new wxPoint((wxPoint
&) result
);
19481 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19489 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19493 PyObject
* obj0
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 wxString
const &_result_ref
= (arg1
)->GetLabel();
19504 result
= (wxString
*) &_result_ref
;
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19514 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19523 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 wxString
const &_result_ref
= (arg1
)->GetText();
19538 result
= (wxString
*) &_result_ref
;
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19548 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19557 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= (int)(arg1
)->GetImage();
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= SWIG_PyObj_FromInt((int)result
);
19582 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (long)(arg1
)->GetData();
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_PyObj_FromLong((long)result
);
19607 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (long)(arg1
)->GetMask();
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_PyObj_FromLong((long)result
);
19632 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19635 wxListItem
*result
;
19636 PyObject
* obj0
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19647 result
= (wxListItem
*) &_result_ref
;
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19660 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (long)(arg1
)->GetCacheFrom();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_PyObj_FromLong((long)result
);
19685 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 result
= (long)(arg1
)->GetCacheTo();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_PyObj_FromLong((long)result
);
19710 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19714 PyObject
* obj0
= 0 ;
19715 char *kwnames
[] = {
19716 (char *) "self", NULL
19719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19735 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "editCancelled", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19748 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 (arg1
)->SetEditCanceled(arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19765 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19768 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19770 return Py_BuildValue((char *)"");
19772 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxWindow
*arg1
= (wxWindow
*) 0 ;
19775 int arg2
= (int) -1 ;
19776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19780 long arg5
= (long) wxLC_ICON
;
19781 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19782 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19783 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19784 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19785 wxPyListCtrl
*result
;
19788 bool temp7
= False
;
19789 PyObject
* obj0
= 0 ;
19790 PyObject
* obj1
= 0 ;
19791 PyObject
* obj2
= 0 ;
19792 PyObject
* obj3
= 0 ;
19793 PyObject
* obj4
= 0 ;
19794 PyObject
* obj5
= 0 ;
19795 PyObject
* obj6
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19804 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19817 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19822 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19827 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19828 if (arg6
== NULL
) {
19829 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19834 arg7
= wxString_in_helper(obj6
);
19835 if (arg7
== NULL
) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19861 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxPyListCtrl
*result
;
19864 char *kwnames
[] = {
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19883 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19886 wxWindow
*arg2
= (wxWindow
*) 0 ;
19887 int arg3
= (int) -1 ;
19888 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19889 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19890 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19891 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19892 long arg6
= (long) wxLC_ICON
;
19893 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19894 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19895 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19896 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19900 bool temp8
= False
;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 PyObject
* obj2
= 0 ;
19904 PyObject
* obj3
= 0 ;
19905 PyObject
* obj4
= 0 ;
19906 PyObject
* obj5
= 0 ;
19907 PyObject
* obj6
= 0 ;
19908 PyObject
* obj7
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19918 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19936 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19941 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19942 if (arg7
== NULL
) {
19943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19948 arg8
= wxString_in_helper(obj7
);
19949 if (arg8
== NULL
) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19978 PyObject
*arg2
= (PyObject
*) 0 ;
19979 PyObject
*arg3
= (PyObject
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 PyObject
* obj2
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self",(char *) "self",(char *) "_class", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 Py_INCREF(Py_None
); resultobj
= Py_None
;
20005 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20008 wxColour
*arg2
= 0 ;
20011 PyObject
* obj0
= 0 ;
20012 PyObject
* obj1
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self",(char *) "col", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20021 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20037 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20040 wxColour
*arg2
= 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "col", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20069 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20073 wxListItem
*result
;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self",(char *) "col", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= wxPyMake_wxObject(result
);
20102 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20106 wxListItem
*arg3
= 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 PyObject
* obj2
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self",(char *) "col",(char *) "item", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20118 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20122 if (arg3
== NULL
) {
20123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20139 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
;
20141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self",(char *) "col", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20153 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_PyObj_FromInt((int)result
);
20170 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 PyObject
* obj2
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "col",(char *) "width", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20186 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20190 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20207 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= SWIG_PyObj_FromInt((int)result
);
20232 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20251 wxRect
* resultptr
;
20252 resultptr
= new wxRect((wxRect
&) result
);
20253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20261 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20265 int arg3
= (int) 0 ;
20266 wxListItem
*result
;
20267 PyObject
* obj0
= 0 ;
20268 PyObject
* obj1
= 0 ;
20269 PyObject
* obj2
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self",(char *) "itemId",(char *) "col", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20282 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= wxPyMake_wxObject(result
);
20302 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20305 wxListItem
*arg2
= 0 ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self",(char *) "info", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20316 if (arg2
== NULL
) {
20317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)(arg1
)->SetItem(*arg2
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20333 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20338 wxString
*arg4
= 0 ;
20339 int arg5
= (int) -1 ;
20341 bool temp4
= False
;
20342 PyObject
* obj0
= 0 ;
20343 PyObject
* obj1
= 0 ;
20344 PyObject
* obj2
= 0 ;
20345 PyObject
* obj3
= 0 ;
20346 PyObject
* obj4
= 0 ;
20347 char *kwnames
[] = {
20348 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20354 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20358 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20362 arg4
= wxString_in_helper(obj3
);
20363 if (arg4
== NULL
) SWIG_fail
;
20368 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= SWIG_PyObj_FromLong((long)result
);
20394 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20400 PyObject
* obj0
= 0 ;
20401 PyObject
* obj1
= 0 ;
20402 PyObject
* obj2
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20410 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_PyObj_FromInt((int)result
);
20431 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 PyObject
* obj2
= 0 ;
20441 PyObject
* obj3
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20449 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20453 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20457 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20474 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 PyObject
* obj2
= 0 ;
20484 PyObject
* obj3
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20492 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20496 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20500 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20517 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 PyObject
* obj1
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "item", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20531 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20554 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20558 wxString
*arg3
= 0 ;
20559 bool temp3
= False
;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 PyObject
* obj2
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self",(char *) "item",(char *) "str", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20570 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20574 arg3
= wxString_in_helper(obj2
);
20575 if (arg3
== NULL
) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20600 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self",(char *) "item", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20614 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= SWIG_PyObj_FromLong((long)result
);
20631 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 PyObject
* obj2
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self",(char *) "item",(char *) "data", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20647 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20651 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20668 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 PyObject
* obj1
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self",(char *) "item", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20682 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20693 wxPoint
* resultptr
;
20694 resultptr
= new wxPoint((wxPoint
&) result
);
20695 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20703 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20707 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 PyObject
* obj2
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self",(char *) "item",(char *) "code", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20719 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20724 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 wxRect
* resultptr
;
20737 resultptr
= new wxRect((wxRect
&) result
);
20738 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20746 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20750 wxPoint
*arg3
= 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self",(char *) "item",(char *) "pos", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20763 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20784 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_PyObj_FromInt((int)result
);
20809 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= SWIG_PyObj_FromInt((int)result
);
20834 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20853 wxSize
* resultptr
;
20854 resultptr
= new wxSize((wxSize
&) result
);
20855 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20863 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20867 bool arg3
= (bool) False
;
20868 PyObject
* obj0
= 0 ;
20869 PyObject
* obj1
= 0 ;
20870 PyObject
* obj2
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20878 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20883 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 (arg1
)->SetItemSpacing(arg2
,arg3
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 Py_INCREF(Py_None
); resultobj
= Py_None
;
20901 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_PyObj_FromInt((int)result
);
20926 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
;
20928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 wxColour
* resultptr
;
20946 resultptr
= new wxColour((wxColour
&) result
);
20947 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20955 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20958 wxColour
*arg2
= 0 ;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self",(char *) "col", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_PyObj_FromLong((long)result
);
21011 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21015 bool arg3
= (bool) True
;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 PyObject
* obj2
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self",(char *) "style",(char *) "add", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21026 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21031 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 (arg1
)->SetSingleStyle(arg2
,arg3
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 Py_INCREF(Py_None
); resultobj
= Py_None
;
21049 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "style", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 (arg1
)->SetWindowStyleFlag(arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 Py_INCREF(Py_None
); resultobj
= Py_None
;
21079 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21083 int arg3
= (int) wxLIST_NEXT_ALL
;
21084 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 PyObject
* obj2
= 0 ;
21089 PyObject
* obj3
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21097 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21102 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21108 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_PyObj_FromLong((long)result
);
21126 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21130 wxImageList
*result
;
21131 PyObject
* obj0
= 0 ;
21132 PyObject
* obj1
= 0 ;
21133 char *kwnames
[] = {
21134 (char *) "self",(char *) "which", NULL
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21140 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= wxPyMake_wxObject(result
);
21159 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21162 wxImageList
*arg2
= (wxImageList
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 PyObject
* obj2
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self",(char *) "imageList",(char *) "which", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21175 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 (arg1
)->SetImageList(arg2
,arg3
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 Py_INCREF(Py_None
); resultobj
= Py_None
;
21192 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21195 wxImageList
*arg2
= (wxImageList
*) 0 ;
21197 PyObject
* obj0
= 0 ;
21198 PyObject
* obj1
= 0 ;
21199 PyObject
* obj2
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self",(char *) "imageList",(char *) "which", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21208 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 (arg1
)->AssignImageList(arg2
,arg3
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 Py_INCREF(Py_None
); resultobj
= Py_None
;
21225 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21250 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "item", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 (arg1
)->RefreshItem(arg2
);
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21273 Py_INCREF(Py_None
); resultobj
= Py_None
;
21280 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 PyObject
* obj2
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21295 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 (arg1
)->RefreshItems(arg2
,arg3
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 Py_INCREF(Py_None
); resultobj
= Py_None
;
21316 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
;
21318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21319 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "flag", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21331 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (bool)(arg1
)->Arrange(arg2
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21349 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "item", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21363 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (bool)(arg1
)->DeleteItem(arg2
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21380 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (bool)(arg1
)->DeleteAllItems();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21405 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "col", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21419 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21436 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 result
= (bool)(arg1
)->DeleteAllColumns();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21461 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->ClearAll();
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "item", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21498 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 (arg1
)->EditLabel(arg2
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 Py_INCREF(Py_None
); resultobj
= Py_None
;
21515 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "item", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21529 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21546 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21550 wxString
*arg3
= 0 ;
21551 bool arg4
= (bool) False
;
21553 bool temp3
= False
;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 PyObject
* obj2
= 0 ;
21557 PyObject
* obj3
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21565 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 arg3
= wxString_in_helper(obj2
);
21570 if (arg3
== NULL
) SWIG_fail
;
21575 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_PyObj_FromLong((long)result
);
21601 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 PyObject
* obj2
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "start",(char *) "data", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21617 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= SWIG_PyObj_FromLong((long)result
);
21638 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21642 wxPoint
*arg3
= 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 PyObject
* obj3
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21657 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21665 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_PyObj_FromLong((long)result
);
21682 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21685 wxPoint
*arg2
= 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "point", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_PyObj_FromLong((long)result
);
21712 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21713 resultobj
= t_output_helper(resultobj
,o
);
21721 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21724 wxListItem
*arg2
= 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "info", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21735 if (arg2
== NULL
) {
21736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (long)(arg1
)->InsertItem(*arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_PyObj_FromLong((long)result
);
21752 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21756 wxString
*arg3
= 0 ;
21758 bool temp3
= False
;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 PyObject
* obj2
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "index",(char *) "label", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21769 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 arg3
= wxString_in_helper(obj2
);
21774 if (arg3
== NULL
) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= SWIG_PyObj_FromLong((long)result
);
21799 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21805 PyObject
* obj0
= 0 ;
21806 PyObject
* obj1
= 0 ;
21807 PyObject
* obj2
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21815 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_PyObj_FromLong((long)result
);
21836 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21840 wxString
*arg3
= 0 ;
21843 bool temp3
= False
;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 PyObject
* obj2
= 0 ;
21847 PyObject
* obj3
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21855 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 arg3
= wxString_in_helper(obj2
);
21860 if (arg3
== NULL
) SWIG_fail
;
21864 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_PyObj_FromLong((long)result
);
21889 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21893 wxListItem
*arg3
= 0 ;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 PyObject
* obj2
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "col",(char *) "info", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21905 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21909 if (arg3
== NULL
) {
21910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_PyObj_FromLong((long)result
);
21926 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21930 wxString
*arg3
= 0 ;
21931 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21932 int arg5
= (int) -1 ;
21934 bool temp3
= False
;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 PyObject
* obj2
= 0 ;
21938 PyObject
* obj3
= 0 ;
21939 PyObject
* obj4
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21947 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21951 arg3
= wxString_in_helper(obj2
);
21952 if (arg3
== NULL
) SWIG_fail
;
21957 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21963 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_PyObj_FromLong((long)result
);
21989 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "count", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22002 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 (arg1
)->SetItemCount(arg2
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 Py_INCREF(Py_None
); resultobj
= Py_None
;
22019 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 PyObject
* obj2
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "dx",(char *) "dy", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22039 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22060 wxColour
*arg3
= 0 ;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "item",(char *) "col", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22072 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22077 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 Py_INCREF(Py_None
); resultobj
= Py_None
;
22093 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 PyObject
* obj1
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self",(char *) "item", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22107 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22118 wxColour
* resultptr
;
22119 resultptr
= new wxColour((wxColour
&) result
);
22120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22128 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22132 wxColour
*arg3
= 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 PyObject
* obj2
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "item",(char *) "col", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22144 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22149 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 Py_INCREF(Py_None
); resultobj
= Py_None
;
22165 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "item", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22179 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 wxColour
* resultptr
;
22191 resultptr
= new wxColour((wxColour
&) result
);
22192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22200 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22203 PyObject
*arg2
= (PyObject
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 PyObject
* obj1
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self",(char *) "func", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22228 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= wxPyMake_wxObject(result
);
22255 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22258 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22260 return Py_BuildValue((char *)"");
22262 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxWindow
*arg1
= (wxWindow
*) 0 ;
22265 int arg2
= (int) -1 ;
22266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22270 long arg5
= (long) wxLC_REPORT
;
22271 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22272 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22273 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22275 wxListView
*result
;
22278 bool temp7
= False
;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 PyObject
* obj2
= 0 ;
22282 PyObject
* obj3
= 0 ;
22283 PyObject
* obj4
= 0 ;
22284 PyObject
* obj5
= 0 ;
22285 PyObject
* obj6
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22307 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22312 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22317 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22318 if (arg6
== NULL
) {
22319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22324 arg7
= wxString_in_helper(obj6
);
22325 if (arg7
== NULL
) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22351 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxListView
*result
;
22354 char *kwnames
[] = {
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (wxListView
*)new wxListView();
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22373 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxListView
*arg1
= (wxListView
*) 0 ;
22376 wxWindow
*arg2
= (wxWindow
*) 0 ;
22377 int arg3
= (int) -1 ;
22378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22382 long arg6
= (long) wxLC_REPORT
;
22383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22385 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22390 bool temp8
= False
;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 PyObject
* obj2
= 0 ;
22394 PyObject
* obj3
= 0 ;
22395 PyObject
* obj4
= 0 ;
22396 PyObject
* obj5
= 0 ;
22397 PyObject
* obj6
= 0 ;
22398 PyObject
* obj7
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22408 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22426 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22431 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22432 if (arg7
== NULL
) {
22433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22438 arg8
= wxString_in_helper(obj7
);
22439 if (arg8
== NULL
) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22465 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxListView
*arg1
= (wxListView
*) 0 ;
22469 bool arg3
= (bool) True
;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 PyObject
* obj2
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self",(char *) "n",(char *) "on", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22480 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22485 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 (arg1
)->Select(arg2
,arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 Py_INCREF(Py_None
); resultobj
= Py_None
;
22503 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxListView
*arg1
= (wxListView
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 PyObject
* obj1
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self",(char *) "index", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22516 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 (arg1
)->Focus(arg2
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 Py_INCREF(Py_None
); resultobj
= Py_None
;
22533 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxListView
*arg1
= (wxListView
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_PyObj_FromLong((long)result
);
22558 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxListView
*arg1
= (wxListView
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "item", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22572 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_PyObj_FromLong((long)result
);
22589 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
;
22591 wxListView
*arg1
= (wxListView
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_PyObj_FromLong((long)result
);
22614 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxListView
*arg1
= (wxListView
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "index", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22628 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= (bool)(arg1
)->IsSelected(arg2
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22645 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxListView
*arg1
= (wxListView
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 PyObject
* obj2
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self",(char *) "col",(char *) "image", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22664 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->SetColumnImage(arg2
,arg3
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxListView
*arg1
= (wxListView
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self",(char *) "col", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22694 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->ClearColumnImage(arg2
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22714 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22716 return Py_BuildValue((char *)"");
22718 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22719 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22724 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22729 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22731 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22738 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxTreeItemId
*result
;
22741 char *kwnames
[] = {
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= (wxTreeItemId
*)new wxTreeItemId();
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22760 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 Py_INCREF(Py_None
); resultobj
= Py_None
;
22784 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22786 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22809 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22812 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self",(char *) "other", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22837 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22840 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 PyObject
* obj1
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self",(char *) "other", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22865 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22868 void *arg2
= (void *) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 PyObject
* obj1
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self",(char *) "m_pItem", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22878 if (arg1
) (arg1
)->m_pItem
= arg2
;
22880 Py_INCREF(Py_None
); resultobj
= Py_None
;
22887 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22898 result
= (void *) ((arg1
)->m_pItem
);
22900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22907 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22910 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22912 return Py_BuildValue((char *)"");
22914 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 PyObject
*arg1
= (PyObject
*) NULL
;
22917 wxPyTreeItemData
*result
;
22918 PyObject
* obj0
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "obj", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22941 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22945 PyObject
* obj0
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 result
= (PyObject
*)(arg1
)->GetData();
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= result
;
22966 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
;
22968 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22969 PyObject
*arg2
= (PyObject
*) 0 ;
22970 PyObject
* obj0
= 0 ;
22971 PyObject
* obj1
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self",(char *) "obj", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetData(arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22996 wxTreeItemId
*result
;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23008 result
= (wxTreeItemId
*) &_result_ref
;
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
23021 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23024 wxTreeItemId
*arg2
= 0 ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "id", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23034 if (arg2
== NULL
) {
23035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 Py_INCREF(Py_None
); resultobj
= Py_None
;
23051 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",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();
23063 wxPyTreeItemData_Destroy(arg1
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 Py_INCREF(Py_None
); resultobj
= Py_None
;
23075 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23078 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23080 return Py_BuildValue((char *)"");
23082 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23085 int arg2
= (int) 0 ;
23086 wxTreeEvent
*result
;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "commandType",(char *) "id", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23096 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23102 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23120 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23123 wxTreeItemId result
;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23139 wxTreeItemId
* resultptr
;
23140 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23141 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23149 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23152 wxTreeItemId
*arg2
= 0 ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "item", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23162 if (arg2
== NULL
) {
23163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 Py_INCREF(Py_None
); resultobj
= Py_None
;
23179 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23182 wxTreeItemId result
;
23183 PyObject
* obj0
= 0 ;
23184 char *kwnames
[] = {
23185 (char *) "self", NULL
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23198 wxTreeItemId
* resultptr
;
23199 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23200 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23208 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23211 wxTreeItemId
*arg2
= 0 ;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self",(char *) "item", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23221 if (arg2
== NULL
) {
23222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 Py_INCREF(Py_None
); resultobj
= Py_None
;
23238 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23257 wxPoint
* resultptr
;
23258 resultptr
= new wxPoint((wxPoint
&) result
);
23259 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23267 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23270 wxPoint
*arg2
= 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "pt", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 Py_INCREF(Py_None
); resultobj
= Py_None
;
23298 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23301 wxKeyEvent
*result
;
23302 PyObject
* obj0
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23313 result
= (wxKeyEvent
*) &_result_ref
;
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23326 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_PyObj_FromInt((int)result
);
23351 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23354 wxKeyEvent
*arg2
= 0 ;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "evt", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23364 if (arg2
== NULL
) {
23365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 Py_INCREF(Py_None
); resultobj
= Py_None
;
23381 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23396 result
= (wxString
*) &_result_ref
;
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23415 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23418 wxString
*arg2
= 0 ;
23419 bool temp2
= False
;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "label", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23429 arg2
= wxString_in_helper(obj1
);
23430 if (arg2
== NULL
) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 (arg1
)->SetLabel((wxString
const &)*arg2
);
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 Py_INCREF(Py_None
); resultobj
= Py_None
;
23455 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23480 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "editCancelled", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23493 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 (arg1
)->SetEditCanceled(arg2
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 Py_INCREF(Py_None
); resultobj
= Py_None
;
23510 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23513 wxString
*arg2
= 0 ;
23514 bool temp2
= False
;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "toolTip", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23524 arg2
= wxString_in_helper(obj1
);
23525 if (arg2
== NULL
) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 Py_INCREF(Py_None
); resultobj
= Py_None
;
23550 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23553 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23555 return Py_BuildValue((char *)"");
23557 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxWindow
*arg1
= (wxWindow
*) 0 ;
23560 int arg2
= (int) -1 ;
23561 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23562 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23563 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23564 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23565 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23566 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23567 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23568 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23570 wxPyTreeCtrl
*result
;
23573 bool temp7
= False
;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 PyObject
* obj2
= 0 ;
23577 PyObject
* obj3
= 0 ;
23578 PyObject
* obj4
= 0 ;
23579 PyObject
* obj5
= 0 ;
23580 PyObject
* obj6
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23607 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23612 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23613 if (arg6
== NULL
) {
23614 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23619 arg7
= wxString_in_helper(obj6
);
23620 if (arg7
== NULL
) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= wxPyMake_wxObject(result
);
23648 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxPyTreeCtrl
*result
;
23651 char *kwnames
[] = {
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= wxPyMake_wxObject(result
);
23672 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23675 wxWindow
*arg2
= (wxWindow
*) 0 ;
23676 int arg3
= (int) -1 ;
23677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23681 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23682 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23683 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23684 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23685 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23689 bool temp8
= False
;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 PyObject
* obj2
= 0 ;
23693 PyObject
* obj3
= 0 ;
23694 PyObject
* obj4
= 0 ;
23695 PyObject
* obj5
= 0 ;
23696 PyObject
* obj6
= 0 ;
23697 PyObject
* obj7
= 0 ;
23698 char *kwnames
[] = {
23699 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23707 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23725 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23730 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23731 if (arg7
== NULL
) {
23732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23737 arg8
= wxString_in_helper(obj7
);
23738 if (arg8
== NULL
) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23764 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23767 PyObject
*arg2
= (PyObject
*) 0 ;
23768 PyObject
*arg3
= (PyObject
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 PyObject
* obj2
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self",(char *) "self",(char *) "_class", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23787 Py_INCREF(Py_None
); resultobj
= Py_None
;
23794 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23819 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23822 unsigned int result
;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23844 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23847 unsigned int arg2
;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self",(char *) "indent", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23857 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 (arg1
)->SetIndent(arg2
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 Py_INCREF(Py_None
); resultobj
= Py_None
;
23874 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23877 unsigned int result
;
23878 PyObject
* obj0
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23899 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23902 unsigned int arg2
;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self",(char *) "spacing", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23912 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 (arg1
)->SetSpacing(arg2
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 Py_INCREF(Py_None
); resultobj
= Py_None
;
23929 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23932 wxImageList
*result
;
23933 PyObject
* obj0
= 0 ;
23934 char *kwnames
[] = {
23935 (char *) "self", NULL
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= wxPyMake_wxObject(result
);
23956 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23959 wxImageList
*result
;
23960 PyObject
* obj0
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= wxPyMake_wxObject(result
);
23983 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
;
23985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23986 wxImageList
*arg2
= (wxImageList
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self",(char *) "imageList", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 (arg1
)->SetImageList(arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 Py_INCREF(Py_None
); resultobj
= Py_None
;
24010 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24013 wxImageList
*arg2
= (wxImageList
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "imageList", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 (arg1
)->SetStateImageList(arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 Py_INCREF(Py_None
); resultobj
= Py_None
;
24037 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24040 wxImageList
*arg2
= (wxImageList
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self",(char *) "imageList", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 (arg1
)->AssignImageList(arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 Py_INCREF(Py_None
); resultobj
= Py_None
;
24064 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24067 wxImageList
*arg2
= (wxImageList
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "imageList", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 (arg1
)->AssignStateImageList(arg2
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 Py_INCREF(Py_None
); resultobj
= Py_None
;
24091 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24094 wxTreeItemId
*arg2
= 0 ;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "item", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24105 if (arg2
== NULL
) {
24106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24128 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24131 wxTreeItemId
*arg2
= 0 ;
24132 int arg3
= (int) wxTreeItemIcon_Normal
;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 PyObject
* obj2
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self",(char *) "item",(char *) "which", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24144 if (arg2
== NULL
) {
24145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24149 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_PyObj_FromInt((int)result
);
24167 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24170 wxTreeItemId
*arg2
= 0 ;
24171 wxPyTreeItemData
*result
;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self",(char *) "item", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24181 if (arg2
== NULL
) {
24182 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24198 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24201 wxTreeItemId
*arg2
= 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "item", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24212 if (arg2
== NULL
) {
24213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= result
;
24229 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24232 wxTreeItemId
*arg2
= 0 ;
24234 PyObject
* obj0
= 0 ;
24235 PyObject
* obj1
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self",(char *) "item", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24243 if (arg2
== NULL
) {
24244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24254 wxColour
* resultptr
;
24255 resultptr
= new wxColour((wxColour
&) result
);
24256 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24264 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24267 wxTreeItemId
*arg2
= 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "item", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24278 if (arg2
== NULL
) {
24279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24289 wxColour
* resultptr
;
24290 resultptr
= new wxColour((wxColour
&) result
);
24291 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24299 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24302 wxTreeItemId
*arg2
= 0 ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "self",(char *) "item", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24313 if (arg2
== NULL
) {
24314 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24324 wxFont
* resultptr
;
24325 resultptr
= new wxFont((wxFont
&) result
);
24326 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24334 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24337 wxTreeItemId
*arg2
= 0 ;
24338 wxString
*arg3
= 0 ;
24339 bool temp3
= False
;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 PyObject
* obj2
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "item",(char *) "text", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24350 if (arg2
== NULL
) {
24351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24354 arg3
= wxString_in_helper(obj2
);
24355 if (arg3
== NULL
) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 Py_INCREF(Py_None
); resultobj
= Py_None
;
24380 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24383 wxTreeItemId
*arg2
= 0 ;
24385 int arg4
= (int) wxTreeItemIcon_Normal
;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 PyObject
* obj3
= 0 ;
24390 char *kwnames
[] = {
24391 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24397 if (arg2
== NULL
) {
24398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24401 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24406 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 Py_INCREF(Py_None
); resultobj
= Py_None
;
24424 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24427 wxTreeItemId
*arg2
= 0 ;
24428 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24429 PyObject
* obj0
= 0 ;
24430 PyObject
* obj1
= 0 ;
24431 PyObject
* obj2
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "item",(char *) "data", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24439 if (arg2
== NULL
) {
24440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24442 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 Py_INCREF(Py_None
); resultobj
= Py_None
;
24457 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24460 wxTreeItemId
*arg2
= 0 ;
24461 PyObject
*arg3
= (PyObject
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self",(char *) "item",(char *) "obj", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24472 if (arg2
== NULL
) {
24473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24493 wxTreeItemId
*arg2
= 0 ;
24494 bool arg3
= (bool) True
;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 PyObject
* obj2
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "item",(char *) "has", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24505 if (arg2
== NULL
) {
24506 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24510 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 Py_INCREF(Py_None
); resultobj
= Py_None
;
24528 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24531 wxTreeItemId
*arg2
= 0 ;
24532 bool arg3
= (bool) True
;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 PyObject
* obj2
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self",(char *) "item",(char *) "bold", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24543 if (arg2
== NULL
) {
24544 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24548 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 Py_INCREF(Py_None
); resultobj
= Py_None
;
24566 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24569 wxTreeItemId
*arg2
= 0 ;
24570 wxColour
*arg3
= 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 PyObject
* obj2
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "item",(char *) "col", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24582 if (arg2
== NULL
) {
24583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24587 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 Py_INCREF(Py_None
); resultobj
= Py_None
;
24603 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24606 wxTreeItemId
*arg2
= 0 ;
24607 wxColour
*arg3
= 0 ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24611 PyObject
* obj2
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "item",(char *) "col", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24619 if (arg2
== NULL
) {
24620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24624 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
;
24642 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24643 wxTreeItemId
*arg2
= 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 PyObject
* obj2
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self",(char *) "item",(char *) "font", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24655 if (arg2
== NULL
) {
24656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24658 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24659 if (arg3
== NULL
) {
24660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 Py_INCREF(Py_None
); resultobj
= Py_None
;
24676 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24679 wxTreeItemId
*arg2
= 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self",(char *) "item", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24689 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24690 if (arg2
== NULL
) {
24691 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24707 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24710 wxTreeItemId
*arg2
= 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "item", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24721 if (arg2
== NULL
) {
24722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24738 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
;
24740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24741 wxTreeItemId
*arg2
= 0 ;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self",(char *) "item", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24752 if (arg2
== NULL
) {
24753 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24769 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24772 wxTreeItemId
*arg2
= 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "item", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24783 if (arg2
== NULL
) {
24784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24800 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
;
24802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24803 wxTreeItemId
*arg2
= 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "item", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24814 if (arg2
== NULL
) {
24815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24831 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24834 wxTreeItemId
*arg2
= 0 ;
24835 bool arg3
= (bool) True
;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 PyObject
* obj2
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "item",(char *) "recursively", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24847 if (arg2
== NULL
) {
24848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24852 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24870 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24873 wxTreeItemId result
;
24874 PyObject
* obj0
= 0 ;
24875 char *kwnames
[] = {
24876 (char *) "self", NULL
24879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 wxTreeItemId
* resultptr
;
24890 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24891 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24899 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24902 wxTreeItemId result
;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24918 wxTreeItemId
* resultptr
;
24919 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24928 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= result
;
24953 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24956 wxTreeItemId
*arg2
= 0 ;
24957 wxTreeItemId result
;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self",(char *) "item", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24967 if (arg2
== NULL
) {
24968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24978 wxTreeItemId
* resultptr
;
24979 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24980 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24988 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24991 wxTreeItemId
*arg2
= 0 ;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self",(char *) "item", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25002 if (arg2
== NULL
) {
25003 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= result
;
25019 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25022 wxTreeItemId
*arg2
= 0 ;
25023 void *arg3
= (void *) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 PyObject
* obj2
= 0 ;
25028 char *kwnames
[] = {
25029 (char *) "self",(char *) "item",(char *) "cookie", NULL
25032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25035 if (arg2
== NULL
) {
25036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25038 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= result
;
25053 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25056 wxTreeItemId
*arg2
= 0 ;
25057 wxTreeItemId result
;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "item", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25067 if (arg2
== NULL
) {
25068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 wxTreeItemId
* resultptr
;
25079 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25080 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25088 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
;
25090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25091 wxTreeItemId
*arg2
= 0 ;
25092 wxTreeItemId result
;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "item", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25102 if (arg2
== NULL
) {
25103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 wxTreeItemId
* resultptr
;
25114 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25115 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25123 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25126 wxTreeItemId
*arg2
= 0 ;
25127 wxTreeItemId result
;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self",(char *) "item", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25137 if (arg2
== NULL
) {
25138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25148 wxTreeItemId
* resultptr
;
25149 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25150 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25158 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25161 wxTreeItemId result
;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25177 wxTreeItemId
* resultptr
;
25178 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25179 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25187 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
;
25189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25190 wxTreeItemId
*arg2
= 0 ;
25191 wxTreeItemId result
;
25192 PyObject
* obj0
= 0 ;
25193 PyObject
* obj1
= 0 ;
25194 char *kwnames
[] = {
25195 (char *) "self",(char *) "item", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25201 if (arg2
== NULL
) {
25202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25212 wxTreeItemId
* resultptr
;
25213 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25214 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25222 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
;
25224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25225 wxTreeItemId
*arg2
= 0 ;
25226 wxTreeItemId result
;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self",(char *) "item", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25236 if (arg2
== NULL
) {
25237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 wxTreeItemId
* resultptr
;
25248 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25249 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25257 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25260 wxString
*arg2
= 0 ;
25261 int arg3
= (int) -1 ;
25262 int arg4
= (int) -1 ;
25263 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25264 wxTreeItemId result
;
25265 bool temp2
= False
;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 PyObject
* obj2
= 0 ;
25269 PyObject
* obj3
= 0 ;
25270 PyObject
* obj4
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25278 arg2
= wxString_in_helper(obj1
);
25279 if (arg2
== NULL
) SWIG_fail
;
25284 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25290 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25295 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25305 wxTreeItemId
* resultptr
;
25306 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25307 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25323 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25326 wxTreeItemId
*arg2
= 0 ;
25327 wxString
*arg3
= 0 ;
25328 int arg4
= (int) -1 ;
25329 int arg5
= (int) -1 ;
25330 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25331 wxTreeItemId result
;
25332 bool temp3
= False
;
25333 PyObject
* obj0
= 0 ;
25334 PyObject
* obj1
= 0 ;
25335 PyObject
* obj2
= 0 ;
25336 PyObject
* obj3
= 0 ;
25337 PyObject
* obj4
= 0 ;
25338 PyObject
* obj5
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25346 if (arg2
== NULL
) {
25347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25350 arg3
= wxString_in_helper(obj2
);
25351 if (arg3
== NULL
) SWIG_fail
;
25356 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25362 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25367 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 wxTreeItemId
* resultptr
;
25378 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25379 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25395 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25398 wxTreeItemId
*arg2
= 0 ;
25399 wxTreeItemId
*arg3
= 0 ;
25400 wxString
*arg4
= 0 ;
25401 int arg5
= (int) -1 ;
25402 int arg6
= (int) -1 ;
25403 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25404 wxTreeItemId result
;
25405 bool temp4
= False
;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 PyObject
* obj2
= 0 ;
25409 PyObject
* obj3
= 0 ;
25410 PyObject
* obj4
= 0 ;
25411 PyObject
* obj5
= 0 ;
25412 PyObject
* obj6
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25420 if (arg2
== NULL
) {
25421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25423 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25424 if (arg3
== NULL
) {
25425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25428 arg4
= wxString_in_helper(obj3
);
25429 if (arg4
== NULL
) SWIG_fail
;
25434 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25440 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25445 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25455 wxTreeItemId
* resultptr
;
25456 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25473 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25476 wxTreeItemId
*arg2
= 0 ;
25478 wxString
*arg4
= 0 ;
25479 int arg5
= (int) -1 ;
25480 int arg6
= (int) -1 ;
25481 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25482 wxTreeItemId result
;
25483 bool temp4
= False
;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 PyObject
* obj2
= 0 ;
25487 PyObject
* obj3
= 0 ;
25488 PyObject
* obj4
= 0 ;
25489 PyObject
* obj5
= 0 ;
25490 PyObject
* obj6
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25498 if (arg2
== NULL
) {
25499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25502 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25506 arg4
= wxString_in_helper(obj3
);
25507 if (arg4
== NULL
) SWIG_fail
;
25512 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25518 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25523 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 wxTreeItemId
* resultptr
;
25534 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25535 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25551 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25554 wxTreeItemId
*arg2
= 0 ;
25555 wxString
*arg3
= 0 ;
25556 int arg4
= (int) -1 ;
25557 int arg5
= (int) -1 ;
25558 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25559 wxTreeItemId result
;
25560 bool temp3
= False
;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 PyObject
* obj2
= 0 ;
25564 PyObject
* obj3
= 0 ;
25565 PyObject
* obj4
= 0 ;
25566 PyObject
* obj5
= 0 ;
25567 char *kwnames
[] = {
25568 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25574 if (arg2
== NULL
) {
25575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25578 arg3
= wxString_in_helper(obj2
);
25579 if (arg3
== NULL
) SWIG_fail
;
25584 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25590 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25605 wxTreeItemId
* resultptr
;
25606 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25607 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25623 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25626 wxTreeItemId
*arg2
= 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self",(char *) "item", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25636 if (arg2
== NULL
) {
25637 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 Py_INCREF(Py_None
); resultobj
= Py_None
;
25653 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
;
25655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25656 wxTreeItemId
*arg2
= 0 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "item", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25666 if (arg2
== NULL
) {
25667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 Py_INCREF(Py_None
); resultobj
= Py_None
;
25683 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25686 PyObject
* obj0
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 (arg1
)->DeleteAllItems();
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 Py_INCREF(Py_None
); resultobj
= Py_None
;
25707 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25710 wxTreeItemId
*arg2
= 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "item", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25720 if (arg2
== NULL
) {
25721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 Py_INCREF(Py_None
); resultobj
= Py_None
;
25737 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25740 wxTreeItemId
*arg2
= 0 ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self",(char *) "item", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25749 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25750 if (arg2
== NULL
) {
25751 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 Py_INCREF(Py_None
); resultobj
= Py_None
;
25767 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25770 wxTreeItemId
*arg2
= 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "item", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25780 if (arg2
== NULL
) {
25781 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25800 wxTreeItemId
*arg2
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "item", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25810 if (arg2
== NULL
) {
25811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 Py_INCREF(Py_None
); resultobj
= Py_None
;
25827 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25830 PyObject
* obj0
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "self", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 (arg1
)->Unselect();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 Py_INCREF(Py_None
); resultobj
= Py_None
;
25851 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25854 wxTreeItemId
*arg2
= 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self",(char *) "item", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25864 if (arg2
== NULL
) {
25865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25884 PyObject
* obj0
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 (arg1
)->UnselectAll();
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 Py_INCREF(Py_None
); resultobj
= Py_None
;
25905 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25908 wxTreeItemId
*arg2
= 0 ;
25909 bool arg3
= (bool) True
;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 PyObject
* obj2
= 0 ;
25913 char *kwnames
[] = {
25914 (char *) "self",(char *) "item",(char *) "select", NULL
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25920 if (arg2
== NULL
) {
25921 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25925 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 Py_INCREF(Py_None
); resultobj
= Py_None
;
25943 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25946 wxTreeItemId
*arg2
= 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "item", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25956 if (arg2
== NULL
) {
25957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 Py_INCREF(Py_None
); resultobj
= Py_None
;
25973 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25976 wxTreeItemId
*arg2
= 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self",(char *) "item", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25986 if (arg2
== NULL
) {
25987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 Py_INCREF(Py_None
); resultobj
= Py_None
;
26003 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26006 wxTreeItemId
*arg2
= 0 ;
26007 PyObject
* obj0
= 0 ;
26008 PyObject
* obj1
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self",(char *) "item", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26016 if (arg2
== NULL
) {
26017 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 Py_INCREF(Py_None
); resultobj
= Py_None
;
26033 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26036 wxTreeItemId
*arg2
= 0 ;
26037 PyObject
* obj0
= 0 ;
26038 PyObject
* obj1
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self",(char *) "item", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26046 if (arg2
== NULL
) {
26047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 Py_INCREF(Py_None
); resultobj
= Py_None
;
26063 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26066 wxTextCtrl
*result
;
26067 PyObject
* obj0
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= wxPyMake_wxObject(result
);
26090 static PyObject
*_wrap_TreeCtrl_SortChildren(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_SortChildren",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
)->SortChildren((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_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26123 wxPoint
*arg2
= 0 ;
26125 wxTreeItemId result
;
26128 PyObject
* obj0
= 0 ;
26129 PyObject
* obj1
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self",(char *) "point", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26149 wxTreeItemId
* resultptr
;
26150 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26151 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26154 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26155 resultobj
= t_output_helper(resultobj
,o
);
26163 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26166 wxTreeItemId
*arg2
= 0 ;
26167 bool arg3
= (bool) False
;
26169 PyObject
* obj0
= 0 ;
26170 PyObject
* obj1
= 0 ;
26171 PyObject
* obj2
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26179 if (arg2
== NULL
) {
26180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26184 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= result
;
26202 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26205 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26207 return Py_BuildValue((char *)"");
26209 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26210 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26215 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26220 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26222 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26229 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxWindow
*arg1
= (wxWindow
*) 0 ;
26232 int arg2
= (int) (int)-1 ;
26233 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26234 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26239 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26240 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26241 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26242 int arg8
= (int) 0 ;
26243 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26244 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26245 wxGenericDirCtrl
*result
;
26246 bool temp3
= False
;
26249 bool temp7
= False
;
26250 bool temp9
= False
;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 PyObject
* obj2
= 0 ;
26254 PyObject
* obj3
= 0 ;
26255 PyObject
* obj4
= 0 ;
26256 PyObject
* obj5
= 0 ;
26257 PyObject
* obj6
= 0 ;
26258 PyObject
* obj7
= 0 ;
26259 PyObject
* obj8
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26268 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26274 arg3
= wxString_in_helper(obj2
);
26275 if (arg3
== NULL
) SWIG_fail
;
26282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26293 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26299 arg7
= wxString_in_helper(obj6
);
26300 if (arg7
== NULL
) SWIG_fail
;
26306 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26312 arg9
= wxString_in_helper(obj8
);
26313 if (arg9
== NULL
) SWIG_fail
;
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26355 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxGenericDirCtrl
*result
;
26358 char *kwnames
[] = {
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26377 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
;
26379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26380 wxWindow
*arg2
= (wxWindow
*) 0 ;
26381 int arg3
= (int) (int)-1 ;
26382 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26383 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26384 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26385 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26386 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26387 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26388 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26389 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26390 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26391 int arg9
= (int) 0 ;
26392 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26393 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26395 bool temp4
= False
;
26398 bool temp8
= False
;
26399 bool temp10
= False
;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 PyObject
* obj2
= 0 ;
26403 PyObject
* obj3
= 0 ;
26404 PyObject
* obj4
= 0 ;
26405 PyObject
* obj5
= 0 ;
26406 PyObject
* obj6
= 0 ;
26407 PyObject
* obj7
= 0 ;
26408 PyObject
* obj8
= 0 ;
26409 PyObject
* obj9
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26419 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26425 arg4
= wxString_in_helper(obj3
);
26426 if (arg4
== NULL
) SWIG_fail
;
26433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26439 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26444 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26450 arg8
= wxString_in_helper(obj7
);
26451 if (arg8
== NULL
) SWIG_fail
;
26457 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26463 arg10
= wxString_in_helper(obj9
);
26464 if (arg10
== NULL
) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26506 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26509 wxString
*arg2
= 0 ;
26511 bool temp2
= False
;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self",(char *) "path", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26521 arg2
= wxString_in_helper(obj1
);
26522 if (arg2
== NULL
) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26547 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26578 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26581 wxString
*arg2
= 0 ;
26582 bool temp2
= False
;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "path", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26592 arg2
= wxString_in_helper(obj1
);
26593 if (arg2
== NULL
) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 Py_INCREF(Py_None
); resultobj
= Py_None
;
26618 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26622 PyObject
* obj0
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26649 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
;
26651 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 char *kwnames
[] = {
26655 (char *) "self", NULL
26658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26680 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26683 wxString
*arg2
= 0 ;
26684 bool temp2
= False
;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self",(char *) "path", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26694 arg2
= wxString_in_helper(obj1
);
26695 if (arg2
== NULL
) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->SetPath((wxString
const &)*arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 Py_INCREF(Py_None
); resultobj
= Py_None
;
26720 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 char *kwnames
[] = {
26727 (char *) "self",(char *) "show", NULL
26730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26733 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->ShowHidden(arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 Py_INCREF(Py_None
); resultobj
= Py_None
;
26750 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26754 PyObject
* obj0
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (bool)(arg1
)->GetShowHidden();
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26775 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26806 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26809 wxString
*arg2
= 0 ;
26810 bool temp2
= False
;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self",(char *) "filter", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26820 arg2
= wxString_in_helper(obj1
);
26821 if (arg2
== NULL
) SWIG_fail
;
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 (arg1
)->SetFilter((wxString
const &)*arg2
);
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 Py_INCREF(Py_None
); resultobj
= Py_None
;
26846 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_PyObj_FromInt((int)result
);
26871 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "self",(char *) "n", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26884 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 (arg1
)->SetFilterIndex(arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 Py_INCREF(Py_None
); resultobj
= Py_None
;
26901 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26904 wxTreeItemId result
;
26905 PyObject
* obj0
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= (arg1
)->GetRootId();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 wxTreeItemId
* resultptr
;
26921 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26922 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26930 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26933 wxPyTreeCtrl
*result
;
26934 PyObject
* obj0
= 0 ;
26935 char *kwnames
[] = {
26936 (char *) "self", NULL
26939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= wxPyMake_wxObject(result
);
26957 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26960 wxDirFilterListCtrl
*result
;
26961 PyObject
* obj0
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26982 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26985 wxTreeItemId arg2
;
26986 wxString
*arg3
= 0 ;
26988 wxTreeItemId result
;
26989 wxTreeItemId
*argp2
;
26990 bool temp3
= False
;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 PyObject
* obj2
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "parentId",(char *) "path", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27002 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27005 arg3
= wxString_in_helper(obj2
);
27006 if (arg3
== NULL
) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 wxTreeItemId
* resultptr
;
27018 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27022 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27023 resultobj
= t_output_helper(resultobj
,o
);
27039 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27042 PyObject
* obj0
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 (arg1
)->DoResize();
27053 wxPyEndAllowThreads(__tstate
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27056 Py_INCREF(Py_None
); resultobj
= Py_None
;
27063 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27064 PyObject
*resultobj
;
27065 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27066 PyObject
* obj0
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 (arg1
)->ReCreateTree();
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 Py_INCREF(Py_None
); resultobj
= Py_None
;
27087 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27090 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27092 return Py_BuildValue((char *)"");
27094 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27097 int arg2
= (int) (int)-1 ;
27098 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27099 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27100 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27101 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27102 long arg5
= (long) 0 ;
27103 wxDirFilterListCtrl
*result
;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 PyObject
* obj2
= 0 ;
27109 PyObject
* obj3
= 0 ;
27110 PyObject
* obj4
= 0 ;
27111 char *kwnames
[] = {
27112 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27119 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27137 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27155 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27156 PyObject
*resultobj
;
27157 wxDirFilterListCtrl
*result
;
27158 char *kwnames
[] = {
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27177 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27180 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27181 int arg3
= (int) (int)-1 ;
27182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27186 long arg6
= (long) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 PyObject
* obj2
= 0 ;
27193 PyObject
* obj3
= 0 ;
27194 PyObject
* obj4
= 0 ;
27195 PyObject
* obj5
= 0 ;
27196 char *kwnames
[] = {
27197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27205 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27212 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27218 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27223 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27241 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
;
27243 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27244 wxString
*arg2
= 0 ;
27246 bool temp2
= False
;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 PyObject
* obj2
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27257 arg2
= wxString_in_helper(obj1
);
27258 if (arg2
== NULL
) SWIG_fail
;
27262 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 Py_INCREF(Py_None
); resultobj
= Py_None
;
27287 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27290 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27292 return Py_BuildValue((char *)"");
27294 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxWindow
*arg1
= (wxWindow
*) 0 ;
27298 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27299 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27300 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27301 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27302 long arg5
= (long) 0 ;
27303 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27304 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27305 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27306 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27307 wxPyControl
*result
;
27310 bool temp7
= False
;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 PyObject
* obj2
= 0 ;
27314 PyObject
* obj3
= 0 ;
27315 PyObject
* obj4
= 0 ;
27316 PyObject
* obj5
= 0 ;
27317 PyObject
* obj6
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27325 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27342 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27347 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27348 if (arg6
== NULL
) {
27349 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27354 arg7
= wxString_in_helper(obj6
);
27355 if (arg7
== NULL
) SWIG_fail
;
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27381 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27384 PyObject
*arg2
= (PyObject
*) 0 ;
27385 PyObject
*arg3
= (PyObject
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 PyObject
* obj1
= 0 ;
27388 PyObject
* obj2
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self",(char *) "self",(char *) "_class", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 Py_INCREF(Py_None
); resultobj
= Py_None
;
27411 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27412 PyObject
*resultobj
;
27413 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 PyObject
* obj2
= 0 ;
27421 PyObject
* obj3
= 0 ;
27422 PyObject
* obj4
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27438 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27442 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 Py_INCREF(Py_None
); resultobj
= Py_None
;
27459 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27466 int arg6
= (int) wxSIZE_AUTO
;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 PyObject
* obj2
= 0 ;
27470 PyObject
* obj3
= 0 ;
27471 PyObject
* obj4
= 0 ;
27472 PyObject
* obj5
= 0 ;
27473 char *kwnames
[] = {
27474 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27480 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27488 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27492 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27497 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 Py_INCREF(Py_None
); resultobj
= Py_None
;
27515 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
;
27517 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 PyObject
* obj2
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "width",(char *) "height", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27530 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27534 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 Py_INCREF(Py_None
); resultobj
= Py_None
;
27551 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
;
27553 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 PyObject
* obj2
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self",(char *) "x",(char *) "y", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27570 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 Py_INCREF(Py_None
); resultobj
= Py_None
;
27587 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27590 int *arg2
= (int *) 0 ;
27591 int *arg3
= (int *) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "self", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27610 Py_INCREF(Py_None
); resultobj
= Py_None
;
27612 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27613 resultobj
= t_output_helper(resultobj
,o
);
27616 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27617 resultobj
= t_output_helper(resultobj
,o
);
27625 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27628 int *arg2
= (int *) 0 ;
27629 int *arg3
= (int *) 0 ;
27632 PyObject
* obj0
= 0 ;
27633 char *kwnames
[] = {
27634 (char *) "self", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 Py_INCREF(Py_None
); resultobj
= Py_None
;
27650 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27651 resultobj
= t_output_helper(resultobj
,o
);
27654 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27655 resultobj
= t_output_helper(resultobj
,o
);
27663 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27666 int *arg2
= (int *) 0 ;
27667 int *arg3
= (int *) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 Py_INCREF(Py_None
); resultobj
= Py_None
;
27688 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27689 resultobj
= t_output_helper(resultobj
,o
);
27692 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27693 resultobj
= t_output_helper(resultobj
,o
);
27701 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
;
27703 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27705 PyObject
* obj0
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 wxSize
* resultptr
;
27721 resultptr
= new wxSize((wxSize
&) result
);
27722 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27730 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27734 PyObject
* obj0
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27743 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 wxSize
* resultptr
;
27750 resultptr
= new wxSize((wxSize
&) result
);
27751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27759 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 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_InitDialog",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 (arg1
)->base_InitDialog();
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 Py_INCREF(Py_None
); resultobj
= Py_None
;
27783 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= (bool)(arg1
)->base_TransferDataToWindow();
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27808 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27810 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27812 PyObject
* obj0
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27833 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
;
27835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27837 PyObject
* obj0
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 result
= (bool)(arg1
)->base_Validate();
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27858 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 char *kwnames
[] = {
27864 (char *) "self", NULL
27867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27883 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
;
27885 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27887 PyObject
* obj0
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27908 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "self", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 wxSize
* resultptr
;
27928 resultptr
= new wxSize((wxSize
&) result
);
27929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27937 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27940 wxWindow
*arg2
= (wxWindow
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 PyObject
* obj1
= 0 ;
27943 char *kwnames
[] = {
27944 (char *) "self",(char *) "child", NULL
27947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 (arg1
)->base_AddChild(arg2
);
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 Py_INCREF(Py_None
); resultobj
= Py_None
;
27964 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27967 wxWindow
*arg2
= (wxWindow
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self",(char *) "child", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 (arg1
)->base_RemoveChild(arg2
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 Py_INCREF(Py_None
); resultobj
= Py_None
;
27991 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27994 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27996 return Py_BuildValue((char *)"");
27998 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
;
28000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28001 int arg2
= (int) 0 ;
28002 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28003 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28004 wxHelpEvent
*result
;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 PyObject
* obj2
= 0 ;
28009 char *kwnames
[] = {
28010 (char *) "type",(char *) "winid",(char *) "pt", NULL
28013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28016 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28022 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28029 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
28046 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28061 result
= (wxPoint
*) &_result_ref
;
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28074 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28077 wxPoint
*arg2
= 0 ;
28079 PyObject
* obj0
= 0 ;
28080 PyObject
* obj1
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "self",(char *) "pos", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28095 wxPyEndAllowThreads(__tstate
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28098 Py_INCREF(Py_None
); resultobj
= Py_None
;
28105 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28106 PyObject
*resultobj
;
28107 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28109 PyObject
* obj0
= 0 ;
28110 char *kwnames
[] = {
28111 (char *) "self", NULL
28114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28120 result
= (wxString
*) &_result_ref
;
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28139 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28142 wxString
*arg2
= 0 ;
28143 bool temp2
= False
;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self",(char *) "link", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28153 arg2
= wxString_in_helper(obj1
);
28154 if (arg2
== NULL
) SWIG_fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 (arg1
)->SetLink((wxString
const &)*arg2
);
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 Py_INCREF(Py_None
); resultobj
= Py_None
;
28179 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28183 PyObject
* obj0
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28194 result
= (wxString
*) &_result_ref
;
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28213 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28216 wxString
*arg2
= 0 ;
28217 bool temp2
= False
;
28218 PyObject
* obj0
= 0 ;
28219 PyObject
* obj1
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self",(char *) "target", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28227 arg2
= wxString_in_helper(obj1
);
28228 if (arg2
== NULL
) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 (arg1
)->SetTarget((wxString
const &)*arg2
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 Py_INCREF(Py_None
); resultobj
= Py_None
;
28253 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28256 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28258 return Py_BuildValue((char *)"");
28260 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
;
28262 wxWindow
*arg1
= (wxWindow
*) NULL
;
28263 bool arg2
= (bool) True
;
28264 wxContextHelp
*result
;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "window",(char *) "doNow", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28277 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28295 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28298 PyObject
* obj0
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "self", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28312 Py_INCREF(Py_None
); resultobj
= Py_None
;
28319 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28321 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28322 wxWindow
*arg2
= (wxWindow
*) NULL
;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self",(char *) "window", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28349 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 char *kwnames
[] = {
28355 (char *) "self", NULL
28358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= (bool)(arg1
)->EndContextHelp();
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28374 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28377 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28379 return Py_BuildValue((char *)"");
28381 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxWindow
*arg1
= (wxWindow
*) 0 ;
28384 int arg2
= (int) wxID_CONTEXT_HELP
;
28385 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28386 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28387 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28388 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28389 long arg5
= (long) wxBU_AUTODRAW
;
28390 wxContextHelpButton
*result
;
28393 PyObject
* obj0
= 0 ;
28394 PyObject
* obj1
= 0 ;
28395 PyObject
* obj2
= 0 ;
28396 PyObject
* obj3
= 0 ;
28397 PyObject
* obj4
= 0 ;
28398 char *kwnames
[] = {
28399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28419 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28424 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28442 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28445 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28447 return Py_BuildValue((char *)"");
28449 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28452 wxHelpProvider
*result
;
28453 PyObject
* obj0
= 0 ;
28454 char *kwnames
[] = {
28455 (char *) "helpProvider", NULL
28458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28474 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxHelpProvider
*result
;
28477 char *kwnames
[] = {
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28496 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28499 wxWindow
*arg2
= (wxWindow
*) 0 ;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self",(char *) "window", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28530 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28533 wxWindow
*arg2
= (wxWindow
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self",(char *) "window", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (bool)(arg1
)->ShowHelp(arg2
);
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28558 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28560 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28561 wxWindow
*arg2
= (wxWindow
*) 0 ;
28562 wxString
*arg3
= 0 ;
28563 bool temp3
= False
;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 PyObject
* obj2
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "window",(char *) "text", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28575 arg3
= wxString_in_helper(obj2
);
28576 if (arg3
== NULL
) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28586 Py_INCREF(Py_None
); resultobj
= Py_None
;
28601 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28605 wxString
*arg3
= 0 ;
28606 bool temp3
= False
;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 PyObject
* obj2
= 0 ;
28610 char *kwnames
[] = {
28611 (char *) "self",(char *) "id",(char *) "text", NULL
28614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28621 arg3
= wxString_in_helper(obj2
);
28622 if (arg3
== NULL
) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 Py_INCREF(Py_None
); resultobj
= Py_None
;
28647 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28650 PyObject
* obj0
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 wxHelpProvider_Destroy(arg1
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 Py_INCREF(Py_None
); resultobj
= Py_None
;
28671 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28674 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28676 return Py_BuildValue((char *)"");
28678 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28680 wxSimpleHelpProvider
*result
;
28681 char *kwnames
[] = {
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28700 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28703 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28705 return Py_BuildValue((char *)"");
28707 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxBitmap
*arg1
= 0 ;
28710 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28711 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28712 wxGenericDragImage
*result
;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 char *kwnames
[] = {
28716 (char *) "image",(char *) "cursor", NULL
28719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28721 if (arg1
== NULL
) {
28722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28726 if (arg2
== NULL
) {
28727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28744 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
;
28747 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28748 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28749 wxGenericDragImage
*result
;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "image",(char *) "cursor", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28758 if (arg1
== NULL
) {
28759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28763 if (arg2
== NULL
) {
28764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28781 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
;
28783 wxString
*arg1
= 0 ;
28784 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28785 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28786 wxGenericDragImage
*result
;
28787 bool temp1
= False
;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 char *kwnames
[] = {
28791 (char *) "str",(char *) "cursor", NULL
28794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28796 arg1
= wxString_in_helper(obj0
);
28797 if (arg1
== NULL
) SWIG_fail
;
28801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28802 if (arg2
== NULL
) {
28803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28828 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
;
28830 wxPyTreeCtrl
*arg1
= 0 ;
28831 wxTreeItemId
*arg2
= 0 ;
28832 wxGenericDragImage
*result
;
28833 PyObject
* obj0
= 0 ;
28834 PyObject
* obj1
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "treeCtrl",(char *) "id", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28841 if (arg1
== NULL
) {
28842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28845 if (arg2
== NULL
) {
28846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28862 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
;
28864 wxPyListCtrl
*arg1
= 0 ;
28866 wxGenericDragImage
*result
;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 char *kwnames
[] = {
28870 (char *) "listCtrl",(char *) "id", NULL
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28875 if (arg1
== NULL
) {
28876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28879 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28896 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28897 PyObject
*resultobj
;
28898 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28899 PyObject
* obj0
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 Py_INCREF(Py_None
); resultobj
= Py_None
;
28920 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
;
28922 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28923 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 char *kwnames
[] = {
28927 (char *) "self",(char *) "bitmap", NULL
28930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 (arg1
)->SetBackingBitmap(arg2
);
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 Py_INCREF(Py_None
); resultobj
= Py_None
;
28947 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
;
28949 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28950 wxPoint
*arg2
= 0 ;
28951 wxWindow
*arg3
= (wxWindow
*) 0 ;
28952 bool arg4
= (bool) False
;
28953 wxRect
*arg5
= (wxRect
*) NULL
;
28956 PyObject
* obj0
= 0 ;
28957 PyObject
* obj1
= 0 ;
28958 PyObject
* obj2
= 0 ;
28959 PyObject
* obj3
= 0 ;
28960 PyObject
* obj4
= 0 ;
28961 char *kwnames
[] = {
28962 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28971 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28974 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28979 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28995 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28998 wxPoint
*arg2
= 0 ;
28999 wxWindow
*arg3
= (wxWindow
*) 0 ;
29000 wxWindow
*arg4
= (wxWindow
*) 0 ;
29003 PyObject
* obj0
= 0 ;
29004 PyObject
* obj1
= 0 ;
29005 PyObject
* obj2
= 0 ;
29006 PyObject
* obj3
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29017 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29018 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29033 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
;
29035 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29037 PyObject
* obj0
= 0 ;
29038 char *kwnames
[] = {
29039 (char *) "self", NULL
29042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 result
= (bool)(arg1
)->EndDrag();
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29058 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
;
29060 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29061 wxPoint
*arg2
= 0 ;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 char *kwnames
[] = {
29067 (char *) "self",(char *) "pt", NULL
29070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29090 static PyObject
*_wrap_DragImage_Show(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_Show",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
)->Show();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29115 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
;
29117 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29119 PyObject
* obj0
= 0 ;
29120 char *kwnames
[] = {
29121 (char *) "self", NULL
29124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29128 result
= (bool)(arg1
)->Hide();
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29140 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
;
29142 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29143 wxPoint
*arg2
= 0 ;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 char *kwnames
[] = {
29149 (char *) "self",(char *) "pos", NULL
29152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29166 wxRect
* resultptr
;
29167 resultptr
= new wxRect((wxRect
&) result
);
29168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29176 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
;
29178 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29180 wxPoint
*arg3
= 0 ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 PyObject
* obj2
= 0 ;
29186 char *kwnames
[] = {
29187 (char *) "self",(char *) "dc",(char *) "pos", NULL
29190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29193 if (arg2
== NULL
) {
29194 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29214 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
;
29216 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29218 wxMemoryDC
*arg3
= 0 ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 PyObject
* obj2
= 0 ;
29227 PyObject
* obj3
= 0 ;
29228 PyObject
* obj4
= 0 ;
29229 char *kwnames
[] = {
29230 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29236 if (arg2
== NULL
) {
29237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29239 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29240 if (arg3
== NULL
) {
29241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29245 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29249 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29265 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29268 wxPoint
*arg2
= 0 ;
29269 wxPoint
*arg3
= 0 ;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 PyObject
* obj2
= 0 ;
29278 PyObject
* obj3
= 0 ;
29279 PyObject
* obj4
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29288 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29295 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29316 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29319 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29321 return Py_BuildValue((char *)"");
29323 static PyMethodDef SwigMethods
[] = {
29324 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29325 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29328 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29329 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29330 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29333 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29335 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29337 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29339 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29341 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29343 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29345 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29346 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29353 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29354 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29356 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29357 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29359 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29360 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29361 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29362 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29363 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29364 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29365 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29366 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29368 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29374 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29375 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29381 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29387 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29394 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29398 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29402 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29404 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29408 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29415 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29437 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29446 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29447 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29453 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29474 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29476 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29497 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29530 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29535 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29546 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29558 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29569 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29573 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29590 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29596 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29621 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29628 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29648 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29654 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29663 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29665 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29670 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29672 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29677 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29682 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29712 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29757 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29762 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29774 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29826 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29853 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29922 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29934 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29942 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29949 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29965 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30039 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30061 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30066 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30087 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30095 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30100 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30102 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30110 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30112 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30134 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30136 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30137 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30139 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30140 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30142 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30143 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30145 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30146 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30148 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30149 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30151 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30152 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30154 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30155 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30157 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30158 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30160 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30161 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30163 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30164 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30166 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30169 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30170 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30172 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30173 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30175 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30176 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30178 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30179 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30181 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30182 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30184 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30185 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30187 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30188 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30190 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30193 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30196 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30197 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30199 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30200 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30202 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30205 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30206 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30208 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30209 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30211 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30212 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30214 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30217 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30218 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30220 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30223 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30224 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30226 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30227 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30229 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30230 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30232 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30233 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30235 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30236 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30238 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30239 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30241 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30242 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30244 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30245 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30247 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30248 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30250 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30251 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30253 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30254 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30256 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30257 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30259 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30260 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30262 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30263 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30265 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30266 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30268 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30271 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30272 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30274 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30275 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30277 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30280 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30283 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30284 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30286 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30287 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30289 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30290 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30292 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30293 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30295 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30296 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30298 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30299 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30301 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30302 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30304 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30305 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30307 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30308 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30310 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30311 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30313 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30314 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30316 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30317 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30319 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30320 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30322 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30323 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30325 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30326 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30328 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30329 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30331 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30332 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30334 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30335 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30337 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30338 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30340 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30341 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30343 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30344 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30346 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30347 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30349 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30350 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30352 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30353 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30355 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30356 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30358 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30359 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30361 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30362 return (void *)((wxControl
*) ((wxGauge
*) x
));
30364 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30365 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30367 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30368 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30370 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30371 return (void *)((wxControl
*) ((wxButton
*) x
));
30373 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30374 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30376 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30377 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30379 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30380 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30382 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30383 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30385 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30386 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30388 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30389 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30391 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30392 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30394 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30395 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30397 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30398 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30400 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30401 return (void *)((wxControl
*) ((wxSlider
*) x
));
30403 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30404 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30406 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30407 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30409 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30410 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30412 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30413 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30415 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30416 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30418 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30419 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30421 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30422 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30424 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30425 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30427 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30428 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30430 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30431 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30433 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30434 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30436 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30437 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30439 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30442 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30443 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30445 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30446 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30448 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30449 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30451 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30454 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30455 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30457 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30460 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30463 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30464 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30466 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30467 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30469 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30472 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30475 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30478 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30481 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30484 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30485 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30487 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30490 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30493 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30496 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30499 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30502 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30505 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30508 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30511 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30514 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30517 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30520 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30523 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30526 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30529 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30532 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30535 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30538 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30541 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30544 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30547 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30550 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30553 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30556 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30559 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30560 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30562 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30563 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30565 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30566 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30568 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30569 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30571 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30572 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30574 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30575 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30577 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30578 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30580 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30581 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30583 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30584 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30586 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30587 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30589 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30592 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30593 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30595 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30598 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30601 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30602 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30604 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30605 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30607 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30608 return (void *)((wxObject
*) ((wxSizer
*) x
));
30610 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30611 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30613 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30616 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30619 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30622 static void *_p_wxEventTo_p_wxObject(void *x
) {
30623 return (void *)((wxObject
*) ((wxEvent
*) x
));
30625 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30626 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30628 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30629 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30631 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30632 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30634 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30637 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30640 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30643 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30644 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30646 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30647 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30649 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30650 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30652 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30653 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30655 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30656 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30658 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30659 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30661 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30664 static void *_p_wxControlTo_p_wxObject(void *x
) {
30665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30667 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30670 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30673 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30676 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30679 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30682 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30683 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30685 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30688 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30689 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30691 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30692 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30694 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30697 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30700 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30703 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30704 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30706 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30709 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30712 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30713 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30715 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30718 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30721 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30722 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30724 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30725 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30727 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30730 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30731 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30733 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30734 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30736 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30737 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30739 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30740 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30742 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30743 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30745 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30746 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30748 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30751 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30752 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30754 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30757 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30760 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30761 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30763 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30764 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30766 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30767 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30769 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30772 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30773 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30775 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30776 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30778 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30779 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30781 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30782 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30784 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30785 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30787 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30788 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30790 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30791 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30793 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30796 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30799 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30802 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30805 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30808 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30811 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30814 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30817 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30818 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30820 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30823 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30826 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30829 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30832 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30833 return (void *)((wxObject
*) ((wxListItem
*) x
));
30835 static void *_p_wxImageTo_p_wxObject(void *x
) {
30836 return (void *)((wxObject
*) ((wxImage
*) x
));
30838 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30839 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30841 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30842 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30844 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30847 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30848 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30850 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30853 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30856 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30859 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30862 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30863 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30865 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30866 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30868 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30869 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30871 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30872 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30874 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30877 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30878 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30880 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30883 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30884 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30886 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30887 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30889 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30890 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30892 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30893 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30895 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30896 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30898 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30901 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30904 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30905 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30907 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30910 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30911 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30913 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30914 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30916 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30919 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30922 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30923 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30925 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30928 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30931 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30932 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30934 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30935 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30937 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30938 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30940 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30941 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30943 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30944 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30946 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30947 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30949 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30950 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30952 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30953 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30955 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30956 return (void *)((wxWindow
*) ((wxControl
*) x
));
30958 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30959 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30961 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30962 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30964 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30965 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30967 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30968 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30970 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30971 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30973 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30974 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30976 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30977 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30979 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30980 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30982 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30983 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30985 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30986 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30988 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30989 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30991 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30992 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30994 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30995 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30997 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30998 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31000 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31001 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31003 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31004 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31006 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31007 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31009 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31010 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31012 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31013 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31015 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31016 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31018 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31019 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31021 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31022 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31024 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31025 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31027 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31028 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31030 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31031 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31033 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31034 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31036 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31037 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31039 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31040 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31042 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31043 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31045 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31046 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31048 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31049 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31051 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31052 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31054 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31055 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31057 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31058 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31060 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31061 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31063 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31064 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31066 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31067 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31069 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31070 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31072 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31073 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31075 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31076 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31078 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31079 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31081 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31082 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31084 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31085 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31087 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31088 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31090 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31091 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31093 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31094 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31096 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31097 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31099 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31100 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31102 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31103 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31105 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31106 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}};
31107 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}};
31108 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31109 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31110 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}};
31111 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31112 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31113 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31114 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}};
31115 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31116 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31117 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31118 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}};
31119 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31120 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31121 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31122 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31123 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31124 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31125 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
31126 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31127 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31128 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31129 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31130 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31131 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31132 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31133 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31134 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31135 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31136 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}};
31137 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31138 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31139 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31140 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31141 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31142 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31143 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31144 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31145 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}};
31146 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31147 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31148 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31149 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}};
31150 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31151 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}};
31152 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31153 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31154 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31155 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31156 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31157 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31158 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31159 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31160 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31161 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31162 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31163 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31164 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31165 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31166 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31167 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31168 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31169 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31170 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31171 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31172 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31173 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}};
31174 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31175 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31176 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}};
31177 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31178 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31179 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31180 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31181 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}};
31182 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31183 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}};
31184 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31185 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31186 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31187 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31188 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31190 static swig_type_info
*swig_types_initial
[] = {
31191 _swigt__p_wxTextUrlEvent
,
31192 _swigt__p_wxBookCtrlEvent
,
31194 _swigt__p_wxCheckBox
,
31195 _swigt__p_wxPyTreeCtrl
,
31197 _swigt__p_wxGenericDirCtrl
,
31199 _swigt__p_wxPyTreeItemData
,
31200 _swigt__p_wxItemContainer
,
31201 _swigt__p_wxDirFilterListCtrl
,
31202 _swigt__p_wxPyListCtrl
,
31203 _swigt__p_wxStaticLine
,
31204 _swigt__p_wxControl
,
31205 _swigt__p_wxPyControl
,
31207 _swigt__p_wxToolBarBase
,
31209 _swigt__p_wxToggleButton
,
31210 _swigt__p_wxRadioButton
,
31211 _swigt__p_wxChoice
,
31212 _swigt__p_wxMemoryDC
,
31213 _swigt__p_wxListItemAttr
,
31218 _swigt__p_wxListView
,
31220 _swigt__p_wxTextCtrl
,
31221 _swigt__p_wxNotebook
,
31222 _swigt__p_wxNotifyEvent
,
31223 _swigt__p_wxArrayString
,
31224 _swigt__p_wxListbook
,
31225 _swigt__p_wxStaticBitmap
,
31226 _swigt__p_wxSlider
,
31227 _swigt__p_wxStaticBox
,
31228 _swigt__p_wxArrayInt
,
31229 _swigt__p_wxContextHelp
,
31231 _swigt__p_wxEvtHandler
,
31232 _swigt__p_wxListEvent
,
31233 _swigt__p_wxListBox
,
31234 _swigt__p_wxCheckListBox
,
31235 _swigt__p_wxBookCtrl
,
31236 _swigt__p_wxSpinButton
,
31237 _swigt__p_wxButton
,
31238 _swigt__p_wxBitmapButton
,
31240 _swigt__p_wxContextHelpButton
,
31241 _swigt__p_wxRadioBox
,
31242 _swigt__p_wxScrollBar
,
31244 _swigt__p_wxTreeItemId
,
31245 _swigt__p_wxComboBox
,
31246 _swigt__p_wxHelpEvent
,
31247 _swigt__p_wxListItem
,
31248 _swigt__p_wxNotebookSizer
,
31249 _swigt__p_wxSpinEvent
,
31250 _swigt__p_wxGenericDragImage
,
31251 _swigt__p_wxSpinCtrl
,
31252 _swigt__p_wxImageList
,
31253 _swigt__p_wxHelpProvider
,
31254 _swigt__p_wxTextAttr
,
31255 _swigt__p_wxSimpleHelpProvider
,
31257 _swigt__p_wxListbookEvent
,
31258 _swigt__p_wxNotebookEvent
,
31259 _swigt__p_wxObject
,
31260 _swigt__p_wxCursor
,
31261 _swigt__p_wxKeyEvent
,
31262 _swigt__p_wxWindow
,
31263 _swigt__p_wxString
,
31264 _swigt__p_wxBitmap
,
31265 _swigt__p_wxTreeEvent
,
31266 _swigt__p_wxMouseEvent
,
31267 _swigt__p_wxCommandEvent
,
31268 _swigt__p_wxStaticText
,
31269 _swigt__p_wxControlWithItems
,
31270 _swigt__p_wxToolBarToolBase
,
31271 _swigt__p_wxColour
,
31272 _swigt__p_wxToolBar
,
31273 _swigt__p_wxBookCtrlSizer
,
31274 _swigt__p_wxValidator
,
31279 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31281 static swig_const_info swig_const_table
[] = {
31291 SWIGEXPORT(void) SWIG_init(void) {
31292 static PyObject
*SWIG_globals
= 0;
31293 static int typeinit
= 0;
31296 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31297 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31298 d
= PyModule_GetDict(m
);
31301 for (i
= 0; swig_types_initial
[i
]; i
++) {
31302 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31306 SWIG_InstallConstants(d
,swig_const_table
);
31308 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31309 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31310 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31311 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31312 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31313 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31314 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31315 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31316 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31317 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31318 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31319 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31320 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31321 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31322 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31323 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31324 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31325 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31326 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31327 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31328 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31329 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31330 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31331 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31332 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31333 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31334 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31335 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31336 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31337 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31338 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31339 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31340 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31341 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31342 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31343 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31344 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31345 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31346 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31347 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31348 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31349 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31350 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31351 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31352 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31353 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31354 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31355 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31356 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31357 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31358 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31359 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31360 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31361 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31362 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31363 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31364 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31365 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31366 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31367 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31368 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31369 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31370 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31371 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31372 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31373 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31374 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31375 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31376 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31377 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31378 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31379 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31380 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31381 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31382 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31383 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31384 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31385 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31386 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31387 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31388 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31389 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31390 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31391 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31392 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31393 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31394 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31395 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31396 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31397 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31398 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31399 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31400 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31401 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31402 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31403 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31404 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31405 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31406 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31407 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31408 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31409 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31410 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31411 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31414 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31415 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31416 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31417 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31418 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31419 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31420 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31421 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31422 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31423 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31424 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31425 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31426 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31427 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31428 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31429 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31430 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31431 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31432 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31433 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31434 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31435 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31436 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31437 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31438 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31439 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31440 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31441 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31442 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31443 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31444 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31445 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31446 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31447 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31448 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31449 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31450 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31451 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31452 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31453 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31454 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31455 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31456 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31457 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31458 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31459 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31460 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31461 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31462 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31463 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31464 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31465 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31466 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31467 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31468 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31469 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31470 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31471 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31472 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31473 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31474 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31475 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31476 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31477 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31478 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31479 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31480 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31481 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31482 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31483 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31484 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31485 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31486 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31487 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31488 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31489 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31490 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31491 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31492 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31493 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31494 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31495 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31496 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31499 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31500 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31501 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31502 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31503 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31504 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31505 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31506 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31507 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31508 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31511 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31512 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31513 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31514 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31515 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31516 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31517 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31518 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31520 // Map renamed classes back to their common name for OOR
31521 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31523 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31524 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31525 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31526 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31527 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31528 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31529 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31530 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31531 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31532 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31533 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31534 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31535 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31536 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31537 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31538 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31539 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31540 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31541 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31542 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31543 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31544 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31545 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31546 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31547 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31548 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31549 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31550 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31551 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31552 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31553 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31554 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31555 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31556 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31557 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31558 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31561 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31563 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31570 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31571 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31573 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31574 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31575 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31576 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31577 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31578 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31580 // Map renamed classes back to their common name for OOR
31581 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31582 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31584 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31585 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31586 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31587 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31588 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31589 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31590 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31591 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31592 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31593 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31595 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");